com.esri.arcgis.datasourcesraster
Class PushbroomUtilities

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.PushbroomUtilities
All Implemented Interfaces:
IPushbroomUtilities, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class PushbroomUtilities
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IPushbroomUtilities

Pushbroom Xforms Utilities class.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
PushbroomUtilities()
          Constructs a PushbroomUtilities using ArcGIS Engine.
PushbroomUtilities(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
PushbroomUtilities thePushbroomUtilities = (PushbroomUtilities) obj;
 
Method Summary
 void convertECEFtoLonLat(double x, double y, double z, double[] lon, double[] lat, double[] elev)
          Convert ECEF coordinates to longitude, latitude, elevation
 void convertLonLatToECEF(double lon, double lat, double elev, double[] x, double[] y, double[] z)
          Convert longitude, latitude, elevation to ECEF coordinates
 boolean equals(Object o)
          Compare this object with another
 void evalDIMAPTimeString(byte[] time_str, int[] jDayPtr, double[] fraction)
          Express DIMAP time string as fraction of a day
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 double vectorCross(double[] v1, double[] v2)
          Calculate cross product of two vectors.
 void vectorDirection(double[] v, double[] lon, double[] lat)
          Express a 3D vector in polar coords (lon, lat).
 void vectorIntersectEllipsoid(double[] vP, double[] vU3, double htAboveEllipsoid, double[] lon, double[] lat)
          Intersect a vector with an ellipsoidal surface plus height
 double vectorNormalize(double[] v1)
          Normalize a vector so its length is 1.0.
 double vectorRotate3Axes(double[] vIn, double xRot, double yRot, double zRot)
          Rotate a vector about 3 axes (inputs radians)
 
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

PushbroomUtilities

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

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

PushbroomUtilities

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

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

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

vectorNormalize

public double vectorNormalize(double[] v1)
                       throws IOException,
                              AutomationException
Normalize a vector so its length is 1.0.

Product Availability

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

Specified by:
vectorNormalize in interface IPushbroomUtilities
Parameters:
v1 - The v1 (in)
Returns:
The v2
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

vectorCross

public double vectorCross(double[] v1,
                          double[] v2)
                   throws IOException,
                          AutomationException
Calculate cross product of two vectors.

Product Availability

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

Specified by:
vectorCross in interface IPushbroomUtilities
Parameters:
v1 - The v1 (in)
v2 - The v2 (in)
Returns:
The vResult
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

vectorDirection

public void vectorDirection(double[] v,
                            double[] lon,
                            double[] lat)
                     throws IOException,
                            AutomationException
Express a 3D vector in polar coords (lon, lat).

Product Availability

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

Specified by:
vectorDirection in interface IPushbroomUtilities
Parameters:
v - The v (in)
lon - The lon (in)
lat - The lat (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

vectorIntersectEllipsoid

public void vectorIntersectEllipsoid(double[] vP,
                                     double[] vU3,
                                     double htAboveEllipsoid,
                                     double[] lon,
                                     double[] lat)
                              throws IOException,
                                     AutomationException
Intersect a vector with an ellipsoidal surface plus height

Product Availability

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

Specified by:
vectorIntersectEllipsoid in interface IPushbroomUtilities
Parameters:
vP - The vP (in)
vU3 - The vU3 (in)
htAboveEllipsoid - The htAboveEllipsoid (in)
lon - The lon (out: use single element array)
lat - The lat (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

vectorRotate3Axes

public double vectorRotate3Axes(double[] vIn,
                                double xRot,
                                double yRot,
                                double zRot)
                         throws IOException,
                                AutomationException
Rotate a vector about 3 axes (inputs radians)

Product Availability

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

Specified by:
vectorRotate3Axes in interface IPushbroomUtilities
Parameters:
vIn - The vIn (in)
xRot - The xRot (in)
yRot - The yRot (in)
zRot - The zRot (in)
Returns:
The vOut
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertLonLatToECEF

public void convertLonLatToECEF(double lon,
                                double lat,
                                double elev,
                                double[] x,
                                double[] y,
                                double[] z)
                         throws IOException,
                                AutomationException
Convert longitude, latitude, elevation to ECEF coordinates

Product Availability

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

Specified by:
convertLonLatToECEF in interface IPushbroomUtilities
Parameters:
lon - The lon (in)
lat - The lat (in)
elev - The elev (in)
x - The x (out: use single element array)
y - The y (out: use single element array)
z - The z (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertECEFtoLonLat

public void convertECEFtoLonLat(double x,
                                double y,
                                double z,
                                double[] lon,
                                double[] lat,
                                double[] elev)
                         throws IOException,
                                AutomationException
Convert ECEF coordinates to longitude, latitude, elevation

Product Availability

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

Specified by:
convertECEFtoLonLat in interface IPushbroomUtilities
Parameters:
x - The x (in)
y - The y (in)
z - The z (in)
lon - The lon (out: use single element array)
lat - The lat (out: use single element array)
elev - The elev (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

evalDIMAPTimeString

public void evalDIMAPTimeString(byte[] time_str,
                                int[] jDayPtr,
                                double[] fraction)
                         throws IOException,
                                AutomationException
Express DIMAP time string as fraction of a day

Product Availability

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

Specified by:
evalDIMAPTimeString in interface IPushbroomUtilities
Parameters:
time_str - An signed byte (in)
jDayPtr - The jDayPtr (out: use single element array)
fraction - The fraction (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.