PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ getPoint4d()

POINT4D getPoint4d ( const POINTARRAY pa,
uint32_t  n 
)

Definition at line 108 of file lwgeom_api.c.

109 {
110  POINT4D result;
111  if (getPoint4d_p(pa, n, &result) == 0)
112  lwerror("%s [%d] error returned by getPoint4d_p", __FILE__, __LINE__);
113  return result;
114 }
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition: cu_print.c:267
int getPoint4d_p(const POINTARRAY *pa, uint32_t n, POINT4D *op)
Definition: lwgeom_api.c:126
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
Definition: lwutil.c:190

References getPoint4d_p(), lwerror(), and result.

Referenced by create_linestring(), create_multilinestring(), create_multipoint(), create_multipolygon(), create_point(), create_polygon(), lwcircstring_get_lwpoint(), lwgeom_boundary(), lwline_get_lwpoint(), lwline_interpolate_points(), lwtriangle_clip_to_ordinate_range(), ptarray_chaikin(), ptarray_set_effective_area(), test_lwline_interpolate_points(), test_ptarray_locate_point(), and test_trim_bits().

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