PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwtriangle_perimeter_2d()

double lwtriangle_perimeter_2d ( const LWTRIANGLE triangle)

Definition at line 210 of file lwtriangle.c.

211{
212 if( triangle->points )
213 return ptarray_length_2d(triangle->points);
214 else
215 return 0.0;
216}
double ptarray_length_2d(const POINTARRAY *pts)
Find the 2d length of the given POINTARRAY (even if it's 3d)
Definition ptarray.c:1975
POINTARRAY * points
Definition liblwgeom.h:495

References LWTRIANGLE::points, and ptarray_length_2d().

Referenced by lwgeom_perimeter_2d().

Here is the call graph for this function:
Here is the caller graph for this function: