pub struct EdgeLoop<'m> { /* private fields */ }Expand description
IfcEdgeLoop: a closed wire given as a list of oriented edges.
The curved counterpart of IfcPolyLoop. Unlike a poly loop the closure
is explicit: the last edge’s end vertex is the first edge’s start, and no
implied closing segment is added.
Implementations§
Source§impl<'m> EdgeLoop<'m>
impl<'m> EdgeLoop<'m>
Sourcepub fn new(id: EntityId, entity: &'m Entity) -> Self
pub fn new(id: EntityId, entity: &'m Entity) -> Self
Wrap an entity assumed to be an IfcEdgeLoop.
Sourcepub fn edge_list(&self) -> GeometryResult<Vec<EntityId>>
pub fn edge_list(&self) -> GeometryResult<Vec<EntityId>>
The oriented edges in traversal order.
A loop needs at least one edge; an empty list bounds nothing and is rejected rather than producing a face with no boundary.
Trait Implementations§
Auto Trait Implementations§
impl<'m> Freeze for EdgeLoop<'m>
impl<'m> RefUnwindSafe for EdgeLoop<'m>
impl<'m> Send for EdgeLoop<'m>
impl<'m> Sync for EdgeLoop<'m>
impl<'m> Unpin for EdgeLoop<'m>
impl<'m> UnsafeUnpin for EdgeLoop<'m>
impl<'m> UnwindSafe for EdgeLoop<'m>
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