PostGIS  2.5.0dev-r@@SVN_REVISION@@
double lwcircstring_length_2d ( const LWCIRCSTRING circ)

Definition at line 281 of file lwcircstring.c.

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

Referenced by lwcircstring_length(), and lwgeom_length_2d().

282 {
283  if ( lwcircstring_is_empty(circ) )
284  return 0.0;
285 
286  return ptarray_arc_length_2d(circ->points);
287 }
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:1655
POINTARRAY * points
Definition: liblwgeom.h:443
int lwcircstring_is_empty(const LWCIRCSTRING *circ)
Definition: lwcircstring.c:269

Here is the call graph for this function:

Here is the caller graph for this function: