477 POINTARRAY *ptarray = NULL, *ptarray_out = NULL;
482 LWDEBUG(2,
"lwcompound_stroke called.");
486 for (i = 0; i < icompound->
ngeoms; i++)
488 geom = icompound->
geoms[i];
510 lwerror(
"Unsupported geometry type %d found.",
POINTARRAY * ptarray_remove_repeated_points(const POINTARRAY *in, double tolerance)
POINTARRAY * ptarray_construct_empty(char hasz, char hasm, uint32_t maxpoints)
Create a new POINTARRAY with no points.
void ptarray_free(POINTARRAY *pa)
void lwline_free(LWLINE *line)
#define LWDEBUG(level, msg)
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
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, then a duplicate point will not be added.
#define LW_TRUE
Return types for functions with status returns.
LWLINE * lwline_construct(int srid, GBOX *bbox, POINTARRAY *points)
static LWLINE * lwcircstring_linearize(const LWCIRCSTRING *icurve, double tol, LW_LINEARIZE_TOLERANCE_TYPE tolerance_type, int flags)
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
#define FLAGS_GET_M(flags)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
int getPoint4d_p(const POINTARRAY *pa, int n, POINT4D *point)