PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
double ptarray_length | ( | const POINTARRAY * | pts | ) |
Find the 3d/2d length of the given POINTARRAY (depending on its dimensionality)
Definition at line 1717 of file ptarray.c.
References POINTARRAY::flags, FLAGS_GET_Z, getPoint3dz_p(), POINTARRAY::npoints, ptarray_length_2d(), POINT3DZ::x, POINT3DZ::y, and POINT3DZ::z.
Referenced by lwline_length(), lwpoly_perimeter(), and lwtriangle_perimeter().