pub enum CurveMeasure {
Length(f64),
Parameter(f64),
}Expand description
A length along a curve, or a parameter in its own space.
IfcCurveMeasureSelect admits either, and the two are not
interchangeable: a length is in the model’s length unit, a
parameter is in whatever the curve’s own parameterisation uses.
Writing one where the other is meant rescales the segment.
IFC4X3 ADD2 declares the SELECT’s members exactly:
TYPE IfcCurveMeasureSelect = SELECT (IfcLengthMeasure, IfcParameterValue);so a length is written IFCLENGTHMEASURE(..) and a parameter
IFCPARAMETERVALUE(..). A specialisation of a member, such as
IfcNonNegativeLengthMeasure, is not itself a member and is never
written (#210).
Variants§
Length(f64)
IfcLengthMeasure: a signed distance along the curve.
Parameter(f64)
IfcParameterValue: a value in the curve’s parameter space.
Trait Implementations§
Source§impl Clone for CurveMeasure
impl Clone for CurveMeasure
impl Copy for CurveMeasure
Auto Trait Implementations§
impl Freeze for CurveMeasure
impl RefUnwindSafe for CurveMeasure
impl Send for CurveMeasure
impl Sync for CurveMeasure
impl Unpin for CurveMeasure
impl UnsafeUnpin for CurveMeasure
impl UnwindSafe for CurveMeasure
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