Skip to main content

axiolid_v0_4_hidden_lines_copy

Function axiolid_v0_4_hidden_lines_copy 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn axiolid_v0_4_hidden_lines_copy( context: AxiolidContextHandle, result: AxiolidResultHandle, out: *mut AxiolidHiddenLineSegment, capacity: usize, ) -> AxiolidStatus
Expand description

Copy the segments of a hidden-line result, in the outcome’s order, into caller-owned storage.

A capacity below the count returns BufferTooSmall and writes nothing.

§Safety

Every non-null pointer must be aligned and valid for the documented read or write extent.