Main Content

update

Class: Aero.Node
Namespace: Aero

Change node position and orientation versus time data

Syntax

update(h,t)

Description

update(h,t) changes the node position and the orientation of node h as a function of time t.

Note

This function requires that you load the node and time series data first.

Input Arguments

expand all

Aerospace node object, specified as an instance of the Aero.Node class.

Animation time, specified as a scalar, in seconds.

Data Types: double

Examples

expand all

Change the node position as a function of time.

h = Aero.VirtualRealityAnimation;
h.FramesPerSecond = 10;
h.TimeScaling = 5;
h.VRWorldFilename = 'asttkoff.wrl';
h.initialize();

load takeoffData
h.Nodes{7}.TimeSeriesSource = takeoffData;
h.Nodes{7}.TimeSeriesSourceType = 'StructureWithTime';
h.Nodes{7}.update(5);

Version History

Introduced in R2007b

See Also