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

