PostGIS
3.7.0dev-r@@SVN_REVISION@@
|
remove points that are irrelevant for rendering the geometry within a view specified by rectangular bounds.
2D-(MULTI)POLYGONs and (MULTI)LINESTRINGs are evaluated, others keep untouched.
Definition at line 318 of file liblwgeom/lwgeom_remove_irrelevant_points_for_view.c.
References LWMLINE::geoms, LWMPOLY::geoms, LINETYPE, lwfree(), MULTILINETYPE, MULTIPOLYGONTYPE, LWMLINE::ngeoms, LWMPOLY::ngeoms, POINTARRAY::npoints, LWPOLY::nrings, LWLINE::points, POLYGONTYPE, removePoints(), LWPOLY::rings, and LWGEOM::type.
Referenced by ST_RemoveIrrelevantPointsForView(), and test_lwgeom_remove_irrelevant_points_for_view().