DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Smooth | Methods | Properties
Smooths the shape using Catmull-Rom spline interpolation.
// C# public ITGIS_Shape Smooth( int _factor );
' VisualBasic Public Function Smooth( ByVal _factor As Integer ) As ITGIS_Shape
// Oxygene public function Smooth( _factor : Integer ) : ITGIS_Shape;
| Name | Type | Description |
|---|---|---|
| _factor | int Integer | Smoothing factor controlling how many interpolated vertices are added to the result. |
| Type | Description |
|---|---|
| ITGIS_Shape | A newly created smoothed shape. |
PURPOSE: Produces visually smoother line or polygon geometry for rendering and presentation.
BEHAVIOR: Applies Catmull-Rom spline interpolation to add intermediate vertices between existing vertices and generate a smoother curve.
CONSTRAINTS: Higher _factor values increase vertex count and memory usage. The caller owns the returned shape.