pub struct Shape {
pub point: Option<Vector3>,
pub line: Option<Axis>,
pub plane: Option<CoordinateSystem>,
pub arc: Option<Arc>,
pub round: Option<Axis>,
pub curve: Option<NurbCurve3D>,
pub frame: Option<CoordinateSystem>,
}Expand description
Everything an element can be used as. An element is usually several at once: a straight edge is a line and a curve, a circular edge a circle, a curve and something round, a datum point a point with a frame.
Fields§
§point: Option<Vector3>§line: Option<Axis>The line it runs along: a straight edge, an axis, a sketch line.
plane: Option<CoordinateSystem>The plane it lies in, as a frame with w the normal.
arc: Option<Arc>§round: Option<Axis>The axis it turns around.
curve: Option<NurbCurve3D>The curve it runs along, whatever its shape.
frame: Option<CoordinateSystem>Its own axes, if it has any: a datum’s frame.
Implementations§
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