pub struct SurfaceProjection {
pub u: f64,
pub v: f64,
pub point: Point3,
pub distance: f64,
}Expand description
Result of projecting a point onto a surface.
Fields§
§u: f64Parameter value u at the closest point.
v: f64Parameter value v at the closest point.
point: Point3The closest point on the surface.
distance: f64Distance from the input point to the closest point.
Trait Implementations§
Source§impl Clone for SurfaceProjection
impl Clone for SurfaceProjection
Source§fn clone(&self) -> SurfaceProjection
fn clone(&self) -> SurfaceProjection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SurfaceProjection
Auto Trait Implementations§
impl Freeze for SurfaceProjection
impl RefUnwindSafe for SurfaceProjection
impl Send for SurfaceProjection
impl Sync for SurfaceProjection
impl Unpin for SurfaceProjection
impl UnsafeUnpin for SurfaceProjection
impl UnwindSafe for SurfaceProjection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more