DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Simplify_2 | Methods | Properties
Line generalization routine.
// C# public ITGIS_Shape Simplify_2( double _tolerance, WordBool _returnnewobj );
' VisualBasic Public Function Simplify_2( ByVal _tolerance As Double, ByVal _returnnewobj As WordBool ) As ITGIS_Shape
// Oxygene public function Simplify_2( _tolerance : Double; _returnnewobj : WordBool ) : ITGIS_Shape;
Name | Type | Description |
---|---|---|
_tolerance | double Double | simplification tolerance |
_returnnewobj | WordBool | if True, then result will be returned in a newly created object; if False, then self object will be returned |
Type | Description |
---|---|
ITGIS_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.