Skip to main content

openbim_ifc_v0_1_meshes_positions

Function openbim_ifc_v0_1_meshes_positions 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn openbim_ifc_v0_1_meshes_positions( meshes: OpenbimIfcMeshes, index: usize, buffer: *mut f32, capacity: usize, out_required: *mut usize, ) -> OpenbimIfcStatus
Expand description

Copy the positions of mesh index – x, y, z per vertex, metres, relative to its record’s transform – into buffer (capacity floats), after writing the count needed (3 x vertex count) to out_required. OutOfRange for an index past the set.

§Safety

As for the other buffer calls: buffer valid for capacity writes when non-null, out_required for one.