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

◆ lwpoly_startpoint()

int lwpoly_startpoint ( const LWPOLY lwpoly,
POINT4D pt 
)

Definition at line 524 of file lwpoly.c.

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

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: