This document is archived and information here might be outdated.  Recommended version.


IGlobeViewUtil Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GlobeCore)  

IGlobeViewUtil Interface

Provides access to utility methods related to globe coordinates and view.

Product Availability

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

Members

Description
Method GeocentricToGeographic Transform normalized geocentric coordinates to geographic coordinates.
Method GeocentricToWindow Get the window coordinates corresponding to a geocentric location, or -1 if not visible.
Method GeographicToGeocentric Transform geographical coordinates to normalized geocentric coordinates.
Method GeographicToWindow Get the window coordinates corresponding to a geographical location, or -1 if not visible.
Method GetIsPointVisible Detect if point with geocentric coordinates is outside the pyramidal view, too close to the viewpoint, or too far from it.
Method GetViewingFrustrum Get the viewing frustum as a truncated pyramid, a set of eight points in geocentric coordinates.
Write-only property LocalOrigin The local origin for high precision OpenGL custom drawing.
Method QueryVisibleGeographicExtent Visible geographic extent of Globe sphere.
Read-only property ScalingDistance The current distance used for scale range comparisons.
Method SetTargetAtCenter Sets the camera target at the center of the globe.
Method WindowToGeocentric Get the geocentric coordinates in the line of sight defined by the window coordinates.
Method WindowToGeographic Get the geographic coordinates in the line of sight defined by the window coordinates.

CoClasses that implement IGlobeViewUtil

CoClasses and Classes Description
GlobeCamera The globe camera component.

.NET Snippets

Toggle Between Surface and Global Navigation Mode

.NET Samples

Globe Fly tool (Code Files: Fly) | Set sun position tool (Code Files: SunPositionTool) | Creating a toolbar of globe tools (Code Files: GeographicCoordinates)