initialize

Class: Aero.Animation
Package: Aero

Create animation object figure and axes and build patches for bodies

Syntax

initialize(h)
h.initialize

Description

initialize(h) and h.initialize create a figure and axes for the animation object h, and builds patches for the bodies associated with the animation object. If there is an existing figure, this function

  1. Clears out the old figure and its patches.

  2. Creates a new figure and axes with default values.

  3. Repopulates the axes with new patches using the surface to patch data from each body.

Input Arguments

hAnimation object.

Examples

Initialize the animation object, h.

h = Aero.Animation;
h.initialize();
Was this topic helpful?