TrajectoryPhase.ResampleNodes Method

Top 

Description

Re-interpolates the TrajectoryPhase's nodes using new node spacing.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

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

 

Overload List

Signatures

Return Value

Description

TrajectoryPhase.ResampleNodes(Variable numberOfPoints)

None

Re-interpolates the TrajectoryPhase's nodes using a uniform spacing of node points.

TrajectoryPhase.ResampleNodes(Array numberOfPointsArray, Array barriers)

None

Re-interpolates the TrajectoryPhase's nodes using independent uniform distributions of TrajectoryNodes within user-defined barriers. The numberOfPoints Array argument must have one less element than the barriers Array argument. Additionally, the barriers Array argument must begin with 0 and end with 1.

 

Example:

ResampleNodes({10, 20}, {0, 0.5, 1});

This will resample such that there are 10 nodes in the first half of the trajectory and 20 nodes in the second half.

TrajectoryPhase.ResampleNodes(Variable numberOfPoints, String shape, Variable weight)

None

Re-interpolates the TrajectoryPhase's nodes while allowing nodes to be easily concentrated in an area of interest.

 

 

See also

TrajectoryPhase Object