Skip to main content

segmented_reference_curve

Function segmented_reference_curve 

Source
pub fn segmented_reference_curve(
    tx: &mut Transaction,
    segments: &[EntityId],
    self_intersect: Option<bool>,
    base_curve: EntityId,
    end_point: Option<EntityId>,
) -> Result<EntityId, GeometryError>
Expand description

Stage an IfcSegmentedReferenceCurve.

A cant curve: the segments describe how a rail pair tilts along the base curve. SelfIntersect is an IfcLogical, so an unstated value is UNKNOWN rather than false – claiming a curve does not self intersect is a different assertion from not having checked.

§Errors

Refuses an empty segments list, which is LIST [1:?].