Skip to main content

cartesian_point_list_3d

Function cartesian_point_list_3d 

Source
pub fn cartesian_point_list_3d(
    tx: &mut Transaction,
    points: &[[f64; 3]],
    tags: Option<&[&str]>,
) -> Result<EntityId, GeometryError>
Expand description

Stage an IfcCartesianPointList3D.

Tags are optional but, when given, must match the point count: the schema pairs them positionally, so a short list silently retags the wrong vertices.

ยงErrors

Refuses an empty list, a non-finite coordinate, or a tag list whose length disagrees with the points.