pub fn triangulated_irregular_network(
tx: &mut Transaction,
coordinates: EntityId,
point_count: usize,
triangles: &[[usize; 3]],
extras: TriangulatedExtras<'_>,
flags: &[i64],
) -> Result<EntityId, GeometryError>Expand description
Stage an IfcTriangulatedIrregularNetwork.
A terrain surface: the same triangulated face set plus Flags, one
per triangle, marking break lines and holes.
Closed is forced to FALSE by NotClosed – a TIN is a height
field, not a solid, so it cannot enclose a volume. The caller does
not choose it.
§Errors
Refuses an empty triangle list, an index outside the point list, a
non-finite normal, and a flags length that does not match the
triangle count.