Function cavalier_contours_ffi::cavc_pline_set_is_closed [−][src]
#[no_mangle] #[must_use]pub unsafe extern "C" fn cavc_pline_set_is_closed(
pline: *mut cavc_pline,
is_closed: u8
) -> i32
Set whether the polyline is closed or not.
If is_closed
is non-zero then pline
is set to be closed, otherwise it is set to be open.
Specific Error Codes
- 1 =
pline
is null.