DK11 for Python | tatukgis.pdk.TGIS_Topology.FixShapeEx | Overloads | Constructors | Methods | Properties | Events
Computes a shape without self-crossings (loops) for arcs and polygons, and with a proper winding for polygon (clockwise, and opposite for holes).
# Python def FixShapeEx( self, _shp: TGIS_Shape, _returnnewobj: bool, _wasfixed: VarParameter ) -> TGIS_Shape:
Name | Type | Description |
---|---|---|
_shp | TGIS_Shape | polygon, or arc to be fixed |
_returnnewobj | bool | if True, the result is a newly created shape; if False, the self object is returned |
_wasfixed | bool | indicates whether the shape was modified to fix errors |
Type | Description |
---|---|
TGIS_Shape | returns the computed shape |
The result depends on the ForceShapeFixing property. See also FixShape method. To just validate a shape, use CheckShape method.