Definition at line 89 of file lwpoint.c.
90{
93 {
94 lwerror(
"lwpoint_get_z called with empty geometry");
95 return 0;
96 }
98 {
99 lwerror(
"lwpoint_get_z called without z dimension");
100 return 0;
101 }
104}
#define FLAGS_GET_Z(flags)
int getPoint4d_p(const POINTARRAY *pa, uint32_t n, POINT4D *point)
int lwpoint_is_empty(const LWPOINT *point)
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
References LWPOINT::flags, FLAGS_GET_Z, getPoint4d_p(), lwerror(), lwpoint_is_empty(), LWPOINT::point, and POINT4D::z.
Referenced by lwgeom_cluster_kmeans(), and lwgeom_project_spheroid().