Skip to main content

composite_curve_on_surface

Function composite_curve_on_surface 

Source
pub fn composite_curve_on_surface(
    tx: &mut Transaction,
    kind: OnSurfaceKind,
    segments: &[EntityId],
) -> Result<EntityId, GeometryError>
Expand description

Stage a composite curve lying on a surface.

For the two boundary forms ClosedCurve is written TRUE, because IsClosed requires it: a boundary that is not closed bounds nothing. Elsewhere this crate writes UNKNOWN, since closure needs an evaluator – here the schema has already decided.

§Errors

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