pub struct CartesianPointList2D<'m> { /* private fields */ }Expand description
A borrowed view of an IfcCartesianPointList2D.
Implementations§
Source§impl<'m> CartesianPointList2D<'m>
impl<'m> CartesianPointList2D<'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 IfcCartesianPointList2D.
Sourcepub fn coordinates(&self) -> GeometryResult<Vec<[f64; 2]>>
pub fn coordinates(&self) -> GeometryResult<Vec<[f64; 2]>>
Every coordinate pair, in file order.
A row of the wrong width fails rather than being padded or truncated: the width is what distinguishes this entity from its 3D sibling.
Trait Implementations§
Source§impl<'m> Clone for CartesianPointList2D<'m>
impl<'m> Clone for CartesianPointList2D<'m>
impl<'m> Copy for CartesianPointList2D<'m>
Auto Trait Implementations§
impl<'m> Freeze for CartesianPointList2D<'m>
impl<'m> RefUnwindSafe for CartesianPointList2D<'m>
impl<'m> Send for CartesianPointList2D<'m>
impl<'m> Sync for CartesianPointList2D<'m>
impl<'m> Unpin for CartesianPointList2D<'m>
impl<'m> UnsafeUnpin for CartesianPointList2D<'m>
impl<'m> UnwindSafe for CartesianPointList2D<'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