#[unsafe(no_mangle)]pub unsafe extern "C" fn axiolid_v0_4_visible_faces_copy(
context: AxiolidContextHandle,
result: AxiolidResultHandle,
regions: *mut AxiolidVisibleRegion,
region_cap: usize,
rings: *mut AxiolidRegionRing,
ring_cap: usize,
points_xy: *mut f64,
point_cap: usize,
triangles: *mut u32,
triangle_cap: usize,
) -> AxiolidStatusExpand description
Copy the regions, rings, points and triangle indices of a visible-face result into caller-owned storage.
points_xy holds two f64 per point (x, then y) and point_cap counts
points. Regions keep the outcome’s order; a region’s rings are its outer
ring then its holes, in order; triangle indices are the region’s, ascending.
A capacity below its count returns BufferTooSmall and writes nothing at
all.
§Safety
Every non-null pointer must be aligned and valid for the documented read or write extent.