This document is archived and information here might be outdated.  Recommended version.


ISegment.EnvelopeIntersection Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISegment Interface > ISegment.EnvelopeIntersection Method
ArcGIS Developer Help

ISegment.EnvelopeIntersection Method

Finds intersections with clipping envelope; boundaryOverlap is ignored for non-linear segments.

[Visual Basic .NET]
Public Sub EnvelopeIntersection ( _
    ByVal intersectionEnvelope As IEnvelope, _
    ByVal boundaryOverlap As Boolean, _
    ByRef segmentParams As Double, _
    ByRef envelopeDistances As Double, _
    ByRef numIntersections As Integer, _
    ByRef outcode As Integer _
)
[C#]
public void EnvelopeIntersection (
    IEnvelope intersectionEnvelope,
    bool boundaryOverlap,
    ref double segmentParams,
    ref double envelopeDistances,
    ref int numIntersections,
    ref int outcode
);
[C++]
HRESULT EnvelopeIntersection(
  IEnvelope* intersectionEnvelope,
  VARIANT_BOOL boundaryOverlap,
  System.Double* segmentParams,
  System.Double* envelopeDistances,
  System.Int32* numIntersections,
  System.Int32* outcode
);
[C++]
Parameters
intersectionEnvelope 

intersectionEnvelope is a parameter of type IEnvelope* boundaryOverlap
boundaryOverlap is a parameter of type bool segmentParams [in, out]
segmentParams is a parameter of type double* envelopeDistances [in, out]
envelopeDistances is a parameter of type double* numIntersections [in, out]
numIntersections is a parameter of type long* outcode [out]
outcode is a parameter of type long*

Product Availability

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

See Also

ISegment Interface