DK11 for Java | tatukgis.jdk.TGIS_Shape.Simplify | Overloads | Constructors | Fields | Methods | Properties
Line generalization routine.
// Java public TGIS_Shape Simplify( double _tolerance, bool _returnnewobj );
// Oxygene public function Simplify( _tolerance : Double; _returnnewobj : Boolean ) : TGIS_Shape;
Name | Type | Description |
---|---|---|
_tolerance | double Double | simplification tolerance |
_returnnewobj | bool Boolean | 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.