#[non_exhaustive]pub struct HorizontalSegment {
pub entity: EntityId,
pub start_point: Point2,
pub start_direction: f64,
pub start_radius: f64,
pub end_radius: f64,
pub segment_length: f64,
pub gravity_center_line_height: Option<f64>,
pub segment_type: HorizontalSegmentType,
}Expand description
Resolved IFC4x3 IfcAlignmentHorizontalSegment parameters in SI units.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entity: EntityIdThe IfcAlignmentHorizontalSegment entity this was read from.
start_point: Point2StartPoint: the segment’s start, resolved from the referenced
IfcCartesianPoint.
start_direction: f64StartDirection: bearing at the segment start, in radians.
start_radius: f64StartRadiusOfCurvature.
end_radius: f64EndRadiusOfCurvature.
segment_length: f64SegmentLength: arc length along the segment. Must be positive.
gravity_center_line_height: Option<f64>GravityCenterLineHeight, when authored (rail/cant-related, not
used by exact lowering).
segment_type: HorizontalSegmentTypePredefinedType: which horizontal segment kind this is.
Trait Implementations§
Source§impl Clone for HorizontalSegment
impl Clone for HorizontalSegment
Source§impl Debug for HorizontalSegment
impl Debug for HorizontalSegment
Source§impl PartialEq for HorizontalSegment
impl PartialEq for HorizontalSegment
impl StructuralPartialEq for HorizontalSegment
Auto Trait Implementations§
impl Freeze for HorizontalSegment
impl RefUnwindSafe for HorizontalSegment
impl Send for HorizontalSegment
impl Sync for HorizontalSegment
impl Unpin for HorizontalSegment
impl UnsafeUnpin for HorizontalSegment
impl UnwindSafe for HorizontalSegment
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