pub struct PCurve<'m> { /* private fields */ }Expand description
A borrowed view of an IfcPcurve.
A curve defined in a surface’s parameter space. ReferenceCurve is a 2D
curve whose coordinates are (u, v) values, not lengths, so applying a
length unit scale to them is wrong.
Implementations§
Source§impl<'m> PCurve<'m>
impl<'m> PCurve<'m>
Sourcepub fn basis_surface_ref(&self) -> GeometryResult<EntityId>
pub fn basis_surface_ref(&self) -> GeometryResult<EntityId>
The surface whose parameter space the curve lives in.
Sourcepub fn reference_curve_ref(&self) -> GeometryResult<EntityId>
pub fn reference_curve_ref(&self) -> GeometryResult<EntityId>
The 2D curve in (u, v) parameter space.
Its coordinates are surface parameters. For an IfcPlane those happen
to be lengths; for an IfcCylindricalSurface the first is an angle.
Unit conversion therefore depends on the basis surface, not on the
curve.
Trait Implementations§
Auto Trait Implementations§
impl<'m> Freeze for PCurve<'m>
impl<'m> RefUnwindSafe for PCurve<'m>
impl<'m> Send for PCurve<'m>
impl<'m> Sync for PCurve<'m>
impl<'m> Unpin for PCurve<'m>
impl<'m> UnsafeUnpin for PCurve<'m>
impl<'m> UnwindSafe for PCurve<'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