pub struct SurfaceIntersectionCurve {
pub points: Vec<Vec3>,
pub params_a: Vec<[f64; 2]>,
pub params_b: Vec<[f64; 2]>,
pub closed: bool,
pub tangents: Option<Vec<Vec3>>,
pub span_deviation: Option<f64>,
pub tangent: bool,
}Fields§
§points: Vec<Vec3>§params_a: Vec<[f64; 2]>§params_b: Vec<[f64; 2]>§closed: bool§tangents: Option<Vec<Vec3>>The section’s unit tangent at each station, along the curve’s
direction; retained for trace-UV reuse or when the march ran with a
SurfaceIntersectionOptions::span_budget.
span_deviation: Option<f64>The largest span deviation the march measured on this curve;
present only when it ran with a span_budget.
tangent: boolThe curve is a TANGENT section: the carriers touch along it with
parallel normals rather than crossing it, so it separates nothing on
either face. Only intersect::tangent_curve produces one; every
marched or supplemental curve reads false.
Trait Implementations§
Source§impl Clone for SurfaceIntersectionCurve
impl Clone for SurfaceIntersectionCurve
Source§impl Debug for SurfaceIntersectionCurve
impl Debug for SurfaceIntersectionCurve
Auto Trait Implementations§
impl Forget for SurfaceIntersectionCurve
impl Freeze for SurfaceIntersectionCurve
impl Move for SurfaceIntersectionCurve
impl RefUnwindSafe for SurfaceIntersectionCurve
impl Send for SurfaceIntersectionCurvewhere
RawVecInner: Send,
impl Sync for SurfaceIntersectionCurvewhere
RawVecInner: Sync,
impl Unpin for SurfaceIntersectionCurve
impl UnsafeUnpin for SurfaceIntersectionCurvewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Vec3>: UnsafeUnpin,
PhantomData<[f64; 2]>: UnsafeUnpin,
impl UnwindSafe for SurfaceIntersectionCurvewhere
RawVecInner: UnwindSafe,
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