Function cavalier_contours_ffi::cavc_pline_create[][src]

#[no_mangle]
#[must_use]pub unsafe extern "C" fn cavc_pline_create(
    vertexes: *const cavc_vertex,
    n_vertexes: u32,
    is_closed: u8,
    pline: *mut *mut cavc_pline
) -> i32

Create a new polyline object.

vertexes is an array of cavc_vertex to create the polyline with (may be null if n_vertexes is 0). n_vertexes contains the number of vertexes in the array. is_closed sets the polyline to be closed if non-zero. pline is an out parameter to hold the created polyline.