DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Simplify | Methods | Properties
Simplifies the shape using the Douglas-Peucker algorithm.
// C# public ITGIS_Shape Simplify( double _tolerance );
' VisualBasic Public Function Simplify( ByVal _tolerance As Double ) As ITGIS_Shape
// Oxygene public function Simplify( _tolerance : Double ) : ITGIS_Shape;
| Name | Type | Description |
|---|---|---|
| _tolerance | double Double | Simplification tolerance in map units. |
| Type | Description |
|---|---|
| ITGIS_Shape | A newly created simplified shape. |
PURPOSE: Reduces vertex count in line and polygon geometry for faster rendering, storage reduction, and scale-dependent generalization.
BEHAVIOR: Applies the Douglas-Peucker simplification algorithm to remove vertices while preserving the overall shape within the specified tolerance.
CONSTRAINTS: Tolerance is expressed in map units. The caller owns the returned shape.