CameraCartographicToWindow Method |
Converts a
Cartographic position to a pixel coordinate
relative to the
Insight3D control.
This method can 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 Rectangular CartographicToWindow(
CentralBody centralBody,
Cartographic position
)
Public Function CartographicToWindow (
centralBody As CentralBody,
position As Cartographic
) As Rectangular
public:
Rectangular CartographicToWindow(
CentralBody^ centralBody,
Cartographic position
)
member CartographicToWindow :
centralBody : CentralBody *
position : Cartographic -> Rectangular
Parameters
- centralBody
- Type: AGI.Foundation.CelestialCentralBody
The CentralBody of the position. - position
- Type: AGI.Foundation.CoordinatesCartographic
The Cartographic position to convert.
Return Value
Type:
Rectangular
The pixel coordinate of the
Cartographic position
relative to the
Insight3D control.
The coordinate can be fractional.
See Also