pub struct PlacedSketch<S: Scalar> {
pub plane: CoordinateSystem<S>,
pub sketch: Sketch,
}Expand description
A sketch together with the plane it lies on: plane.u/plane.v are the
sketch’s x/y (unit, orthogonal), plane.w = u x v its unit normal.
The plane is resolved once, when the sketch is added — a sketch drawn on a face stays where that face was, even after a later operation reshapes or consumes the face.
Fields§
§plane: CoordinateSystem<S>§sketch: SketchTrait Implementations§
Auto Trait Implementations§
impl<S> Freeze for PlacedSketch<S>where
S: Freeze,
impl<S> RefUnwindSafe for PlacedSketch<S>where
S: RefUnwindSafe,
impl<S> Send for PlacedSketch<S>
impl<S> Sync for PlacedSketch<S>
impl<S> Unpin for PlacedSketch<S>where
S: Unpin,
impl<S> UnsafeUnpin for PlacedSketch<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for PlacedSketch<S>where
S: 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