174{
176
178
180 return geom;
181 switch ( geom->
type )
182 {
184 {
187 break;
188 }
190 {
193 break;
194 }
195
197 {
200 break;
201 }
202
203
208 {
211 break;
212 }
213
214 default:
216 }
217 return geom_out;
218
219}
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
LWGEOM * lwpoint_as_lwgeom(const LWPOINT *obj)
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
LWGEOM * lwline_as_lwgeom(const LWLINE *obj)
#define FLAGS_GET_M(flags)
LWGEOM * lwpoly_as_lwgeom(const LWPOLY *obj)
#define LWDEBUGF(level, msg,...)
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
static LWCOLLECTION * lwcollection_filterm(const LWCOLLECTION *igeom, double min, double max, int returnm)
static LWPOLY * lwpoly_filterm(LWPOLY *poly, double min, double max, int returnm)
static LWPOINT * lwpoint_filterm(LWPOINT *pt, double min, double max, int returnm)
static LWLINE * lwline_filterm(LWLINE *line, double min, double max, int returnm)