pub struct FixedReferenceSweptAreaSolid<'m> { /* private fields */ }Expand description
IfcFixedReferenceSweptAreaSolid: a sweep whose section orientation is
pinned to a constant direction.
Unlike a Frenet sweep, the profile’s frame is derived from a fixed direction rather than the curve’s own normal. That is exactly what keeps a road cross section upright over a crest; substituting a Frenet frame rolls the section with the curve’s torsion.
Implementations§
Source§impl<'m> FixedReferenceSweptAreaSolid<'m>
impl<'m> FixedReferenceSweptAreaSolid<'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 IfcFixedReferenceSweptAreaSolid.
Sourcepub fn base(&self) -> SweptAreaSolid<'m>
pub fn base(&self) -> SweptAreaSolid<'m>
The inherited IfcSweptAreaSolid attributes.
Sourcepub fn directrix(&self) -> GeometryResult<EntityId>
pub fn directrix(&self) -> GeometryResult<EntityId>
The IfcCurve reference the profile follows.
Sourcepub fn start_param(&self) -> Option<f64>
pub fn start_param(&self) -> Option<f64>
The parameter at which the sweep starts, if trimmed.
Sourcepub fn fixed_reference(&self) -> GeometryResult<EntityId>
pub fn fixed_reference(&self) -> GeometryResult<EntityId>
The IfcDirection reference that fixes the section’s orientation.
Trait Implementations§
Source§impl<'m> Clone for FixedReferenceSweptAreaSolid<'m>
impl<'m> Clone for FixedReferenceSweptAreaSolid<'m>
impl<'m> Copy for FixedReferenceSweptAreaSolid<'m>
Auto Trait Implementations§
impl<'m> Freeze for FixedReferenceSweptAreaSolid<'m>
impl<'m> RefUnwindSafe for FixedReferenceSweptAreaSolid<'m>
impl<'m> Send for FixedReferenceSweptAreaSolid<'m>
impl<'m> Sync for FixedReferenceSweptAreaSolid<'m>
impl<'m> Unpin for FixedReferenceSweptAreaSolid<'m>
impl<'m> UnsafeUnpin for FixedReferenceSweptAreaSolid<'m>
impl<'m> UnwindSafe for FixedReferenceSweptAreaSolid<'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