pub struct RetainedPlanarTrimLoop2 { /* private fields */ }Expand description
Closed retained trim-loop pcurve on a planar support surface.
Implementations§
Source§impl RetainedPlanarTrimLoop2
impl RetainedPlanarTrimLoop2
Sourcepub const fn new(
surface: RetainedPlanarSurfaceIdentity2,
contour: Contour2,
) -> Self
pub const fn new( surface: RetainedPlanarSurfaceIdentity2, contour: Contour2, ) -> Self
Constructs a closed retained planar trim-loop pcurve.
Sourcepub const fn surface(&self) -> RetainedPlanarSurfaceIdentity2
pub const fn surface(&self) -> RetainedPlanarSurfaceIdentity2
Returns the retained planar surface identity.
Sourcepub fn image_equality_report(
&self,
other: &Self,
) -> CurveResult<PlanarPcurveImageEqualityReport2>
pub fn image_equality_report( &self, other: &Self, ) -> CurveResult<PlanarPcurveImageEqualityReport2>
Compares two closed planar trim loops by exact cyclic UV image.
Closed loops may start at different trim vertices, so this accepts cyclic rotations as well as opposite traversal direction. Fill rules are not part of pcurve image equality; this is only the support-surface/UV image predicate needed before face-role policy can run.
Trait Implementations§
Source§impl Clone for RetainedPlanarTrimLoop2
impl Clone for RetainedPlanarTrimLoop2
Source§fn clone(&self) -> RetainedPlanarTrimLoop2
fn clone(&self) -> RetainedPlanarTrimLoop2
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 moreSource§impl Debug for RetainedPlanarTrimLoop2
impl Debug for RetainedPlanarTrimLoop2
Source§impl PartialEq for RetainedPlanarTrimLoop2
impl PartialEq for RetainedPlanarTrimLoop2
Source§fn eq(&self, other: &RetainedPlanarTrimLoop2) -> bool
fn eq(&self, other: &RetainedPlanarTrimLoop2) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RetainedPlanarTrimLoop2
Auto Trait Implementations§
impl !RefUnwindSafe for RetainedPlanarTrimLoop2
impl !Sync for RetainedPlanarTrimLoop2
impl Freeze for RetainedPlanarTrimLoop2
impl Send for RetainedPlanarTrimLoop2
impl Unpin for RetainedPlanarTrimLoop2
impl UnsafeUnpin for RetainedPlanarTrimLoop2
impl UnwindSafe for RetainedPlanarTrimLoop2
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