PostGIS  2.5.0dev-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 do_median_test(), gserialized_distance_nd(), lwgeom_interpolate_point(), LWGEOM_line_locate_point(), lwline_from_lwgeom_array(), lwline_from_ptarray(), lwmpoint_clip_to_ordinate_range(), lwpoint_clip_to_ordinate_range(), and ST_Scale().

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