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.3.420.0 (24.3.420.0)
Syntax public bool TryWindowToCartographic(
CentralBody centralBody,
Rectangular position,
out Cartographic cartographicPosition
)
Public Function TryWindowToCartographic (
centralBody As CentralBody,
position As Rectangular,
<OutAttribute> ByRef cartographicPosition As Cartographic
) As Boolean
public:
bool TryWindowToCartographic(
CentralBody^ centralBody,
Rectangular position,
[OutAttribute] Cartographic% cartographicPosition
)
member TryWindowToCartographic :
centralBody : CentralBody *
position : Rectangular *
cartographicPosition : Cartographic byref -> bool
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