DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Topology.FixShapeEx | Methods | Properties
Computes a shape without self-crossings (loops) for arcs and polygons, and with a proper winding for polygon (clockwise, and opposite for holes).
// C# public ITGIS_Shape FixShapeEx( ITGIS_Shape _shp, WordBool _returnnewobj, ref WordBool _wasfixed );
' VisualBasic Public Function FixShapeEx( ByVal _shp As ITGIS_Shape, ByVal _returnnewobj As WordBool, ByRef _wasfixed As WordBool ) As ITGIS_Shape
// Oxygene public function FixShapeEx( _shp : ITGIS_Shape; _returnnewobj : WordBool; var _wasfixed : WordBool ) : ITGIS_Shape;
Name | Type | Description |
---|---|---|
_shp | ITGIS_Shape | polygon, or arc to be fixed |
_returnnewobj | WordBool | if True, the result is a newly created shape; if False, the self object is returned |
_wasfixed | WordBool | indicates whether the shape was modified to fix errors |
Type | Description |
---|---|
ITGIS_Shape | returns the computed shape |
The result depends on the ForceShapeFixing property. See also FixShape method. To just validate a shape, use CheckShape method.