Definition at line 107 of file lwpoint.c.
108{
111 {
112 lwerror(
"lwpoint_get_m called with empty geometry");
113 return 0;
114 }
116 {
117 lwerror(
"lwpoint_get_m called without m dimension");
118 return 0;
119 }
122}
#define FLAGS_GET_M(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_M, getPoint4d_p(), lwerror(), lwpoint_is_empty(), POINT4D::m, and LWPOINT::point.
Referenced by lwgeom_cluster_kmeans(), lwgeom_project_spheroid(), lwmpoint_locate_along(), and lwpoint_locate_along().