.Modelica.Mechanics.MultiBody.Visualizers.Advanced.SurfaceCharacteristics.rectangle

Function defining the surface characteristic of a planar rectangle

Information

Function rectangle computes the X, Y and Z arrays to visualize a rectangle with model Rectangle. The image below shows two rectangles of

nu = 8,
nv = 3,
lu = 3,
lv = 2.

Interface

function rectangle
  extends Modelica.Mechanics.MultiBody.Interfaces.partialSurfaceCharacteristic(final multiColoredSurface = false);
  input SI.Distance lu = 1 "Length in direction u" annotation(
    Dialog);
  input SI.Distance lv = 3 "Length in direction v" annotation(
    Dialog);
end rectangle;

Generated at 2025-04-11T18:20:07Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos