com.esri.arcgis.geometry
Interface IRelationalOperator2

All Superinterfaces:
IRelationalOperator, Serializable
All Known Implementing Classes:
Envelope, GeometryBag, MultiPatch, Multipoint, Point, Polygon, Polyline

public interface IRelationalOperator2
extends IRelationalOperator, Serializable

Additional relational functions.

Product Availability

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


Method Summary
 boolean containsEx(IGeometry pOther, int relation)
          Indicates if this geometry contains the other geometry, optionally using Celementini's definition.
 boolean isNear(IGeometry pOther, double distance)
          Indicates if this geometry is within distance from the other geometry.
 boolean withinEx(IGeometry pOther, int relation)
          Indicates if this geometry contains the other geometry, optionally using Celementini's definition.
 
Methods inherited from interface com.esri.arcgis.geometry.IRelationalOperator
contains, crosses, disjoint, esri_equals, overlaps, relation, touches, within
 

Method Detail

containsEx

boolean containsEx(IGeometry pOther,
                   int relation)
                   throws IOException,
                          AutomationException
Indicates if this geometry contains the other geometry, optionally using Celementini's definition.

Product Availability

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

Parameters:
pOther - A reference to a com.esri.arcgis.geometry.IGeometry (in)
relation - A com.esri.arcgis.geometry.esriSpatialRelationExEnum constant (in)
Returns:
The pbContains
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

withinEx

boolean withinEx(IGeometry pOther,
                 int relation)
                 throws IOException,
                        AutomationException
Indicates if this geometry contains the other geometry, optionally using Celementini's definition.

Product Availability

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

Parameters:
pOther - A reference to a com.esri.arcgis.geometry.IGeometry (in)
relation - A com.esri.arcgis.geometry.esriSpatialRelationExEnum constant (in)
Returns:
The pbWithin
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isNear

boolean isNear(IGeometry pOther,
               double distance)
               throws IOException,
                      AutomationException
Indicates if this geometry is within distance from the other geometry.

Product Availability

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

Parameters:
pOther - A reference to a com.esri.arcgis.geometry.IGeometry (in)
distance - The distance (in)
Returns:
The pbNear
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.