ArcGIS Developer Help  (Carto)    

IBasicGeoprocessor.Intersect Method

Intersects features.

[Visual Basic 6.0]
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
[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
);
[Java]
public IFeatureClass intersect (
    ITable inputTable,
    Boolean useSelectedInput,
    ITable overlayTable,
    Boolean useSelectedOverlay,
    double Tolerance,
    IFeatureClassName outputName
)
throws
    IOException,
    AutomationException
[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

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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.

See Also

IBasicGeoprocessor Interface

Example

IBasicGeoprocessor Intersect Example

 


Feedback Send feedback on this page