Skip to main content

gradient_curve

Function gradient_curve 

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

Stage an IfcGradientCurve.

A composite curve carrying a vertical profile over a horizontal base_curve – the alignment case where gradient is layered on plan geometry.

§Errors

Refuses an empty segment list: LIST [1:?].