Click or drag to resize

ModelPrimitiveSetPositionCartographic Method

For convenience. Sets the Cartographic position of the model. Longitude and latitude are in radians, and altitude is in meters. This also sets Position.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public void SetPositionCartographic(
	CentralBody centralBody,
	Cartographic position
)

Parameters

centralBody
Type: AGI.Foundation.CelestialCentralBody
The central body the positions are defined on.
position
Type: AGI.Foundation.CoordinatesCartographic
The new Cartographic position of the model.
Exceptions
ExceptionCondition
ArgumentNullExceptioncentralBody is .
InvalidOperationException The primitive's ReferenceFrame is not equal to centralBody fixed frame.
Remarks

centralBody is used to convert the position to Cartesian.

See Position for a full discussion.

See Also