Function meos_sys::ptarray_closest_segment_2d

source ยท
pub unsafe extern "C" fn ptarray_closest_segment_2d(
    pa: *const POINTARRAY,
    qp: *const POINT2D,
    dist: *mut f64,
) -> c_int
Expand description

@param pa the subject pointarray @param qp the query point @param dist optional output for actual distance from segment @return 0-based segment index for the closest segment (earliest segment in case of same distance)