DK11 for Delphi | GisTopology.TGIS_Topology.FixShape | 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).
// Delphi public function FixShape( const _shp : TGIS_Shape; const _returnnewobj : Boolean ) : TGIS_Shape; overload;
// C++ Builder public: TGIS_Shape* FixShape( TGIS_Shape* const _shp, const bool _returnnewobj ) /* overload */;
Name | Type | Description |
---|---|---|
_shp | TGIS_Shape | polygon, or arc to be fixed |
_returnnewobj | Boolean | if True, the result is a newly created shape; if False, the self object is returned |
Type | Description |
---|---|
TGIS_Shape | returns the computed shape |
The result depends on the ForceShapeFixing property. For more control, see FixShapeEx method. To just validate a shape, use CheckShape method.