Definition at line 477 of file lwline.c.
References LWLINE::flags, FLAGS_GET_M, getPoint3dm_p(), LW_FALSE, LW_TRUE, lwnotice(), POINT3DM::m, POINTARRAY::npoints, and LWLINE::points.
Referenced by lwgeom_is_trajectory().
481 double m = -1 * FLT_MAX;
484 lwnotice(
"Line does not have M dimension");
488 n = line->points->npoints;
491 for (i=0; i<n; ++i) {
494 lwnotice(
"Measure of vertex %d (%g) not bigger than measure of vertex %d (%g)",
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
int getPoint3dm_p(const POINTARRAY *pa, int n, POINT3DM *point)
#define LW_TRUE
Return types for functions with status returns.
#define FLAGS_GET_M(flags)