.Modelica.Mechanics.MultiBody.Interfaces.partialSurfaceCharacteristic

Information

This partial function defines the interface of a function that returns surface characteristics for an object visualization, see e.g. Visualizers.Advanced.SurfaceCharacteristics.torus.

Interface

partial function partialSurfaceCharacteristic
  extends Modelica.Icons.Function;
  input Integer nu "Number of points in u-Dimension";
  input Integer nv "Number of points in v-Dimension";
  input Boolean multiColoredSurface = false "= true: Color is defined for each surface point";
  output Modelica.SIunits.Position X[nu, nv] "[nu,nv] positions of points in x-Direction resolved in surface frame";
  output Modelica.SIunits.Position Y[nu, nv] "[nu,nv] positions of points in y-Direction resolved in surface frame";
  output Modelica.SIunits.Position Z[nu, nv] "[nu,nv] positions of points in z-Direction resolved in surface frame";
  output Real C[if multiColoredSurface then nu else 0, if multiColoredSurface then nv else 0, 3] "[nu,nv,3] Color array, defining the color for each surface point";
end partialSurfaceCharacteristic;

Generated at 2019-11-17T02:38:23Z by OpenModelicaOpenModelica 1.15.0~dev-9-g34505da using GenerateDoc.mos