com.esri.arcgis.trackinganalyst
Class CoLocationQueryHelper

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.CoLocationQueryHelper
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ILocationQueryHelper, Serializable

public class CoLocationQueryHelper
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ILocationQueryHelper

Helps in marshalling geometry objects to improve performance.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also:
Serialized Form

Constructor Summary
CoLocationQueryHelper()
          Constructs a CoLocationQueryHelper using ArcGIS Engine.
CoLocationQueryHelper(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
CoLocationQueryHelper theCoLocationQueryHelper = (CoLocationQueryHelper) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void locationTestDataMsg(Object varGeometry, int eSpatialRel, boolean[] pvbTest)
          Determines if the current geometry meets the location query criteria.
 void locationTestFeature(IGeometry piGeometry, int eSpatialRel, boolean[] pvbTest)
          Determines if the current geometry meets the location query criteria.
 void setGeometryBag(IGeometry rhs1)
          The geometry bag into object used for location testing.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

CoLocationQueryHelper

public CoLocationQueryHelper()
                      throws IOException,
                             UnknownHostException
Constructs a CoLocationQueryHelper using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

CoLocationQueryHelper

public CoLocationQueryHelper(Object obj)
                      throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
CoLocationQueryHelper theCoLocationQueryHelper = (CoLocationQueryHelper) obj;

Construct a CoLocationQueryHelper using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to CoLocationQueryHelper.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

setGeometryBag

public void setGeometryBag(IGeometry rhs1)
                    throws IOException,
                           AutomationException
The geometry bag into object used for location testing.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
setGeometryBag in interface ILocationQueryHelper
Parameters:
rhs1 - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

locationTestFeature

public void locationTestFeature(IGeometry piGeometry,
                                int eSpatialRel,
                                boolean[] pvbTest)
                         throws IOException,
                                AutomationException
Determines if the current geometry meets the location query criteria.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
locationTestFeature in interface ILocationQueryHelper
Parameters:
piGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
eSpatialRel - A com.esri.arcgis.geodatabase.esriSpatialRelEnum constant (in)
pvbTest - The pvbTest (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

locationTestDataMsg

public void locationTestDataMsg(Object varGeometry,
                                int eSpatialRel,
                                boolean[] pvbTest)
                         throws IOException,
                                AutomationException
Determines if the current geometry meets the location query criteria.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
locationTestDataMsg in interface ILocationQueryHelper
Parameters:
varGeometry - A Variant (in)
eSpatialRel - A com.esri.arcgis.geodatabase.esriSpatialRelEnum constant (in)
pvbTest - The pvbTest (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.