coordinate_math

image\coordmathmod_new.jpg

General Module Function

The coordinate math module (This module is available only inEVS PRO and MVS) is used to perform mathematical operations on any EVS mesh surface or 3D mesh. Up to four data fields can be input to coordinate_math. Mathematical expressions can involve any or all of these input fields. Some valuable uses of coordinate_math are for applying transformations of the z coordinates of a grid (such as a water table surface elevation), or for applying a mathematical operation on a surface (such as a fault surface displacement , rotation, etc.).

Module Input Ports

coordinate_math has eight input ports.

There are four identical input ports that can accept any type of mesh, but the meshes must have the same cell types and number of nodes (i.e., they must have identical geometries). At least one input port must be used and up to four can be used. The first port is closest to the left and the ports are numbered sequentially in ascending order to the right. Coordinate data passed to ports one, two, three and four are referred to as Ax, Bx, Cx and Dx (y, or z) in the appropriate mathematical expression. For example if you want to refer to X coordinate of the first input you would use Ax in the expression, if you want to refer to Z coordinate of the second input you should use Bz in the expression.

There are also four identical input ports that accept floating point numbers (variables). None of these are required to be used, but up to four can be used. The first of these ports is the fifth from the left and the ports are numbered sequentially in ascending order to the right. These variables are referred to as f1, f2, f3 and f4 in your mathematical expressions.

Module Output Ports

coordinate_math has six output ports. The first four output port (from the left) pass the four variables so they can be shared with other modules. The next port is the output mesh containing revised coordinates that are a result of the computation. The last (red) output port is renderable version of the output mesh.

image\coordmathpanel_new.jpg

Module Control Panel

The control panel for field math is shown in the figure above. The type-in boxes are for inputting mathematical expressions. For example, the following expression converts input coordinates specified in the Polar coordinate system (where the original x was radius and y was the angle in radians) into Cartesian coordinates:

X  Ax*cos(Ay)

Y  Ax*sin(Ay)

Pop-UpAvailable Mathematical Operators here.

Jump to a list of availableMathematical Operators

Related Modules

 ->field_math

© 1994-2018 ctech.com