pub struct IntersectionCurve {
pub segments: Vec<IntersectionSegment>,
pub positions: BTreeMap<NodeKey, Point3>,
pub subject_face_segments: BTreeMap<u32, Vec<IntersectionSegment>>,
pub tool_face_segments: BTreeMap<u32, Vec<IntersectionSegment>>,
}Expand description
The intersection curve between two meshes, as segments plus positions.
Fields§
§segments: Vec<IntersectionSegment>Segments, deduplicated and in canonical order.
positions: BTreeMap<NodeKey, Point3>Position of every node named by a segment.
subject_face_segments: BTreeMap<u32, Vec<IntersectionSegment>>Segments lying on each subject face, keyed by face index.
Retriangulation needs to know which constraints belong to the face it is cutting; without this the caller would have to re-derive the association geometrically and could disagree with what was computed.
tool_face_segments: BTreeMap<u32, Vec<IntersectionSegment>>Segments lying on each tool face, keyed by face index.
Trait Implementations§
Source§impl Clone for IntersectionCurve
impl Clone for IntersectionCurve
Source§impl Debug for IntersectionCurve
impl Debug for IntersectionCurve
Auto Trait Implementations§
impl Freeze for IntersectionCurve
impl RefUnwindSafe for IntersectionCurve
impl Send for IntersectionCurve
impl Sync for IntersectionCurve
impl Unpin for IntersectionCurve
impl UnsafeUnpin for IntersectionCurve
impl UnwindSafe for IntersectionCurve
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