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.
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;