CameraTryCartographicToWindow Method |
Converts a
Cartographic position to a pixel coordinate
relative to the
Insight3D control.
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 TryCartographicToWindow(
CentralBody centralBody,
Cartographic position,
out Rectangular windowPosition
)
Public Function TryCartographicToWindow (
centralBody As CentralBody,
position As Cartographic,
<OutAttribute> ByRef windowPosition As Rectangular
) As Boolean
public:
bool TryCartographicToWindow(
CentralBody^ centralBody,
Cartographic position,
[OutAttribute] Rectangular% windowPosition
)
member TryCartographicToWindow :
centralBody : CentralBody *
position : Cartographic *
windowPosition : Rectangular byref -> bool
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The CentralBody of the position. - position
- Type: AGI.Foundation.CoordinatesCartographic
The Cartographic position to convert. - windowPosition
- Type: AGI.Foundation.CoordinatesRectangular
The pixel coordinate of the Cartographic position
relative to the Insight3D control.
The coordinate can be fractional.
Return Value
Type:
Boolean
False if unable to convert the cartographic to a window coordinate.
See Also