PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwpoint_getPoint2d_p()

int lwpoint_getPoint2d_p ( const LWPOINT point,
POINT2D out 
)

Definition at line 40 of file lwpoint.c.

41 {
42  return lwpoint_is_empty(point) ? 0 : getPoint2d_p(point->point, 0, out);
43 }
int getPoint2d_p(const POINTARRAY *pa, uint32_t n, POINT2D *point)
Definition: lwgeom_api.c:348
int lwpoint_is_empty(const LWPOINT *point)
Definition: lwpoint.c:291
POINTARRAY * point
Definition: liblwgeom.h:414

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

Referenced by test_tree_circ_pip2().

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