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.
Variants§
Length(f64)
IfcNonNegativeLengthMeasure: a 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