Struct pbrt::core::geometry::Bounds3i[][src]

pub struct Bounds3i {
    pub p_min: Point3i,
    pub p_max: Point3i,


p_min: Point3ip_max: Point3i


impl Bounds3i[src]

pub fn new(p1: Point3i, p2: Point3i) -> Self[src]

pub fn corner(&self, corner: u8) -> Point3i[src]

pub fn diagonal(&self) -> Vector3i[src]

pub fn surface_area(&self) -> i32[src]

pub fn maximum_extent(&self) -> u8[src]

pub fn offset(&self, p: &Point3i) -> Vector3i[src]

pub fn bounding_sphere(b: &Bounds3f, center: &mut Point3f, radius: &mut Float)[src]

Trait Implementations

impl Clone for Bounds3i[src]

impl Copy for Bounds3i[src]

impl Debug for Bounds3i[src]

Auto Trait Implementations

impl RefUnwindSafe for Bounds3i[src]

impl Send for Bounds3i[src]

impl Sync for Bounds3i[src]

impl Unpin for Bounds3i[src]

impl UnwindSafe for Bounds3i[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.