Function meos_sys::ptarray_addPoint

source ยท
pub unsafe extern "C" fn ptarray_addPoint(
    pa: *const POINTARRAY,
    p: *mut u8,
    pdims: usize,
    where_: u32,
) -> *mut POINTARRAY
Expand description

@brief Add a point in a pointarray.

@param pa the source POINTARRAY @param p the point to add @param pdims number of ordinates in p (2..4) @param where to insert the point. 0 prepends, pa->npoints appends

@returns a newly constructed POINTARRAY using a newly allocated buffer for the actual points, or NULL on error.