#[non_exhaustive]pub enum CantSegmentType {
BlossCurve,
ConstantCant,
CosineCurve,
HelmertCurve,
LinearTransition,
SineCurve,
VienneseBend,
UserDefined,
NotDefined,
Other(String),
}Expand description
IfcAlignmentCantSegmentTypeEnum member: the cant transition law applied
over one segment’s distance-along span.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
BlossCurve
BLOSSCURVE: a bloss (cubic) transition between cant values.
ConstantCant
CONSTANTCANT: cant held level across the segment.
CosineCurve
COSINECURVE: a cosine-shaped transition between cant values.
HelmertCurve
HELMERTCURVE: a Helmert (parabolic) transition between cant values.
LinearTransition
LINEARTRANSITION: a straight-line ramp between cant values.
SineCurve
SINECURVE: a sine-shaped transition between cant values.
VienneseBend
VIENNESEBEND: a cant swing whose bank angle follows a
closed-form quartic.
Cant evaluation resolves this exactly. It is the one type that also
needs the parent IfcAlignmentCant.RailHeadDistance, because the
spec defines the swing through a bank angle rather than a cant
value directly.
UserDefined
USERDEFINED: an author-supplied law outside the enumerated set.
NotDefined
NOTDEFINED: no cant transition law was declared.
Other(String)
An enumeration token this crate does not recognise, preserved verbatim.
Trait Implementations§
Source§impl Clone for CantSegmentType
impl Clone for CantSegmentType
Source§fn clone(&self) -> CantSegmentType
fn clone(&self) -> CantSegmentType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more