Skip to main content

openbim_ifc_v0_1_curves_positions

Function openbim_ifc_v0_1_curves_positions 

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

Copy the positions of product index – x, y, z per vertex, metres, relative to its record’s transform, every polyline’s vertices in turn – 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 openbim_ifc_v0_1_meshes_positions.