pub struct SurfaceCurveSweptAreaSolid<'m> { /* private fields */ }Expand description
IfcSurfaceCurveSweptAreaSolid: a profile swept along a curve that lies on
a surface.
The directrix is a curve on ReferenceSurface, and the surface normal
at each point defines the profile’s orientation. Sweeping along the curve
alone, ignoring the surface, twists the section wrongly on any
non-developable surface – this is how curved facade mullions go wrong.
StartParam/EndParam may be absent, in which case the directrix must
itself be bounded or conic and is used in full. In IFC4X3 each may be a
length rather than a parameter; see TrimMeasure.
Implementations§
Source§impl<'m> SurfaceCurveSweptAreaSolid<'m>
impl<'m> SurfaceCurveSweptAreaSolid<'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 IfcSurfaceCurveSweptAreaSolid.
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) -> GeometryResult<Option<TrimMeasure>>
pub fn start_param(&self) -> GeometryResult<Option<TrimMeasure>>
Where the sweep starts, if trimmed, and whether the file states it as a curve parameter or (IFC4X3) a length along the directrix.
§Errors
GeometryError::WrongValueKind
for a value that is neither a number nor an IfcCurveMeasureSelect
member.
Sourcepub fn end_param(&self) -> GeometryResult<Option<TrimMeasure>>
pub fn end_param(&self) -> GeometryResult<Option<TrimMeasure>>
Sourcepub fn reference_surface(&self) -> GeometryResult<EntityId>
pub fn reference_surface(&self) -> GeometryResult<EntityId>
The IfcSurface reference the directrix lies on.
Trait Implementations§
Source§impl<'m> Clone for SurfaceCurveSweptAreaSolid<'m>
impl<'m> Clone for SurfaceCurveSweptAreaSolid<'m>
Source§fn clone(&self) -> SurfaceCurveSweptAreaSolid<'m>
fn clone(&self) -> SurfaceCurveSweptAreaSolid<'m>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more