PostGIS
3.4.0dev-r@@SVN_REVISION@@
|
int ptarray_closest_vertex_2d | ( | const POINTARRAY * | pa, |
const POINT2D * | qp, | ||
double * | dist | ||
) |
pa | the subject pointarray |
qp | the query point |
dist | optional output for actual distance from vertex |
Definition at line 1353 of file ptarray.c.
References distance2d_sqr_pt_pt(), getPoint2d_cp(), LWDEBUG, and POINTARRAY::npoints.
Referenced by test_ptarray_closest_vertex_2d().