Modelica.Mechanics.MultiBody.Icons

Icons for MultiBody package

Information

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

NameDescription
Modelica.Mechanics.MultiBody.Icons.Surface Surface Surface icon


Modelica.Mechanics.MultiBody.Icons.Surface Modelica.Mechanics.MultiBody.Icons.Surface

Surface icon

Information


Model Surface defines a moveable, parametrized surface in 3-dim. space that is used for animation. This object is specified by:

The parameter values (u,v) are given by the ordinal numbers of the corresponding control point in u- or in v-direction, respectively. The surface is then defined by the replaceable function "surfaceCharacteristic" with the interface partialSurfaceCharacteristic that returns the x-, y-, z- coordinate of every control point in form of 3 positional arrays and an optional color array, if every control point shall have a different color:

  Real X[nu,nv], Y[nu,nv], Z[nu,nv], colorArray[nu,nv];

Models Torus and VoluminousWheel demonstrate how new visualizer objects can be constructed with the Surface model.
The direct usage of the Surface model, as well as of the Torus and the VoluminousWheel models, are demonstrated with example Examples.Elementary.Surfaces.

Modelica definition

model Surface "Surface icon"
equation 

end Surface;

Automatically generated Fri Nov 12 16:30:41 2010.