pub struct SurfaceProjection {
pub u: Scalar,
pub v: Scalar,
pub point: Point3,
pub distance: Scalar,
pub iterations: u16,
pub on_boundary: bool,
pub status: ProjectionStatus,
}Expand description
Best surface projection candidate found within the supplied budget.
Fields§
§u: ScalarNative first-axis surface parameter.
v: ScalarNative second-axis surface parameter.
point: Point3Evaluated surface point at (u, v).
distance: ScalarEuclidean distance from the target.
iterations: u16Newton updates used by the selected start.
on_boundary: boolWhether the selected parameter tuple touches its active domain boundary.
status: ProjectionStatusLocal-solve outcome; not a global-optimum certificate.
Trait Implementations§
Source§impl Clone for SurfaceProjection
impl Clone for SurfaceProjection
Source§fn clone(&self) -> SurfaceProjection
fn clone(&self) -> SurfaceProjection
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SurfaceProjection
impl Debug for SurfaceProjection
Source§impl PartialEq for SurfaceProjection
impl PartialEq for SurfaceProjection
impl Copy 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 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