403{
404 LWDEBUG(2,
"Entered ptarray_set_effective_area");
405 uint32_t p;
409 int set_m;
410 if(set_area)
411 set_m=1;
412 else
415
417
419
420 if(set_area)
421 {
422
424 {
426 {
430 }
431 }
432 }
433 else
434 {
435
437 {
439 {
442 }
443 }
444 }
446
448
449}
void destroy_effectivearea(EFFECTIVE_AREAS *ea)
void ptarray_calc_areas(EFFECTIVE_AREAS *ea, int avoid_collaps, int set_area, double trshld)
We calculate the effective area for the first time.
EFFECTIVE_AREAS * initiate_effectivearea(const POINTARRAY *inpts)
POINT4D getPoint4d(const POINTARRAY *pa, uint32_t n)
POINTARRAY * ptarray_construct_empty(char hasz, char hasm, uint32_t maxpoints)
Create a new POINTARRAY with no points.
#define FLAGS_GET_Z(flags)
#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.
#define LWDEBUG(level, msg)
Structure to hold pointarray and its arealist.