STK Vector Geometry ToolSend comments on this topic.
CreateFixedInSystemCartographic Method (IAgCrdnPointCommonTasks)
See Also
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
);
[Unmanaged C++]
public: HRESULT CreateFixedInSystemCartographic(
    IAgCrdnSystem * ReferenceSystem,
    VARIANT Latitude,
    VARIANT Longitude,
    double Altitude,
    IAgCrdnPointFixedInSystem ** ppRetVal
);
[Java]
public IAgCrdnPointFixedInSystem createFixedInSystemCartographic(
    IAgCrdnSystem ReferenceSystem,
    AgVariant Latitude,
    AgVariant Longitude,
    double Altitude
);
[Python - STK API ]
def CreateFixedInSystemCartographic(self, ReferenceSystem:"IAgCrdnSystem", Latitude:typing.Any, Longitude:typing.Any, Altitude:float) -> "IAgCrdnPointFixedInSystem":

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.

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)
© 2024 Analytical Graphics, Inc. All Rights Reserved.