Skip to main content

horizontal_segment

Function horizontal_segment 

Source
pub fn horizontal_segment(
    tx: &mut Transaction,
    draft: &HorizontalSegmentDraft,
) -> Result<EntityId, AlignmentError>
Expand description

Stage an IfcAlignmentHorizontalSegment.

§Errors

Refuses a non-finite measure, a negative SegmentLength, and a LINE carrying a non-zero radius – the reader rejects that combination when lowering, so writing it would produce a file this crate cannot read.