Function cavalier_contours_ffi::cavc_pline_set_vertex_data [−][src]
#[no_mangle] #[must_use]pub unsafe extern "C" fn cavc_pline_set_vertex_data(
pline: *mut cavc_pline,
vertex_data: *const cavc_vertex,
n_vertexes: u32
) -> i32
Sets all of the vertexes of a polyline.
vertex_data
is an array of vertexes to use for the polyline.
n_vertexes
must specify the number of vertexes to be read from the
vertex_data
array.
Specific Error Codes
- 1 =
pline
is null.