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.3.420.0 (24.3.420.0)
Syntax public void SetPositionCartographic(
CentralBody centralBody,
Cartographic position
)
Public Sub SetPositionCartographic (
centralBody As CentralBody,
position As Cartographic
)
public:
void SetPositionCartographic(
CentralBody^ centralBody,
Cartographic position
)
member SetPositionCartographic :
centralBody : CentralBody *
position : Cartographic -> unit
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 Remarks centralBody
is used to convert the position to
Cartesian.
See Position for a full discussion.
See Also