DK11 for .NET | TatukGIS.NDK.TGIS_Shape.Simplify | Overloads | Constructors | Fields | Methods | Properties
Line generalization routine.
// C# public TGIS_Shape Simplify( double _tolerance, bool _returnnewobj );
' VisualBasic Public Function Simplify( ByVal _tolerance As Double, ByVal _returnnewobj As Boolean ) As TGIS_Shape
// 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.