PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
double ptarray_length_2d | ( | const POINTARRAY * | pts | ) |
Find the 2d length of the given POINTARRAY (even if it's 3d)
Definition at line 1692 of file ptarray.c.
References getPoint2d_cp(), POINTARRAY::npoints, POINT2D::x, and POINT2D::y.
Referenced by LWGEOM_line_interpolate_point(), LWGEOM_line_substring(), lwline_length_2d(), lwline_measured_from_lwline(), lwmline_measured_from_lwmline(), lwpoly_perimeter_2d(), lwtriangle_perimeter_2d(), ptarray_length(), ptarray_locate_point(), and ptarray_substring().