PostGIS
3.0.6dev-r@@SVN_REVISION@@
|
void ptarray_calc_areas | ( | EFFECTIVE_AREAS * | ea, |
int | avoid_collaps, | ||
int | set_area, | ||
double | trshld | ||
) |
We calculate the effective area for the first time.
Definition at line 349 of file effectivearea.c.
References areanode::area, POINTARRAY::flags, FLAGS_GET_Z, getPoint_internal(), EFFECTIVE_AREAS::initial_arealist, EFFECTIVE_AREAS::inpts, LWDEBUG, LWDEBUGF, areanode::next, POINTARRAY::npoints, areanode::prev, EFFECTIVE_AREAS::res_arealist, return(), triarea2d(), triarea3d(), and tune_areas().
Referenced by do_test_lwgeom_effectivearea(), and ptarray_set_effective_area().