pub fn indexed_poly_curve(
tx: &mut Transaction,
points: EntityId,
segments: Option<&[PolyCurveSegment<'_>]>,
point_count: usize,
self_intersect: Option<bool>,
) -> Result<EntityId, GeometryError>Expand description
Stage an IfcIndexedPolyCurve over a point list.
Segments are optional: without them the curve is the polyline through every point in order. With them, each segment indexes into the list – and those indices are 1-based, like everything else index-shaped in IFC.
§Errors
Refuses an index outside the point list.