pub struct Enclosure {
pub points: BTreeMap<PointId, Vector2>,
pub params: BTreeMap<CurveId, Scalar>,
}Expand description
A sketch’s geometry as the kernel builds on it: every point, and every
arc’s sweep and circle’s radius. Solved (see Sketch::enclose), each
encloses the exact solution of the sketch’s constraints; as drawn (see
Enclosure::as_drawn), each is the sketch’s own value, sharp. A rigid
motion of either is one too (see crate::ProfileLoop::to_nurbs).
Fields§
§points: BTreeMap<PointId, Vector2>§params: BTreeMap<CurveId, Scalar>An arc’s sweep, a circle’s radius.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Enclosure
Auto Trait Implementations§
impl Freeze for Enclosure
impl RefUnwindSafe for Enclosure
impl Send for Enclosure
impl Sync for Enclosure
impl Unpin for Enclosure
impl UnsafeUnpin for Enclosure
impl UnwindSafe for Enclosure
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