TrajectoryPhase.AddNode(Array, Variable, TimeSpan, Array) Method

Top 

Description

Adds a state to the underlying TrajectoryNodes of the TrajectoryPhase using the passed position, velocity, mass, epoch, and control variables.

 

Note: the number and order of elements in the controlVariables Array must equal the number and order of control variables in the selected ControlModel. Refer to the TrajectoryPhase.ControlModel property for more information on control variables.

 

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

TrajectoryPhase.AddNode(

Array posvel,


Variable mass,


TimeSpan epoch,


Array controlVariables)

 

 

Arguments

posvel


Description:

An array containing the position and velocity for the new TrajectoryNode.

Required Size:

6

 

 

mass


Description:

The mass for the new TrajectoryNode.

Units:

kg

 

 

epoch


Description:

The epoch for the new TrajectoryNode.

Units:

day

 

 

controlVariables


Description:

An array containing the position and velocity for the new TrajectoryNode.

Required Size:

At least 0

 

 

 

Syntax

myTrajectoryPhase1.AddNode(myArray1, myVariable1, myTimeSpan1, myArray2);

 

 

See also

TrajectoryPhase Object

TrajectoryPhase.AddNode