pub enum DetectedSurfaceKind {
Plane,
Sphere,
Cylinder,
BSpline,
}Expand description
Detected geometric kind of a NURBS surface (without recovering full analytic
parameters). Cheaper than recognize_surface when you only need a type tag.
Variants§
Plane
All sampled points lie on a plane.
Sphere
All sampled points are equidistant from a center (sphere).
Cylinder
All sampled points are equidistant from an axis (cylinder).
BSpline
Generic B-spline surface.
Implementations§
Trait Implementations§
Source§impl Clone for DetectedSurfaceKind
impl Clone for DetectedSurfaceKind
Source§fn clone(&self) -> DetectedSurfaceKind
fn clone(&self) -> DetectedSurfaceKind
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 DetectedSurfaceKind
Source§impl Debug for DetectedSurfaceKind
impl Debug for DetectedSurfaceKind
impl Eq for DetectedSurfaceKind
Source§impl PartialEq for DetectedSurfaceKind
impl PartialEq for DetectedSurfaceKind
impl StructuralPartialEq for DetectedSurfaceKind
Auto Trait Implementations§
impl Freeze for DetectedSurfaceKind
impl RefUnwindSafe for DetectedSurfaceKind
impl Send for DetectedSurfaceKind
impl Sync for DetectedSurfaceKind
impl Unpin for DetectedSurfaceKind
impl UnsafeUnpin for DetectedSurfaceKind
impl UnwindSafe for DetectedSurfaceKind
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