Function cavalier_contours_ffi::cavc_pline_eval_path_length[][src]

#[no_mangle]
#[must_use]pub unsafe extern "C" fn cavc_pline_eval_path_length(
    pline: *const cavc_pline,
    path_length: *mut f64
) -> i32

Compute the path length of a polyline.

path_length is used as the out parameter to hold the computed path length.

Specific Error Codes

  • 1 = pline is null.