DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Smooth_2 | Methods | Properties
Smooth shape routine
// C# public ITGIS_Shape Smooth_2( int _factor, WordBool _returnnewobj );
' VisualBasic Public Function Smooth_2( ByVal _factor As Integer, ByVal _returnnewobj As WordBool ) As ITGIS_Shape
// Oxygene public function Smooth_2( _factor : Integer; _returnnewobj : WordBool ) : ITGIS_Shape;
Name | Type | Description |
---|---|---|
_factor | int Integer | smooth factor, number of points iterations - number of output points = number of input point * _factor |
_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 spline smoothing routine based on Catmull-Rom algorithm. Only for arc or polygon shapes. Based on 4 control points.