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

◆ lwcollection_startpoint()

int lwcollection_startpoint ( const LWCOLLECTION col,
POINT4D pt 
)

Definition at line 560 of file lwcollection.c.

561{
562 if ( col->ngeoms < 1 )
563 return LW_FAILURE;
564
565 return lwgeom_startpoint(col->geoms[0], pt);
566}
int lwgeom_startpoint(const LWGEOM *lwgeom, POINT4D *pt)
Definition lwgeom.c:2113
#define LW_FAILURE
Definition liblwgeom.h:110
uint32_t ngeoms
Definition liblwgeom.h:566
LWGEOM ** geoms
Definition liblwgeom.h:561

References LWCOLLECTION::geoms, LW_FAILURE, lwgeom_startpoint(), and LWCOLLECTION::ngeoms.

Referenced by lwgeom_startpoint().

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