PostGIS
2.5.7dev-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 1689 of file ptarray.c.
References getPoint2d_cp(), POINTARRAY::npoints, POINT2D::x, and POINT2D::y.
Referenced by LWGEOM_line_substring(), lwline_interpolate_points(), 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().