Description
For convenience. Sets the Cartographic position of the model. Longitude and latitude are in radians, and altitude is in meters. This also sets
Position.
Syntax
[Visual Basic .NET] |
---|
Public Sub SetPositionCartographic( _
ByVal CentralBody As String, _
ByRef Position As System.Array _
)
|
[Managed C++] |
---|
public: void SetPositionCartographic( String __gc ^ CentralBody, System::Array ^^ Position );
|
[Unmanaged C++] |
---|
public: HRESULT SetPositionCartographic( BSTR CentralBody, SAFEARRAY ** Position );
|
Parameters
Remarks
Example
Shows the format of the Position parameter when updating a model.
[C#] | Copy Code |
---|
Array position = new object[]
{
39.88,
-75.25,
0
};
model.SetPositionCartographic(
"Earth",
ref position);
|
|
Shows the format of the Position parameter when updating a model.
[Visual Basic .NET] | Copy Code |
---|
Dim position As Array = New Object() {39.88, -75.25, 0}
model.SetPositionCartographic("Earth", position)
|
|
See Also