PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ getPoint4d()

POINT4D getPoint4d ( const POINTARRAY pa,
uint32_t  n 
)

Definition at line 107 of file lwgeom_api.c.

108 {
109  POINT4D result;
110  if (getPoint4d_p(pa, n, &result) == 0)
111  lwerror("%s [%d] error returned by getPoint4d_p", __FILE__, __LINE__);
112  return result;
113 }
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:125
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.

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: