249 for (i=0; i<npoints; i++)
258 if ( hasz && hasm )
break;
263 for ( i=0; i < npoints; i++ )
int lwpoint_getPoint4d_p(const LWPOINT *point, POINT4D *out)
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
POINTARRAY * ptarray_construct_empty(char hasz, char hasm, uint32_t maxpoints)
Create a new POINTARRAY with no points.
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
#define FLAGS_GET_M(flags)
int ptarray_append_point(POINTARRAY *pa, const POINT4D *pt, int allow_duplicates)
Append a point to the end of an existing POINTARRAY If allow_duplicate is LW_FALSE,...
#define LW_TRUE
Return types for functions with status returns.
int lwpoint_is_empty(const LWPOINT *point)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
LWLINE * lwline_construct_empty(int srid, char hasz, char hasm)
LWLINE * lwline_construct(int srid, GBOX *bbox, POINTARRAY *points)