extract_coordinate_array


Synopsis

extract selected coordinate components from mesh, after transforming

Input Ports

in

Mesh

parent

user interface parent object

 

Output Port

coord

prim[nnodes * (1, 2 or 3)]

 

Description

extract_coordinate_array extracts a 1D array containing the X, Y and/or Z components of the mesh's coordinates after being transformed by the mesh's transformation matrix. If X and Y are selected, it outputs X 0 , Y 0 , X 1 , Y 1 , and so on. Note that the output coordinates are not the same as the coordinates of the mesh itself; they are transformed, so they are in "world coordinates", as you would see them in the viewer.

Input Ports

in

Mesh. The input mesh.

ui_parent

A port to connect to a user interface object that contains the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)

Parameters

Select Coordinates

UIoptionBoxLabel (X, Y, Z). Selects which coordinate components to extract.

Output Port

coord

prim[]. An array containing the extracted components.

Example

Not available.

File

v/fld_map.v

See also