Intersects features.
[Visual Basic .NET] Public Function Intersect ( _ ByVal inputTable As ITable, _ ByVal useSelectedInput As Boolean, _ ByVal overlayTable As ITable, _ ByVal useSelectedOverlay As Boolean, _ ByVal Tolerance As Double, _ ByVal outputName As IFeatureClassName _ ) As IFeatureClass
[C#] public IFeatureClass Intersect ( ITable inputTable, bool useSelectedInput, ITable overlayTable, bool useSelectedOverlay, double Tolerance, IFeatureClassName outputName );
[C++]
HRESULT Intersect(
ITable* inputTable,
VARIANT_BOOL useSelectedInput,
ITable* overlayTable,
VARIANT_BOOL useSelectedOverlay,
double Tolerance,
IFeatureClassName* outputName,
IFeatureClass** resultFC
);
[C++]Parameters
inputTable [in]inputTable is a parameter of type ITable
useSelectedInput [in] useSelectedInput is a parameter of type VARIANT_BOOL overlayTable [in]overlayTable is a parameter of type ITable
useSelectedOverlay [in] useSelectedOverlay is a parameter of type VARIANT_BOOL Tolerance [in] Tolerance is a parameter of type double outputName [in]outputName is a parameter of type IFeatureClassName
resultFC [out, retval]resultFC is a parameter of type IFeatureClass
Product Availability
Description
Intersect clips the features of a line or polygon layer with features of an overlay polygon layer. The output feature class will have the attributes of both input and overlay layers.
Remarks
The useSelectedInput state refers to whether or not a selected subset of the InputTable is to be intersected. True signifies that a selected subset will be intersected. False signifies that intersect operation will ignore any selected subset.
The useSelectedOverlay state refers to whether or not a selected subset of the overlayTable is to be used in the intersect operation. True signifies that the selected subset will serve as the overlay layer. False signifies that the intersect operation will ignore any selected subset.
Passing 0.0 causes the default tolerance to be used. The default tolerance is 1/10,000 of the extent of the data frame's spatial domain.
ClusterTolerance is the tolerance value that has to be set to derive how accurate you want the results to be. For example, if the data is accurate to about 1 Millimeter then setting a tolerance value of 1 Centimeter will snap the features within this tolerance level. If the tolerance value is set to 0.5 Millimeter then these features are ignored. Minimum value of Tolerance is twice the Resolution (Resolution * 2).
If the tolerance value is very high then an error message is given and the data is not processed.
Tolerance value can be set according to how accurate you want the results to be.