AGI STK VGT 11Send comments on this topic.
CreateFixedInSystemCartographic Method (IAgCrdnPointCommonTasks)
See Also  Example
ReferenceSystem
Specify a reference system.
Latitude
Specify a latitude of the point's position.
Longitude
Specify a longitude of the point's position.
Altitude
Specify an altitude of the point's position.
Windows






Windows & Linux

Description

Creates a non-persistent point fixed in a specified reference system.

Syntax

[Visual Basic .NET]
Public Function CreateFixedInSystemCartographic( _
   ByVal ReferenceSystem As IAgCrdnSystem, _
   ByVal Latitude As System.Object, _
   ByVal Longitude As System.Object, _
   ByVal Altitude As Double _
) As IAgCrdnPointFixedInSystem
[C#]
public IAgCrdnPointFixedInSystem CreateFixedInSystemCartographic(
   IAgCrdnSystem ReferenceSystem,
   System.Object Latitude,
   System.Object Longitude,
   double Altitude
);
[Managed C++]
public: IAgCrdnPointFixedInSystem^ CreateFixedInSystemCartographic(
   IAgCrdnSystem ^ ReferenceSystem,
   VARIANT Latitude,
   VARIANT Longitude,
   double Altitude
);
[Java]
public IAgCrdnPointFixedInSystem createFixedInSystemCartographic(
   IAgCrdnSystem ReferenceSystem,
   Variant Latitude,
   Variant Longitude,
   double Altitude
);
[Unmanaged C++]
public: HRESULT CreateFixedInSystemCartographic(
   IAgCrdnSystem * ReferenceSystem,
   VARIANT Latitude,
   VARIANT Longitude,
   double Altitude,
   IAgCrdnPointFixedInSystem ** ReturnValue
);

Parameters

ReferenceSystem
Specify a reference system.
Latitude
Specify a latitude of the point's position.
Longitude
Specify a longitude of the point's position.
Altitude
Specify an altitude of the point's position.

Example

Create a non-persistent point fixed in a specified reference frame given Cartographic data (using common tasks).
[C#]Copy Code
object lat = 0, lon = 0
double alt = 0
facility.Position.QueryPlanetodetic(out lat, out lon, out alt); 
IAgCrdnPointFixedInSystem origin = provider.Points.CommonTasks.CreateFixedInSystemCartographic( 
    provider.Systems["Fixed"], lat, lon, alt); 
 

Create a non-persistent point fixed in a specified reference frame given Cartographic data (using common tasks).
[Visual Basic .NET]Copy Code
Dim lat As Object = 0, lon As Object = 0
Dim alt As Double = 0
facility.Position.QueryPlanetodetic(lat, lon, alt)
Dim origin As IAgCrdnPointFixedInSystem = provider.Points.CommonTasks.CreateFixedInSystemCartographic(provider.Systems("Fixed"), lat, lon, alt)

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.