pub struct SurfaceProjection {
pub u: f64,
pub v: f64,
pub distance: f64,
}Expand description
Closest point of a query point on a surface: the parameters and the distance.
Fields§
§u: f64u parameter of the closest point.
v: f64v parameter of the closest point.
distance: f64Distance from the query point to the surface (0.0 when the query
point is within tolerance of the surface).
Trait Implementations§
Source§impl Clone for SurfaceProjection
impl Clone for SurfaceProjection
impl Copy for SurfaceProjection
Source§impl Debug for SurfaceProjection
impl Debug for SurfaceProjection
Source§impl PartialEq for SurfaceProjection
impl PartialEq for SurfaceProjection
impl StructuralPartialEq 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