Click or drag to resize

CameraTryWindowToCartographic Method

Converts a pixel coordinate relative to the Insight3D control to a Cartographic position. For speed, terrain is not considered. This method does not throw an exception.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public bool TryWindowToCartographic(
	CentralBody centralBody,
	Rectangular position,
	out Cartographic cartographicPosition
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The CentralBody of the position.
position
Type: AGI.Foundation.CoordinatesRectangular
The pixel coordinate to convert.
cartographicPosition
Type: AGI.Foundation.CoordinatesCartographic
The Cartographic position

Return Value

Type: Boolean
False if unable to convert the window coordinate to a cartographic.
See Also