GroundWaypoints.AddWaypoint(TimeSpan, Variable, Variable) Method

Top 

Description

Uses the provided epoch, latitude, and longitude to create a new GroundVehicleWaypoint object, then inserts it into the Waypoints array chronologically based on the epoch.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

GroundWaypoints.AddWaypoint(

TimeSpan Epoch,


Variable Latitude,


Variable Longitude)

 

 

Arguments

Epoch


Description:

The epoch of the new waypoint to be created and inserted into the Waypoints array. If the epoch is already in the Waypoints array, an error will be thrown.

 

 

Latitude


Description:

The latitude of the new waypoint to be created and inserted into the Waypoints array.

Units:

deg

Valid Range:

-90 ≤ Latitude ≤ 90

 

 

Longitude


Description:

The longitude of the new waypoint to be created and inserted into the Waypoints array.

Units:

deg

Valid Range:

0 ≤ Longitude ≤ 360

 

 

 

Syntax

myGroundWaypoints1.AddWaypoint(myTimeSpan1, myVariable1, myVariable2);

 

 

See also

GroundWaypoints Object