PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lwpoint_getPoint4d_p()

int lwpoint_getPoint4d_p ( const LWPOINT point,
POINT4D out 

Definition at line 57 of file lwpoint.c.

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

Referenced by gserialized_distance_nd(), lwgeom_interpolate_point(), LWGEOM_line_locate_point(), lwline_from_lwgeom_array(), lwline_from_ptarray(), lwmpoint_clip_to_ordinate_range(), and lwpoint_clip_to_ordinate_range().

58 {
59  return lwpoint_is_empty(point) ? 0 : getPoint4d_p(point->point,0,out);
60 }
Definition: liblwgeom.h:411
int lwpoint_is_empty(const LWPOINT *point)
Definition: lwpoint.c:291
int getPoint4d_p(const POINTARRAY *pa, int n, POINT4D *point)
Definition: lwgeom_api.c:122
Here is the call graph for this function:
Here is the caller graph for this function: