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

pub struct Bounds2f {
    pub p_min: Point2f,
    pub p_max: Point2f,


p_min: Point2fp_max: Point2f


impl Bounds2f[src]

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

pub fn area(&self) -> Float[src]

pub fn lerp(&self, t: Point2f) -> Point2f[src]

pub fn offset(&self, p: Point2f) -> Vector2f[src]

Trait Implementations

impl Clone for Bounds2f[src]

impl Copy for Bounds2f[src]

impl Debug for Bounds2f[src]

impl Default for Bounds2f[src]

Auto Trait Implementations

impl RefUnwindSafe for Bounds2f

impl Send for Bounds2f

impl Sync for Bounds2f

impl Unpin for Bounds2f

impl UnwindSafe for Bounds2f

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> 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.