pub struct Bound<'m> { /* private fields */ }Expand description
A boundary loop of a Face (FACE_BOUND / FACE_OUTER_BOUND).
Implementations§
Source§impl<'m> Bound<'m>
impl<'m> Bound<'m>
Sourcepub fn key(&self) -> EntityKey
pub fn key(&self) -> EntityKey
This bound’s global identity (a Copy key for maps / deduplication).
Sourcepub fn orientation(&self) -> bool
pub fn orientation(&self) -> bool
Whether this loop runs in its stated sense with respect to the face —
the FACE_BOUND orientation flag; false means the loop is used
reversed. One of the three orientation layers a kernel composes:
Face::same_sense (surface normal), this flag (whole loop), and the
per-edge flag of Bound::oriented_edges.
Sourcepub fn edges(&self) -> impl Iterator<Item = Edge<'m>> + 'm
pub fn edges(&self) -> impl Iterator<Item = Edge<'m>> + 'm
Edges of this boundary loop (only EDGE_LOOP loops carry edges),
without their per-edge orientation — use Bound::oriented_edges to
assemble a wire.
Sourcepub fn oriented_edges(&self) -> impl Iterator<Item = (Edge<'m>, bool)> + 'm
pub fn oriented_edges(&self) -> impl Iterator<Item = (Edge<'m>, bool)> + 'm
Edges of this boundary loop with each ORIENTED_EDGE’s orientation:
true means the edge is traversed in its own start → end direction at
this position in the loop, false reversed — what a kernel needs to
assemble the loop into a wire without end-matching heuristics.