pub enum Shape {
Circle {
center: P3,
normal: P3,
radius: f64,
},
Line {
origin: P3,
direction: P3,
},
Iso {
origin: P3,
axis: P3,
},
}Expand description
Where a curve the file defines is a circle or a line, what tells
whether it runs along a parallel or a meridian of a surface of
revolution (see Revolved::iso_line).
Variants§
Circle
Line
Iso
Built as a parallel or a meridian of the surface of revolution about
the axis through origin along axis — by the importer itself,
cutting a face that wraps round it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Shape
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnsafeUnpin for Shape
impl UnwindSafe for Shape
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