.PlanarMechanics.Visualizers.Advanced.Arrow

Visualizing an arrow with variable size; all data have to be set as modifiers (see info layer)

Information

Model Arrow defines an arrow that is dynamically visualized at the defined location (see variables below).

model Visualizers.Advanced.Arrow

The dialog variables R, r, r_tail, r_head, diameter, color and specularCoefficient are declared as (time varying) input variables. If the default equation is not appropriate, a corresponding modifier equation has to be provided in the model where an Arrow instance is used, e.g., in the form

Visualizers.Advanced.Arrow arrow(diameter = sin(time));

Variable color is a RGB color space given in the range 0 .. 255. Predefined colors from Types.Defaults are used throughout the library to get a coherent visualization.


Generated at 2025-04-02T18:24:35Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos