pub struct PointOnSurface<'m> { /* private fields */ }Expand description
A borrowed view of an IfcPointOnSurface.
Implementations§
Source§impl<'m> PointOnSurface<'m>
impl<'m> PointOnSurface<'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 IfcPointOnSurface.
Sourcepub fn basis_surface(&self) -> GeometryResult<EntityId>
pub fn basis_surface(&self) -> GeometryResult<EntityId>
The IfcSurface this point lies on.
Sourcepub fn parameters(&self) -> GeometryResult<(f64, f64)>
pub fn parameters(&self) -> GeometryResult<(f64, f64)>
The (u, v) parameters, in the surface’s own parameter space.
Trait Implementations§
Source§impl<'m> Clone for PointOnSurface<'m>
impl<'m> Clone for PointOnSurface<'m>
Source§fn clone(&self) -> PointOnSurface<'m>
fn clone(&self) -> PointOnSurface<'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 PointOnSurface<'m>
Auto Trait Implementations§
impl<'m> Freeze for PointOnSurface<'m>
impl<'m> RefUnwindSafe for PointOnSurface<'m>
impl<'m> Send for PointOnSurface<'m>
impl<'m> Sync for PointOnSurface<'m>
impl<'m> Unpin for PointOnSurface<'m>
impl<'m> UnsafeUnpin for PointOnSurface<'m>
impl<'m> UnwindSafe for PointOnSurface<'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