AGI STK VGT 11Send comments on this topic.
CreateFixedInSystemCartographic Method (IAgCrdnPointCommonTasks)
See Also
ReferenceSystem
Latitude
Longitude
Altitude
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 
[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 ** ppRetVal
);

Parameters

ReferenceSystem
Latitude
Longitude
Altitude

See Also

Example

Create a non-persistent point fixed in a specified reference frame given Cartographic data (using common tasks).
[C#]
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]
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)
© 2019 Analytical Graphics, Inc. All Rights Reserved.