Check for ring closure using whatever dimensionality is declared on the pointarray.
Definition at line 696 of file ptarray.c.
697{
698 if (!in)
699 {
700 lwerror(
"ptarray_is_closed: called with null point array");
701 return 0;
702 }
703 if (in->npoints <= 1 ) return in->npoints;
704
706}
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
static uint8_t * getPoint_internal(const POINTARRAY *pa, uint32_t n)
static size_t ptarray_point_size(const POINTARRAY *pa)
References getPoint_internal(), lwerror(), POINTARRAY::npoints, and ptarray_point_size().