Function cavalier_contours_ffi::cavc_pline_get_is_closed[][src]

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

Get whether the polyline is closed or not.

is_closed is used as an out parameter to hold the whether pline is closed (non-zero) or not (0).

Specific Error Codes

  • 1 = pline is null.