Skip to main content

trimmed_curve

Function trimmed_curve 

Source
pub fn trimmed_curve(
    tx: &mut Transaction,
    basis: EntityId,
    trim_1: Trim,
    trim_2: Trim,
    sense_agreement: bool,
    master: TrimmingPreference,
) -> Result<EntityId, GeometryError>
Expand description

Stage an IfcTrimmedCurve.

sense_agreement states whether the trimmed curve runs in the basis curve’s own direction. master says which trim form is authoritative where both a point and a parameter are given.

§Errors

Refuses a trim that states neither a point nor a parameter: the schema’s SET [1:2] has a lower bound of one, so an empty trim is not expressible.