modelVector
Animation of a moveable vector-quantity (the length is not fixed in meters)
Extends from Modelica.Utilities.Internal.PartialModelicaServices.Animation.PartialVector (Interface for 3D animation of a vector quantity (force, torque etc)).
Information
The interface of this model is documented at
Modelica.Mechanics.MultiBody.Visualizers.Advanced.Vector.
The interface of this model is defined at
Modelica.Utilities.Internal.PartialModelicaServices.Animation.PartialVector.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.VectorQuantity | quantity (from PartialVector) | Types.VectorQuantity.Force | Quantity of the coordinates |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Frames.Orientation | R (from PartialVector) | Frames.nullRotation() | Orientation object to rotate the world frame into the vector frame |
| SI.Position[3] | r (from PartialVector) | {0, 0, 0} | Position vector from origin of world frame to origin of vector frame, resolved in world frame |
| Real[3] | coordinates (from PartialVector) | {0, 0, 0} | Coordinates of the vector resolved in vector frame |
| Types.Color | color (from PartialVector) | Types.Defaults.ArrowColor | Color of vector |
| Types.SpecularCoefficient | specularCoefficient (from PartialVector) | 0.7 | Material property describing the reflecting of ambient light (= 0 means, that light is completely absorbed) |
| Boolean | headAtOrigin (from PartialVector) | false | = true, if the vector is pointing towards the origin of vector frame |
| Boolean | twoHeadedArrow (from PartialVector) | false | = true, if the arrow has two heads after each other (pointing in the same direction) |