pub struct CompositeCurve<'m> { /* private fields */ }Expand description
A borrowed view of an IfcCompositeCurve.
Also covers the subtypes that add no attributes:
IfcCompositeCurveOnSurface, IfcBoundaryCurve, IfcOuterBoundaryCurve.
Implementations§
Source§impl<'m> CompositeCurve<'m>
impl<'m> CompositeCurve<'m>
Sourcepub fn new(id: EntityId, entity: &'m Entity) -> Self
pub fn new(id: EntityId, entity: &'m Entity) -> Self
Wrap an entity known to be an IfcCompositeCurve subtype.
Sourcepub fn segment_refs(&self) -> GeometryResult<Vec<EntityId>>
pub fn segment_refs(&self) -> GeometryResult<Vec<EntityId>>
The IfcCompositeCurveSegment references, in traversal order.
Order is significant and must not be sorted: the chain’s shape is the
list order combined with each segment’s SameSense.
Sourcepub fn self_intersect(&self) -> Option<bool>
pub fn self_intersect(&self) -> Option<bool>
The informational SelfIntersect flag, None when absent or .U..
Sourcepub fn is_on_surface(&self) -> bool
pub fn is_on_surface(&self) -> bool
Is this curve constrained to lie on a surface?
True for IfcCompositeCurveOnSurface and its IfcBoundaryCurve /
IfcOuterBoundaryCurve descendants, whose segments must all have
IfcPcurve or surface-curve parents.
Sourcepub fn is_outer_boundary(&self) -> bool
pub fn is_outer_boundary(&self) -> bool
Is this the outer boundary of a surface?
IfcOuterBoundaryCurve is the only way a file marks which of a
surface’s boundaries is the outline rather than a hole, and the
distinction is carried by the entity type alone.
Trait Implementations§
Source§impl<'m> Clone for CompositeCurve<'m>
impl<'m> Clone for CompositeCurve<'m>
Source§fn clone(&self) -> CompositeCurve<'m>
fn clone(&self) -> CompositeCurve<'m>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more