pub struct TessellatedItem<'m> { /* private fields */ }Expand description
IfcTessellatedItem: the abstract root of the tessellation family.
It declares no attributes. The view exists so a caller holding an unclassified tessellated entity can name it in a diagnostic and dispatch on the type, which is the only thing the supertype offers.
Implementations§
Source§impl<'m> TessellatedItem<'m>
impl<'m> TessellatedItem<'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 IfcTessellatedItem subtype.
Sourcepub fn is_face_set(&self) -> bool
pub fn is_face_set(&self) -> bool
Is this a concrete face set rather than an indexed face?
IfcIndexedPolygonalFace is also an IfcTessellatedItem, so “is a
tessellated item” does not imply “has coordinates”. The IFC4X3
IfcTriangulatedIrregularNetwork is an IfcTriangulatedFaceSet
subtype and carries the same Coordinates.
Trait Implementations§
Source§impl<'m> Clone for TessellatedItem<'m>
impl<'m> Clone for TessellatedItem<'m>
Source§fn clone(&self) -> TessellatedItem<'m>
fn clone(&self) -> TessellatedItem<'m>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'m> Copy for TessellatedItem<'m>
Auto Trait Implementations§
impl<'m> Freeze for TessellatedItem<'m>
impl<'m> RefUnwindSafe for TessellatedItem<'m>
impl<'m> Send for TessellatedItem<'m>
impl<'m> Sync for TessellatedItem<'m>
impl<'m> Unpin for TessellatedItem<'m>
impl<'m> UnsafeUnpin for TessellatedItem<'m>
impl<'m> UnwindSafe for TessellatedItem<'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