sineSurface

Function defining the characteristic of a moving sine in three dimensions

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Function defining the characteristics of a moving sine in three dimensions. This function is used in example Elementary.Surfaces.

Syntax

(X, Y, Z, C) = sineSurface(nu, nv, multiColoredSurface, x_min, x_max, y_min, y_max, z_min, z_max, wz)

Inputs (10)

nu

Type: Integer

Description: Number of points in u-Dimension

nv

Type: Integer

Description: Number of points in v-Dimension

multiColoredSurface

Default Value: false

Type: Boolean

Description: = true: Color is defined for each surface point

x_min

Type: Real

Description: Minimum value of x

x_max

Type: Real

Description: Maximum value of x

y_min

Type: Real

Description: Minimum value of y

y_max

Type: Real

Description: Maximum value of y

z_min

Type: Real

Description: Minimum value of z

z_max

Type: Real

Description: Maximum value of z

wz

Type: Real

Description: Factor for angular frequency

Outputs (4)

X

Type: Position[nu,nv] (m)

Description: [nu,nv] positions of points in x-Direction resolved in surface frame

Y

Type: Position[nu,nv] (m)

Description: [nu,nv] positions of points in y-Direction resolved in surface frame

Z

Type: Position[nu,nv] (m)

Description: [nu,nv] positions of points in z-Direction resolved in surface frame

C

Type: Real[if multiColoredSurface then nu else 0,if multiColoredSurface then nv else 0,3]

Description: [nu,nv,3] Color array, defining the color for each surface point