Click or drag to resize

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: 19.5.402.0 (19.5.402.0)
Syntax
public Rectangular CartographicToWindow(
	CentralBody centralBody,
	Cartographic position
)

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