ET GeoWizards Scripting
Clean Polygon2
(Go to the main page of the
function)
Ensures topological correctness of a polygon feature data set.
Syntax
Dim ET As New ETGW_Core
Set variable =
ET.CleanPolygon2(pInFeatureClass,
sOutFileName,fTol, bOverlap, _
sOverlapFileName, pOverlapFeatureClass, sMessage)
The CleanPolygon2 method syntax has the following object qualifier and arguments:
| Part | Description |
|---|---|
| variable | An IFeatureClass object |
| pInFeatureClass | Required. An IFeatureClass object (Must be a Polygon feature class) |
| sOutFileName | Required. A String - the full name of the output feature class (A feature class with the same full name should not exist) |
| fTol | Required. A Double representing the Fuzzy tolerance (in the units of the input dataset) to be used |
| bOverlap | Required. A Boolean. If TRUE a point feature class indicating overlapping areas in the pInFeatureClass will be created |
| sOverlapFileName | Optional. A String - the full name of the ovelaps feature class (A feature class with the same full name should not exist) |
| pOverlapFeatureClass | Optional. An IFeatureClass object. Returns the overlaps feature class |
| sMessage | Optional. In a case of failure - description of the cause. If the functions completes with success an empty string will be returned. |