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

◆ lwcircstring_length_2d()

double lwcircstring_length_2d ( const LWCIRCSTRING circ)

Definition at line 268 of file lwcircstring.c.

269{
270 if ( lwcircstring_is_empty(circ) )
271 return 0.0;
272
273 return ptarray_arc_length_2d(circ->points);
274}
double ptarray_arc_length_2d(const POINTARRAY *pts)
Find the 2d length of the given POINTARRAY, using circular arc interpolation between each coordinate ...
Definition ptarray.c:1948
int lwcircstring_is_empty(const LWCIRCSTRING *circ)
POINTARRAY * points
Definition liblwgeom.h:507

References lwcircstring_is_empty(), LWCIRCSTRING::points, and ptarray_arc_length_2d().

Referenced by lwcircstring_length(), and lwgeom_length_2d().

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