modelDoubleArrow

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

Extends from Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Information

Model DoubleArrow defines a double arrow that is dynamically visualized at the defined location (see variables below).

model Visualizers.Advanced.DoubleArrow

The variables under heading Parameters below 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.DoubleArrow doubleArrow(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.

Components

TypeNameDefaultDescription
MB.Frames.OrientationRMB.Frames.nullRotation()Orientation object to rotate the planarWorld frame into the arrow frame
SI.Position[3]r{0, 0, 0}Position vector from origin of planarWorld frame to origin of arrow frame, resolved in planarWorld frame
SI.Position[3]r_tail{0, 0, 0}Position vector from origin of arrow frame to double arrow tail, resolved in arrow frame
SI.Position[3]r_head{0, 0, 0}Position vector from double arrow tail to the head of the double arrow, resolved in arrow frame
SI.DiameterdiameterplanarWorld.defaultArrowDiameterDiameter of arrow line
MB.Types.ColorcolorPlanarMechanics.Types.Defaults.ArrowColorColor of double arrow
MB.Types.SpecularCoefficientspecularCoefficientplanarWorld.defaultSpecularCoefficientMaterial property describing the reflecting of ambient light (= 0 means, that light is completely absorbed)