TrajectoryPhase.AddNode Method

Top 

Description

Adds a TrajectoryNode to the underlying TrajectoryPhase.Nodes array.

 

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.

 

Overload List

Signatures

Return Value

Description

TrajectoryPhase.AddNode(Spacecraft spacecraft)

None

Adds a state to the underlying TrajectoryNodes of the TrajectoryPhase using the current state of the passed Spacecraft.

 

Note: if the Spacecraft's central body differs from the TrajectoryPhase's central body, a state conversion will take place automatically before the TrajectoryNode is added.

TrajectoryPhase.AddNode(TrajectoryNode trajectoryNode)

None

Adds a state to the underlying TrajectoryNodes of the TrajectoryPhase using the passed TrajectoryNode.

TrajectoryPhase.AddNode(Spacecraft spacecraft, Array controlVariables)

None

Adds a state to the underlying TrajectoryNodes of the TrajectoryPhase using the current state of the passed Spacecraft. The node control variables will also be assigned using the control Array argument.

 

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.

 

Note: if the Spacecraft's central body differs from the TrajectoryPhase's central body, a state conversion will take place automatically before the TrajectoryNode is added.

TrajectoryPhase.AddNode(Array posvel, Variable mass, TimeSpan epoch, Array controlVariables)

None

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.

 

 

See also

TrajectoryPhase Object