DK11 for Python | tatukgis.pdk.TGIS_Shape.Simplify | Overloads | Constructors | Methods | Properties
Line generalization routine.
# Python def Simplify( self, _tolerance: float, _returnnewobj: bool ) -> TGIS_Shape:
Name | Type | Description |
---|---|---|
_tolerance | float | simplification tolerance |
_returnnewobj | bool | if True, then result will be returned in a newly created object; if False, then self object will be returned |
Type | Description |
---|---|
TGIS_Shape | If _returnnewobj=True, then returns newly created shape. Otherwise returns modified or unmodified self object. |
Vertex elimination routine based on Douglas-Peucker algorithm. Only for arc or polygon shapes.