PostGIS  2.5.0beta2dev-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:413
int lwpoint_is_empty(const LWPOINT *point)
Definition: lwpoint.c:291
int getPoint2d_p(const POINTARRAY *pa, uint32_t n, POINT2D *point)
Definition: lwgeom_api.c:338
Here is the call graph for this function:
Here is the caller graph for this function: