com.esri.arcgis.trackinganalyst
Class CoCCAHelper

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

public class CoCCAHelper
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ICCAHelper

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
CoCCAHelper()
          Constructs a CoCCAHelper using ArcGIS Engine.
CoCCAHelper(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
CoCCAHelper theCoCCAHelper = (CoCCAHelper) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void reproject(Object varGeometry, ISpatialReference piSpatialRef)
          Reprojects provided geometry into the designated spatial reference.
 
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

CoCCAHelper

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

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

CoCCAHelper

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

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

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

reproject

public void reproject(Object varGeometry,
                      ISpatialReference piSpatialRef)
               throws IOException,
                      AutomationException
Reprojects provided geometry into the designated spatial reference.

Product Availability

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

Specified by:
reproject in interface ICCAHelper
Parameters:
varGeometry - A Variant (in)
piSpatialRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.