AGI STK Objects 11Send comments on this topic.
AddPoint Method (IAgMtoTrackPointCollection)
See Also 
Time
Latitude
Longitude
Altitude
Windows






Windows & Linux

Description

Adds a new element to the collection using specified point data. Time uses DateFormat Dimension. Latitude/Longitude use Angle Dimension. Altitude uses Distance Dimension.

Syntax

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

Parameters

Time
Latitude
Longitude
Altitude

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.