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

◆ lwpoly_startpoint()

int lwpoly_startpoint ( const LWPOLY lwpoly,
POINT4D pt 
)

Definition at line 523 of file lwpoly.c.

524{
525 if ( poly->nrings < 1 )
526 return LW_FAILURE;
527 return ptarray_startpoint(poly->rings[0], pt);
528}
#define LW_FAILURE
Definition liblwgeom.h:96
int ptarray_startpoint(const POINTARRAY *pa, POINT4D *pt)
Definition ptarray.c:2219

References LW_FAILURE, LWPOLY::nrings, ptarray_startpoint(), and LWPOLY::rings.

Referenced by lwgeom_startpoint().

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