PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lwpoint_getPoint2d_p()

int lwpoint_getPoint2d_p ( const LWPOINT point,
POINT2D out 
)

Definition at line 40 of file lwpoint.c.

References getPoint2d_p(), lwpoint_is_empty(), and LWPOINT::point.

Referenced by test_tree_circ_pip2().

41 {
42  return lwpoint_is_empty(point) ? 0 : getPoint2d_p(point->point, 0, out);
43 }
POINTARRAY * point
Definition: liblwgeom.h:411
int lwpoint_is_empty(const LWPOINT *point)
Definition: lwpoint.c:291
int getPoint2d_p(const POINTARRAY *pa, int n, POINT2D *point)
Definition: lwgeom_api.c:347
Here is the call graph for this function:
Here is the caller graph for this function: