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

pub struct Point3f {
    pub x: Float,
    pub y: Float,
    pub z: Float,
}

Fields

x: Floaty: Floatz: Float

Implementations

impl Point3f[src]

pub fn has_nans(&self) -> bool[src]

Trait Implementations

impl<'a, 'b> Add<&'a Point3f> for &'b Point3f[src]

type Output = Point3f

The resulting type after applying the + operator.

impl<'a> Add<&'a Point3f> for Point3f[src]

type Output = Point3f

The resulting type after applying the + operator.

impl<'a, 'b> Add<&'a Vector3f> for &'b Point3f[src]

type Output = Point3f

The resulting type after applying the + operator.

impl<'a> Add<&'a Vector3f> for Point3f[src]

type Output = Point3f

The resulting type after applying the + operator.

impl<'a> Add<Point3f> for &'a Point3f[src]

type Output = Point3f

The resulting type after applying the + operator.

impl Add<Point3f> for Point3f[src]

type Output = Point3f

The resulting type after applying the + operator.

impl<'a> Add<Vector3f> for &'a Point3f[src]

type Output = Point3f

The resulting type after applying the + operator.

impl Add<Vector3f> for Point3f[src]

type Output = Point3f

The resulting type after applying the + operator.

impl AddAssign<Point3f> for Point3f[src]

impl AddAssign<Vector3f> for Point3f[src]

impl Clone for Point3f[src]

impl Copy for Point3f[src]

impl Debug for Point3f[src]

impl Default for Point3f[src]

impl<'a> Div<f32> for &'a Point3f[src]

type Output = Point3f

The resulting type after applying the / operator.

impl Div<f32> for Point3f[src]

type Output = Point3f

The resulting type after applying the / operator.

impl DivAssign<f32> for Point3f[src]

impl From<Point3f> for Vector3f[src]

impl Index<XYZEnum> for Point3f[src]

type Output = Float

The returned type after indexing.

impl IndexMut<XYZEnum> for Point3f[src]

impl<'a> Mul<f32> for &'a Point3f[src]

type Output = Point3f

The resulting type after applying the * operator.

impl Mul<f32> for Point3f[src]

type Output = Point3f

The resulting type after applying the * operator.

impl MulAssign<f32> for Point3f[src]

impl<'a, 'b> Sub<&'a Point3f> for &'b Point3f[src]

type Output = Vector3f

The resulting type after applying the - operator.

impl<'a> Sub<&'a Point3f> for Point3f[src]

type Output = Vector3f

The resulting type after applying the - operator.

impl<'a, 'b> Sub<&'a Vector3f> for &'b Point3f[src]

type Output = Point3f

The resulting type after applying the - operator.

impl<'a> Sub<&'a Vector3f> for Point3f[src]

type Output = Point3f

The resulting type after applying the - operator.

impl<'a> Sub<Point3f> for &'a Point3f[src]

type Output = Vector3f

The resulting type after applying the - operator.

impl Sub<Point3f> for Point3f[src]

type Output = Vector3f

The resulting type after applying the - operator.

impl<'a> Sub<Vector3f> for &'a Point3f[src]

type Output = Point3f

The resulting type after applying the - operator.

impl Sub<Vector3f> for Point3f[src]

type Output = Point3f

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for Point3f

impl Send for Point3f

impl Sync for Point3f

impl Unpin for Point3f

impl UnwindSafe for Point3f

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.