com.esri.arcgis.globecore
Class GlobeCamera

java.lang.Object
  extended by com.esri.arcgis.globecore.GlobeCamera
All Implemented Interfaces:
ICamera, IGlobeCamera, IGlobeViewUtil, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GlobeCamera
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ICamera, IGlobeCamera, IGlobeViewUtil

COM Class 'GlobeCamera'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGlobeCore.olb'

Description 'The globe camera component.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.analyst3d.ICamera
IID, IIDb3fa596f_ada3_11d2_9fae_00c04f8ece3d, xxDummy
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeCamera
IID, IID65fbccd0_fabd_4517_a07c_bbea5fe71abe, xxDummy
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeViewUtil
IID, IID97b33434_8eff_401c_8f7c_9b0f7dc72094, xxDummy
 
Constructor Summary
GlobeCamera()
          Constructs a GlobeCamera using ArcGIS Engine.
GlobeCamera(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GlobeCamera theGlobeCamera = (GlobeCamera) obj;
 
Method Summary
 boolean canSeeMBB(IEnvelope pExtent)
          Indicates if the camera can see any portion of the given extent.
 boolean canSeeSphere(IPoint pCenter, double radius)
          Indicates if the camera can see any portion of the given sphere.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void geocentricToGeographic(double x, double y, double z, double[] pLong_dd, double[] pLat_dd, double[] pElev_meters)
          Transform normalized geocentric coordinates to geographic coordinates.
 void geocentricToWindow(double x, double y, double z, int[] pWinX, int[] pWinY)
          Get the window coordinates corresponding to a geocentric location, or -1 if not visible.
 void geographicToGeocentric(double long_dd, double lat_dd, double elev_meters, double[] pX, double[] pY, double[] pZ)
          Transform geographical coordinates to normalized geocentric coordinates.
 void geographicToWindow(double long_dd, double lat_dd, double elev_meters, int[] pWinX, int[] pWinY)
          Get the window coordinates corresponding to a geographical location, or -1 if not visible.
 void getAccurateViewDirection(double[] pViewX, double[] pViewY, double[] pViewZ)
          Get the high precision normalized view direction.
 double getAzimuth()
          The polar azimuth of the observer relative to the target.
static java.lang.String getClsid()
          getClsid.
 void getFrustumSkewRect(double[] xMin, double[] xMax, double[] yMin, double[] yMax)
          Values are between 0 and 1 -- define the skew rectangle.
 IRay getIdentifyRay(int dx, int dy)
          Returns the ray that corresponds to given screen coordinates.
 IVector3D getIdentifyVector(IPoint pCursor)
          Returns the vector that corresponds to the given screen location.
 double getInclination()
          The polar inclination of the observer relative to the target.
 void getIsPointVisible(double x, double y, double z, boolean[] pOutsideView, boolean[] pTooClose, boolean[] pTooFar)
          Detect if point with geocentric coordinates is outside the pyramidal view, too close to the viewpoint, or too far from it.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 void getLocalOrientation(double[] plocalAzi, double[] pLocalIncl, double[] pLocalRoll)
          Get the azimuth, inclination and roll angles relative to the current target on surface.
 int getNavigationType()
          The navigation type.
 IPoint getObserver()
          The observer's position.
 void getObserverLatLonAlt(double[] pLatDD, double[] pLonDD, double[] pAltKMs)
          Set the observer location as a combination of latitude and longitude in decimal degrees plus altitude in kilometers.
 int getOrientationMode()
          The orientation mode.
 IEnvelope getOrthoViewingExtent()
          The extent visible by the camera in orthographic view.
 int getProjectionType()
          The type of projection.
 double getRollAngle()
          The roll angle in degrees.
 double getRollOffset()
          The offset for the roll angle in degrees.
 double getScale()
          The orthographic projection scale.
 double getScalingDistance()
          The current distance used for scale range comparisons.
 IPoint getTarget()
          The target's position.
 void getTargetLatLonAlt(double[] pLatDD, double[] pLonDD, double[] pAltKMs)
          Get the target location as a combination of latitude and longitude in decimal degrees plus altitude in kilometers.
 IVector3D getUpDirection()
          The camera's up-vector.
 double getViewFieldAngle()
          The view-field angle in degrees.
 double getViewingDistance()
          The viewing distance between the observer and the target.
 void getViewingFrustrum(_WKSPointZ[] pNearBottomLeft, _WKSPointZ[] pNearBottomRight, _WKSPointZ[] pNearTopLeft, _WKSPointZ[] pNearTopRight, _WKSPointZ[] pFarBottomLeft, _WKSPointZ[] pFarBottomRight, _WKSPointZ[] pFarTopLeft, _WKSPointZ[] pFarTopRight)
          Get the viewing frustum as a truncated pyramid, a set of eight points in geocentric coordinates.
 int hashCode()
          the hashcode for this object
 void hTurnAround(double dAzimuth)
          Turns the camera horizontally around observer by the given azimuth angle.
 boolean isMultiPhaseRendering()
          The state of multi-phase rendering.
 boolean isUsable()
          Indicates if the camera has valid parameters.
 void levelObsToTarget()
          Levels the observer to the target.
 void levelTargetToObs()
          Levels the target to the observer.
 void move(int direction, double factor)
          Moves the camera in the specified direction.
 void pan(IPoint startPoint, IPoint endPoint)
          Moves both the observer and the target so that the object picked as the starting point on screen assumes the ending-point position.
 void polarUpdate(double distanceFactor, double dAzimuth, double dInclination, boolean bLimitInclination)
          Updates the observer's location by given polar increments.
 void propertiesChanged()
          Sets camera's dirty flag.
 void queryDistanceToMBB(IEnvelope pExtent, double[] distance)
          Returns the distance to the given extent.
 void queryDistanceToSphere(IPoint pCenter, double radius, double[] distance)
          Returns the distance to the given sphere.
 void queryDistanceToSphereCenter(IPoint pCenter, double radius, double[] distance)
          Returns the distance to the given sphere's center.
 void queryIdentifyVector(int dx, int dy, IVector3D pIdentifyVect)
          Returns the vector that corresponds to given screen coordinates.
 void queryOrthoViewingPlatform(IEnvelope pInExtent, IEnvelope pOutExtent, double[] pScale)
          Returns orthographic projection viewing parameters corresponding to the given extent.
 void queryViewingPlatformMBB(IEnvelope pExtent, double[] pNearPlane, double[] pFarPlane, double[] pAngle, double[] pAspect)
          Returns the viewing parameters corresponding to the given extent.
 void queryViewingPlatformSphere(IPoint pCenter, double radius, double[] pNearPlane, double[] pFarPlane, double[] pAngle, double[] pAspect)
          Returns the viewing parameters corresponding to the given spherical extent.
 void queryVisibleGeographicExtent(IEnvelope extent)
          Visible geographic extent of Globe sphere.
 void recalcUp()
          Updates the up-vector.
 void release()
          Release a GlobeCamera.
 void replayFrame(ISceneGraph pSceneGraph)
          Renders a frame.
 void rotate(double angle)
          Rotates the observer horizontally around the target by a given angle in degrees.
 void setAccurateViewDirection(double viewX, double viewY, double viewZ)
          Set the high precision normalized view direction.
 void setAzimuth(double azimuth)
          The polar azimuth of the observer relative to the target.
 void setDefaultsMBB(IEnvelope pExtent)
          Positions camera so that the entire given extent can be seen.
 void setDefaultsSphere(IPoint pCenter, double radius)
          Positions camera so that the entire given spherical extent can be seen.
 void setFrustumSkewRect(double xMin, double xMax, double yMin, double yMax)
          Values are between 0 and 1 -- define the skew rectangle.
 void setInclination(double inclination)
          The polar inclination of the observer relative to the target.
 void setLocalOrigin(double x, double y, double rhs3)
          The local origin for high precision OpenGL custom drawing.
 void setMultiPhaseRendering(boolean pbMultiPhase)
          The state of multi-phase rendering.
 void setNavigationType(int pType)
          The navigation type.
 void setObserver(IPoint observer)
          The observer's position.
 void setObserverLatLonAlt(double latDD, double lonDD, double altKMs)
          Set the observer location as a combination of latitude and longitude in decimal degrees plus altitude in kilometers.
 void setOrientationMode(int pMode)
          The orientation mode.
 void setProjectionType(int projectionType)
          The type of projection.
 void setRollAngle(double rollAngle)
          The roll angle in degrees.
 void setRollOffset(double pRollAngle)
          The offset for the roll angle in degrees.
 void setTarget(IPoint target)
          The target's position.
 void setTargetAtCenter()
          Sets the camera target at the center of the globe.
 void setTargetLatLonAlt(double latDD, double lonDD, double altKMs)
          Set the target location as a combination of latitude and longitude in decimal degrees plus altitude in kilometers.
 void setToZoomToExtents(IEnvelope pExtent, IGlobe pGlobe, ISceneViewer pSceneViewer)
          Set the Camera to Zoom to an Extent.
 void setUpDirection(IVector3D upVector)
          The camera's up-vector.
 void setVerticalExaggeration(double rhs1)
          Adapts the camera to the scene's vertical exaggeration.
 void setViewFieldAngle(double viewFieldAngle)
          The view-field angle in degrees.
 void setViewingDistance(double distance)
          The viewing distance between the observer and the target.
 void windowToGeocentric(IGlobeDisplay pDisplay, ISceneViewer pViewer, int winX, int winY, boolean bUseZBufferValue, double[] pX, double[] pY, double[] pZ)
          Get the geocentric coordinates in the line of sight defined by the window coordinates.
 void windowToGeographic(IGlobeDisplay pDisplay, ISceneViewer pViewer, int winX, int winY, boolean bUseZBufferValue, double[] pLon, double[] pLat, double[] pAlt)
          Get the geographic coordinates in the line of sight defined by the window coordinates.
 void zoom(double ratio)
          Zooms in or out by moving the observer according to the required ratio between the new and previous viewing distances.
 void zoomToRect(IEnvelope pExtent)
          Zooms to the given screen extent.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobeCamera

public GlobeCamera()
            throws java.io.IOException,
                   java.net.UnknownHostException
Constructs a GlobeCamera using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GlobeCamera

public GlobeCamera(java.lang.Object obj)
            throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GlobeCamera theGlobeCamera = (GlobeCamera) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GlobeCamera.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getObserver

public IPoint getObserver()
                   throws java.io.IOException,
                          AutomationException
The observer's position.

Specified by:
getObserver in interface ICamera
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setObserver

public void setObserver(IPoint observer)
                 throws java.io.IOException,
                        AutomationException
The observer's position.

Specified by:
setObserver in interface ICamera
Parameters:
observer - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTarget

public IPoint getTarget()
                 throws java.io.IOException,
                        AutomationException
The target's position.

Specified by:
getTarget in interface ICamera
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTarget

public void setTarget(IPoint target)
               throws java.io.IOException,
                      AutomationException
The target's position.

Specified by:
setTarget in interface ICamera
Parameters:
target - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUpDirection

public IVector3D getUpDirection()
                         throws java.io.IOException,
                                AutomationException
The camera's up-vector.

Specified by:
getUpDirection in interface ICamera
Returns:
A reference to a com.esri.arcgis.geometry.IVector3D
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUpDirection

public void setUpDirection(IVector3D upVector)
                    throws java.io.IOException,
                           AutomationException
The camera's up-vector.

Specified by:
setUpDirection in interface ICamera
Parameters:
upVector - A reference to a com.esri.arcgis.geometry.IVector3D (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getViewingDistance

public double getViewingDistance()
                          throws java.io.IOException,
                                 AutomationException
The viewing distance between the observer and the target. When changing, the observer moves.

Specified by:
getViewingDistance in interface ICamera
Returns:
The distance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setViewingDistance

public void setViewingDistance(double distance)
                        throws java.io.IOException,
                               AutomationException
The viewing distance between the observer and the target. When changing, the observer moves.

Specified by:
setViewingDistance in interface ICamera
Parameters:
distance - The distance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getViewFieldAngle

public double getViewFieldAngle()
                         throws java.io.IOException,
                                AutomationException
The view-field angle in degrees.

Specified by:
getViewFieldAngle in interface ICamera
Returns:
The viewFieldAngle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setViewFieldAngle

public void setViewFieldAngle(double viewFieldAngle)
                       throws java.io.IOException,
                              AutomationException
The view-field angle in degrees.

Specified by:
setViewFieldAngle in interface ICamera
Parameters:
viewFieldAngle - The viewFieldAngle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRollAngle

public double getRollAngle()
                    throws java.io.IOException,
                           AutomationException
The roll angle in degrees.

Specified by:
getRollAngle in interface ICamera
Returns:
The rollAngle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRollAngle

public void setRollAngle(double rollAngle)
                  throws java.io.IOException,
                         AutomationException
The roll angle in degrees.

Specified by:
setRollAngle in interface ICamera
Parameters:
rollAngle - The rollAngle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProjectionType

public int getProjectionType()
                      throws java.io.IOException,
                             AutomationException
The type of projection.

Specified by:
getProjectionType in interface ICamera
Returns:
A com.esri.arcgis.analyst3d.esri3DProjectionType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProjectionType

public void setProjectionType(int projectionType)
                       throws java.io.IOException,
                              AutomationException
The type of projection.

Specified by:
setProjectionType in interface ICamera
Parameters:
projectionType - A com.esri.arcgis.analyst3d.esri3DProjectionType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUsable

public boolean isUsable()
                 throws java.io.IOException,
                        AutomationException
Indicates if the camera has valid parameters.

Specified by:
isUsable in interface ICamera
Returns:
The isValid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInclination

public double getInclination()
                      throws java.io.IOException,
                             AutomationException
The polar inclination of the observer relative to the target. When changed, the observer moves.

Specified by:
getInclination in interface ICamera
Returns:
The inclination
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setInclination

public void setInclination(double inclination)
                    throws java.io.IOException,
                           AutomationException
The polar inclination of the observer relative to the target. When changed, the observer moves.

Specified by:
setInclination in interface ICamera
Parameters:
inclination - The inclination (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAzimuth

public double getAzimuth()
                  throws java.io.IOException,
                         AutomationException
The polar azimuth of the observer relative to the target. When changed, the observer moves.

Specified by:
getAzimuth in interface ICamera
Returns:
The azimuth
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAzimuth

public void setAzimuth(double azimuth)
                throws java.io.IOException,
                       AutomationException
The polar azimuth of the observer relative to the target. When changed, the observer moves.

Specified by:
setAzimuth in interface ICamera
Parameters:
azimuth - The azimuth (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rotate

public void rotate(double angle)
            throws java.io.IOException,
                   AutomationException
Rotates the observer horizontally around the target by a given angle in degrees.

Specified by:
rotate in interface ICamera
Parameters:
angle - The angle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

polarUpdate

public void polarUpdate(double distanceFactor,
                        double dAzimuth,
                        double dInclination,
                        boolean bLimitInclination)
                 throws java.io.IOException,
                        AutomationException
Updates the observer's location by given polar increments.

Specified by:
polarUpdate in interface ICamera
Parameters:
distanceFactor - The distanceFactor (in)
dAzimuth - The dAzimuth (in)
dInclination - The dInclination (in)
bLimitInclination - The bLimitInclination (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

recalcUp

public void recalcUp()
              throws java.io.IOException,
                     AutomationException
Updates the up-vector.

Specified by:
recalcUp in interface ICamera
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

propertiesChanged

public void propertiesChanged()
                       throws java.io.IOException,
                              AutomationException
Sets camera's dirty flag.

Specified by:
propertiesChanged in interface ICamera
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultsMBB

public void setDefaultsMBB(IEnvelope pExtent)
                    throws java.io.IOException,
                           AutomationException
Positions camera so that the entire given extent can be seen.

Specified by:
setDefaultsMBB in interface ICamera
Parameters:
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultsSphere

public void setDefaultsSphere(IPoint pCenter,
                              double radius)
                       throws java.io.IOException,
                              AutomationException
Positions camera so that the entire given spherical extent can be seen.

Specified by:
setDefaultsSphere in interface ICamera
Parameters:
pCenter - A reference to a com.esri.arcgis.geometry.IPoint (in)
radius - The radius (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryViewingPlatformMBB

public void queryViewingPlatformMBB(IEnvelope pExtent,
                                    double[] pNearPlane,
                                    double[] pFarPlane,
                                    double[] pAngle,
                                    double[] pAspect)
                             throws java.io.IOException,
                                    AutomationException
Returns the viewing parameters corresponding to the given extent.

Specified by:
queryViewingPlatformMBB in interface ICamera
Parameters:
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
pNearPlane - The pNearPlane (out: use single element array)
pFarPlane - The pFarPlane (out: use single element array)
pAngle - The pAngle (out: use single element array)
pAspect - The pAspect (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryViewingPlatformSphere

public void queryViewingPlatformSphere(IPoint pCenter,
                                       double radius,
                                       double[] pNearPlane,
                                       double[] pFarPlane,
                                       double[] pAngle,
                                       double[] pAspect)
                                throws java.io.IOException,
                                       AutomationException
Returns the viewing parameters corresponding to the given spherical extent.

Specified by:
queryViewingPlatformSphere in interface ICamera
Parameters:
pCenter - A reference to a com.esri.arcgis.geometry.IPoint (in)
radius - The radius (in)
pNearPlane - The pNearPlane (out: use single element array)
pFarPlane - The pFarPlane (out: use single element array)
pAngle - The pAngle (out: use single element array)
pAspect - The pAspect (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryOrthoViewingPlatform

public void queryOrthoViewingPlatform(IEnvelope pInExtent,
                                      IEnvelope pOutExtent,
                                      double[] pScale)
                               throws java.io.IOException,
                                      AutomationException
Returns orthographic projection viewing parameters corresponding to the given extent.

Specified by:
queryOrthoViewingPlatform in interface ICamera
Parameters:
pInExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
pOutExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
pScale - The pScale (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOrthoViewingExtent

public IEnvelope getOrthoViewingExtent()
                                throws java.io.IOException,
                                       AutomationException
The extent visible by the camera in orthographic view.

Specified by:
getOrthoViewingExtent in interface ICamera
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

replayFrame

public void replayFrame(ISceneGraph pSceneGraph)
                 throws java.io.IOException,
                        AutomationException
Renders a frame.

Specified by:
replayFrame in interface ICamera
Parameters:
pSceneGraph - A reference to a com.esri.arcgis.analyst3d.ISceneGraph (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canSeeMBB

public boolean canSeeMBB(IEnvelope pExtent)
                  throws java.io.IOException,
                         AutomationException
Indicates if the camera can see any portion of the given extent.

Specified by:
canSeeMBB in interface ICamera
Parameters:
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Returns:
The canSee
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canSeeSphere

public boolean canSeeSphere(IPoint pCenter,
                            double radius)
                     throws java.io.IOException,
                            AutomationException
Indicates if the camera can see any portion of the given sphere.

Specified by:
canSeeSphere in interface ICamera
Parameters:
pCenter - A reference to a com.esri.arcgis.geometry.IPoint (in)
radius - The radius (in)
Returns:
The canSee
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryDistanceToMBB

public void queryDistanceToMBB(IEnvelope pExtent,
                               double[] distance)
                        throws java.io.IOException,
                               AutomationException
Returns the distance to the given extent.

Specified by:
queryDistanceToMBB in interface ICamera
Parameters:
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
distance - The distance (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryDistanceToSphere

public void queryDistanceToSphere(IPoint pCenter,
                                  double radius,
                                  double[] distance)
                           throws java.io.IOException,
                                  AutomationException
Returns the distance to the given sphere.

Specified by:
queryDistanceToSphere in interface ICamera
Parameters:
pCenter - A reference to a com.esri.arcgis.geometry.IPoint (in)
radius - The radius (in)
distance - The distance (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryDistanceToSphereCenter

public void queryDistanceToSphereCenter(IPoint pCenter,
                                        double radius,
                                        double[] distance)
                                 throws java.io.IOException,
                                        AutomationException
Returns the distance to the given sphere's center.

Specified by:
queryDistanceToSphereCenter in interface ICamera
Parameters:
pCenter - A reference to a com.esri.arcgis.geometry.IPoint (in)
radius - The radius (in)
distance - The distance (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryIdentifyVector

public void queryIdentifyVector(int dx,
                                int dy,
                                IVector3D pIdentifyVect)
                         throws java.io.IOException,
                                AutomationException
Returns the vector that corresponds to given screen coordinates.

Specified by:
queryIdentifyVector in interface ICamera
Parameters:
dx - The dx (in)
dy - The dy (in)
pIdentifyVect - A reference to a com.esri.arcgis.geometry.IVector3D (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIdentifyVector

public IVector3D getIdentifyVector(IPoint pCursor)
                            throws java.io.IOException,
                                   AutomationException
Returns the vector that corresponds to the given screen location.

Specified by:
getIdentifyVector in interface ICamera
Parameters:
pCursor - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
A reference to a com.esri.arcgis.geometry.IVector3D
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIdentifyRay

public IRay getIdentifyRay(int dx,
                           int dy)
                    throws java.io.IOException,
                           AutomationException
Returns the ray that corresponds to given screen coordinates.

Specified by:
getIdentifyRay in interface ICamera
Parameters:
dx - The dx (in)
dy - The dy (in)
Returns:
A reference to a com.esri.arcgis.geometry.IRay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

move

public void move(int direction,
                 double factor)
          throws java.io.IOException,
                 AutomationException
Moves the camera in the specified direction. The distance is calculated by applying the given factor to the current viewing distance.

Specified by:
move in interface ICamera
Parameters:
direction - A com.esri.arcgis.analyst3d.esriCameraMovementType constant (in)
factor - The factor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

pan

public void pan(IPoint startPoint,
                IPoint endPoint)
         throws java.io.IOException,
                AutomationException
Moves both the observer and the target so that the object picked as the starting point on screen assumes the ending-point position.

Specified by:
pan in interface ICamera
Parameters:
startPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
endPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

levelTargetToObs

public void levelTargetToObs()
                      throws java.io.IOException,
                             AutomationException
Levels the target to the observer.

Specified by:
levelTargetToObs in interface ICamera
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

levelObsToTarget

public void levelObsToTarget()
                      throws java.io.IOException,
                             AutomationException
Levels the observer to the target.

Specified by:
levelObsToTarget in interface ICamera
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hTurnAround

public void hTurnAround(double dAzimuth)
                 throws java.io.IOException,
                        AutomationException
Turns the camera horizontally around observer by the given azimuth angle.

Specified by:
hTurnAround in interface ICamera
Parameters:
dAzimuth - The dAzimuth (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

zoom

public void zoom(double ratio)
          throws java.io.IOException,
                 AutomationException
Zooms in or out by moving the observer according to the required ratio between the new and previous viewing distances.

Specified by:
zoom in interface ICamera
Parameters:
ratio - The ratio (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

zoomToRect

public void zoomToRect(IEnvelope pExtent)
                throws java.io.IOException,
                       AutomationException
Zooms to the given screen extent.

Specified by:
zoomToRect in interface ICamera
Parameters:
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScale

public double getScale()
                throws java.io.IOException,
                       AutomationException
The orthographic projection scale.

Specified by:
getScale in interface ICamera
Returns:
The pScale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMultiPhaseRendering

public void setMultiPhaseRendering(boolean pbMultiPhase)
                            throws java.io.IOException,
                                   AutomationException
The state of multi-phase rendering. When true, the scene depth can be divided into multiple passes to improve rendering quality.

Specified by:
setMultiPhaseRendering in interface ICamera
Parameters:
pbMultiPhase - The pbMultiPhase (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isMultiPhaseRendering

public boolean isMultiPhaseRendering()
                              throws java.io.IOException,
                                     AutomationException
The state of multi-phase rendering. When true, the scene depth can be divided into multiple passes to improve rendering quality.

Specified by:
isMultiPhaseRendering in interface ICamera
Returns:
The pbMultiPhase
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVerticalExaggeration

public void setVerticalExaggeration(double rhs1)
                             throws java.io.IOException,
                                    AutomationException
Adapts the camera to the scene's vertical exaggeration.

Specified by:
setVerticalExaggeration in interface ICamera
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOrientationMode

public void setOrientationMode(int pMode)
                        throws java.io.IOException,
                               AutomationException
The orientation mode.

Specified by:
setOrientationMode in interface IGlobeCamera
Parameters:
pMode - A com.esri.arcgis.globecore.esriGlobeCameraOrientationMode constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOrientationMode

public int getOrientationMode()
                       throws java.io.IOException,
                              AutomationException
The orientation mode.

Specified by:
getOrientationMode in interface IGlobeCamera
Returns:
A com.esri.arcgis.globecore.esriGlobeCameraOrientationMode constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTargetLatLonAlt

public void setTargetLatLonAlt(double latDD,
                               double lonDD,
                               double altKMs)
                        throws java.io.IOException,
                               AutomationException
Set the target location as a combination of latitude and longitude in decimal degrees plus altitude in kilometers.

Specified by:
setTargetLatLonAlt in interface IGlobeCamera
Parameters:
latDD - The latDD (in)
lonDD - The lonDD (in)
altKMs - The altKMs (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTargetLatLonAlt

public void getTargetLatLonAlt(double[] pLatDD,
                               double[] pLonDD,
                               double[] pAltKMs)
                        throws java.io.IOException,
                               AutomationException
Get the target location as a combination of latitude and longitude in decimal degrees plus altitude in kilometers.

Specified by:
getTargetLatLonAlt in interface IGlobeCamera
Parameters:
pLatDD - The pLatDD (out: use single element array)
pLonDD - The pLonDD (out: use single element array)
pAltKMs - The pAltKMs (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setObserverLatLonAlt

public void setObserverLatLonAlt(double latDD,
                                 double lonDD,
                                 double altKMs)
                          throws java.io.IOException,
                                 AutomationException
Set the observer location as a combination of latitude and longitude in decimal degrees plus altitude in kilometers.

Specified by:
setObserverLatLonAlt in interface IGlobeCamera
Parameters:
latDD - The latDD (in)
lonDD - The lonDD (in)
altKMs - The altKMs (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getObserverLatLonAlt

public void getObserverLatLonAlt(double[] pLatDD,
                                 double[] pLonDD,
                                 double[] pAltKMs)
                          throws java.io.IOException,
                                 AutomationException
Set the observer location as a combination of latitude and longitude in decimal degrees plus altitude in kilometers.

Specified by:
getObserverLatLonAlt in interface IGlobeCamera
Parameters:
pLatDD - The pLatDD (out: use single element array)
pLonDD - The pLonDD (out: use single element array)
pAltKMs - The pAltKMs (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRollOffset

public void setRollOffset(double pRollAngle)
                   throws java.io.IOException,
                          AutomationException
The offset for the roll angle in degrees.

Specified by:
setRollOffset in interface IGlobeCamera
Parameters:
pRollAngle - The pRollAngle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRollOffset

public double getRollOffset()
                     throws java.io.IOException,
                            AutomationException
The offset for the roll angle in degrees.

Specified by:
getRollOffset in interface IGlobeCamera
Returns:
The pRollAngle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFrustumSkewRect

public void getFrustumSkewRect(double[] xMin,
                               double[] xMax,
                               double[] yMin,
                               double[] yMax)
                        throws java.io.IOException,
                               AutomationException
Values are between 0 and 1 -- define the skew rectangle.

Specified by:
getFrustumSkewRect in interface IGlobeCamera
Parameters:
xMin - The xMin (out: use single element array)
xMax - The xMax (out: use single element array)
yMin - The yMin (out: use single element array)
yMax - The yMax (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFrustumSkewRect

public void setFrustumSkewRect(double xMin,
                               double xMax,
                               double yMin,
                               double yMax)
                        throws java.io.IOException,
                               AutomationException
Values are between 0 and 1 -- define the skew rectangle.

Specified by:
setFrustumSkewRect in interface IGlobeCamera
Parameters:
xMin - The xMin (in)
xMax - The xMax (in)
yMin - The yMin (in)
yMax - The yMax (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAccurateViewDirection

public void setAccurateViewDirection(double viewX,
                                     double viewY,
                                     double viewZ)
                              throws java.io.IOException,
                                     AutomationException
Set the high precision normalized view direction.

Specified by:
setAccurateViewDirection in interface IGlobeCamera
Parameters:
viewX - The viewX (in)
viewY - The viewY (in)
viewZ - The viewZ (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAccurateViewDirection

public void getAccurateViewDirection(double[] pViewX,
                                     double[] pViewY,
                                     double[] pViewZ)
                              throws java.io.IOException,
                                     AutomationException
Get the high precision normalized view direction.

Specified by:
getAccurateViewDirection in interface IGlobeCamera
Parameters:
pViewX - The pViewX (out: use single element array)
pViewY - The pViewY (out: use single element array)
pViewZ - The pViewZ (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLocalOrientation

public void getLocalOrientation(double[] plocalAzi,
                                double[] pLocalIncl,
                                double[] pLocalRoll)
                         throws java.io.IOException,
                                AutomationException
Get the azimuth, inclination and roll angles relative to the current target on surface.

Specified by:
getLocalOrientation in interface IGlobeCamera
Parameters:
plocalAzi - The plocalAzi (out: use single element array)
pLocalIncl - The pLocalIncl (out: use single element array)
pLocalRoll - The pLocalRoll (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNavigationType

public void setNavigationType(int pType)
                       throws java.io.IOException,
                              AutomationException
The navigation type.

Specified by:
setNavigationType in interface IGlobeCamera
Parameters:
pType - A com.esri.arcgis.globecore.esriGlobeNavigationType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNavigationType

public int getNavigationType()
                      throws java.io.IOException,
                             AutomationException
The navigation type.

Specified by:
getNavigationType in interface IGlobeCamera
Returns:
A com.esri.arcgis.globecore.esriGlobeNavigationType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setToZoomToExtents

public void setToZoomToExtents(IEnvelope pExtent,
                               IGlobe pGlobe,
                               ISceneViewer pSceneViewer)
                        throws java.io.IOException,
                               AutomationException
Set the Camera to Zoom to an Extent.

Specified by:
setToZoomToExtents in interface IGlobeCamera
Parameters:
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
pGlobe - A reference to a com.esri.arcgis.globecore.IGlobe (in)
pSceneViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScalingDistance

public double getScalingDistance()
                          throws java.io.IOException,
                                 AutomationException
The current distance used for scale range comparisons.

Specified by:
getScalingDistance in interface IGlobeViewUtil
Returns:
The pDistanceInMeters
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTargetAtCenter

public void setTargetAtCenter()
                       throws java.io.IOException,
                              AutomationException
Sets the camera target at the center of the globe.

Specified by:
setTargetAtCenter in interface IGlobeViewUtil
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

geographicToGeocentric

public void geographicToGeocentric(double long_dd,
                                   double lat_dd,
                                   double elev_meters,
                                   double[] pX,
                                   double[] pY,
                                   double[] pZ)
                            throws java.io.IOException,
                                   AutomationException
Transform geographical coordinates to normalized geocentric coordinates.

Specified by:
geographicToGeocentric in interface IGlobeViewUtil
Parameters:
long_dd - The long_dd (in)
lat_dd - The lat_dd (in)
elev_meters - The elev_meters (in)
pX - The pX (out: use single element array)
pY - The pY (out: use single element array)
pZ - The pZ (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

geocentricToGeographic

public void geocentricToGeographic(double x,
                                   double y,
                                   double z,
                                   double[] pLong_dd,
                                   double[] pLat_dd,
                                   double[] pElev_meters)
                            throws java.io.IOException,
                                   AutomationException
Transform normalized geocentric coordinates to geographic coordinates.

Specified by:
geocentricToGeographic in interface IGlobeViewUtil
Parameters:
x - The x (in)
y - The y (in)
z - The z (in)
pLong_dd - The pLong_dd (out: use single element array)
pLat_dd - The pLat_dd (out: use single element array)
pElev_meters - The pElev_meters (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

geographicToWindow

public void geographicToWindow(double long_dd,
                               double lat_dd,
                               double elev_meters,
                               int[] pWinX,
                               int[] pWinY)
                        throws java.io.IOException,
                               AutomationException
Get the window coordinates corresponding to a geographical location, or -1 if not visible.

Specified by:
geographicToWindow in interface IGlobeViewUtil
Parameters:
long_dd - The long_dd (in)
lat_dd - The lat_dd (in)
elev_meters - The elev_meters (in)
pWinX - The pWinX (out: use single element array)
pWinY - The pWinY (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

geocentricToWindow

public void geocentricToWindow(double x,
                               double y,
                               double z,
                               int[] pWinX,
                               int[] pWinY)
                        throws java.io.IOException,
                               AutomationException
Get the window coordinates corresponding to a geocentric location, or -1 if not visible.

Specified by:
geocentricToWindow in interface IGlobeViewUtil
Parameters:
x - The x (in)
y - The y (in)
z - The z (in)
pWinX - The pWinX (out: use single element array)
pWinY - The pWinY (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

windowToGeographic

public void windowToGeographic(IGlobeDisplay pDisplay,
                               ISceneViewer pViewer,
                               int winX,
                               int winY,
                               boolean bUseZBufferValue,
                               double[] pLon,
                               double[] pLat,
                               double[] pAlt)
                        throws java.io.IOException,
                               AutomationException
Get the geographic coordinates in the line of sight defined by the window coordinates.

Specified by:
windowToGeographic in interface IGlobeViewUtil
Parameters:
pDisplay - A reference to a com.esri.arcgis.globecore.IGlobeDisplay (in)
pViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
winX - The winX (in)
winY - The winY (in)
bUseZBufferValue - The bUseZBufferValue (in)
pLon - The pLon (out: use single element array)
pLat - The pLat (out: use single element array)
pAlt - The pAlt (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

windowToGeocentric

public void windowToGeocentric(IGlobeDisplay pDisplay,
                               ISceneViewer pViewer,
                               int winX,
                               int winY,
                               boolean bUseZBufferValue,
                               double[] pX,
                               double[] pY,
                               double[] pZ)
                        throws java.io.IOException,
                               AutomationException
Get the geocentric coordinates in the line of sight defined by the window coordinates.

Specified by:
windowToGeocentric in interface IGlobeViewUtil
Parameters:
pDisplay - A reference to a com.esri.arcgis.globecore.IGlobeDisplay (in)
pViewer - A reference to a com.esri.arcgis.analyst3d.ISceneViewer (in)
winX - The winX (in)
winY - The winY (in)
bUseZBufferValue - The bUseZBufferValue (in)
pX - The pX (out: use single element array)
pY - The pY (out: use single element array)
pZ - The pZ (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getViewingFrustrum

public void getViewingFrustrum(_WKSPointZ[] pNearBottomLeft,
                               _WKSPointZ[] pNearBottomRight,
                               _WKSPointZ[] pNearTopLeft,
                               _WKSPointZ[] pNearTopRight,
                               _WKSPointZ[] pFarBottomLeft,
                               _WKSPointZ[] pFarBottomRight,
                               _WKSPointZ[] pFarTopLeft,
                               _WKSPointZ[] pFarTopRight)
                        throws java.io.IOException,
                               AutomationException
Get the viewing frustum as a truncated pyramid, a set of eight points in geocentric coordinates.

Specified by:
getViewingFrustrum in interface IGlobeViewUtil
Parameters:
pNearBottomLeft - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
pNearBottomRight - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
pNearTopLeft - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
pNearTopRight - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
pFarBottomLeft - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
pFarBottomRight - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
pFarTopLeft - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
pFarTopRight - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIsPointVisible

public void getIsPointVisible(double x,
                              double y,
                              double z,
                              boolean[] pOutsideView,
                              boolean[] pTooClose,
                              boolean[] pTooFar)
                       throws java.io.IOException,
                              AutomationException
Detect if point with geocentric coordinates is outside the pyramidal view, too close to the viewpoint, or too far from it.

Specified by:
getIsPointVisible in interface IGlobeViewUtil
Parameters:
x - The x (in)
y - The y (in)
z - The z (in)
pOutsideView - The pOutsideView (out: use single element array)
pTooClose - The pTooClose (out: use single element array)
pTooFar - The pTooFar (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLocalOrigin

public void setLocalOrigin(double x,
                           double y,
                           double rhs3)
                    throws java.io.IOException,
                           AutomationException
The local origin for high precision OpenGL custom drawing.

Specified by:
setLocalOrigin in interface IGlobeViewUtil
Parameters:
x - The x (in)
y - The y (in)
rhs3 - The rhs3 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryVisibleGeographicExtent

public void queryVisibleGeographicExtent(IEnvelope extent)
                                  throws java.io.IOException,
                                         AutomationException
Visible geographic extent of Globe sphere.

Specified by:
queryVisibleGeographicExtent in interface IGlobeViewUtil
Parameters:
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.