ArcObjects Library Reference  (Geometry)    

IEnvelope.Intersect Method

Adjusts to include only the area also included by inEnvelope.

[Visual Basic 6.0]
Sub Intersect(
    ByVal inEnvelope As IEnvelope _
)
[Visual Basic .NET]
Public Sub Intersect ( _
    ByVal inEnvelope As IEnvelope _
)
[C#]
public void Intersect (
    IEnvelope inEnvelope
);
[Java]
public void intersect (
    IEnvelope inEnvelope
)
throws
    IOException,
    AutomationException
[C++]
HRESULT Intersect(
  IEnvelope* inEnvelope
);
[C++]

Parameters

inEnvelope

  inEnvelope is a parameter of type IEnvelope

Product Availability

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

Description

Sets the Envelope equal to the intersection of the base Envelope and the input Envelope.  The XMin and YMin of the resulting Envelope is the maximum XMin and YMin respectively between the base and input Envelopes, and the XMax and YMax of the resulting Envelope is the minimum XMax and YMax respectively between the base and input Envelopes.  If the resulting XMin > XMax, or YMin > YMax, then the Envelope is Empty (and all XMin, XMax, YMin, and YMax are undefined.).

Remarks

 

Envelope Intersect Example

See Also

IEnvelope Interface | IEnvelope.Union Method | IEnvelope.Offset Method | IEnvelope.Expand Method | IEnvelope.CenterAt Method

Example

IEnv_Intersect_Example

 


Feedback Send feedback on this page