pub struct HorizontalSegmentDraft {
pub start_point: EntityId,
pub start_direction: f64,
pub start_radius: f64,
pub end_radius: f64,
pub segment_length: f64,
pub gravity_center_line_height: Option<f64>,
pub predefined_type: &'static str,
}Expand description
Authored fields for IfcAlignmentHorizontalSegment.
Radii follow the IFC convention the reader already applies: zero means straight, and a signed value carries the turn direction.
Fields§
§start_point: EntityIdStartPoint, an existing IfcCartesianPoint.
start_direction: f64StartDirection, the bearing in the file’s angle unit.
start_radius: f64StartRadiusOfCurvature; zero for a straight.
end_radius: f64EndRadiusOfCurvature; zero for a straight.
segment_length: f64SegmentLength; must be non-negative.
gravity_center_line_height: Option<f64>GravityCenterLineHeight, optional.
predefined_type: &'static strPredefinedType, e.g. LINE or CIRCULARARC.
Trait Implementations§
Source§impl Clone for HorizontalSegmentDraft
impl Clone for HorizontalSegmentDraft
impl Copy for HorizontalSegmentDraft
Auto Trait Implementations§
impl Freeze for HorizontalSegmentDraft
impl RefUnwindSafe for HorizontalSegmentDraft
impl Send for HorizontalSegmentDraft
impl Sync for HorizontalSegmentDraft
impl Unpin for HorizontalSegmentDraft
impl UnsafeUnpin for HorizontalSegmentDraft
impl UnwindSafe for HorizontalSegmentDraft
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