SetXYCoords

DESCRIPTION

This module takes a 2D uniform lattice and allows the user to set its coordinates (i.e. the minimum and maximum X and Y values).

INPUTS

Port: First_In
Type: Lattice
Constraints: 2-D
Constraints: uniform
Input lattice. It can be of any primitive type, and have any length data vector.

WIDGETS

Port: Xmin
Type: Dial
Input minimum X coordinate for lattice.

Port: Xmax
Type: Dial
Input maximum X coordinate for lattice.

Port: Ymin
Type: Dial
Input minimum Y coordinate for lattice.

Port: Ymax
Type: Dial
Input maximum Y coordinate for lattice.

OUTPUTS

Port: First_Out
Type: Lattice
Output lattice, with modified coordinates.

KNOWN PROBLEMS

This is implemented as a LatFunction module, for simplicity and speed. However, the lattice constraint checking is hardwired into the LatFunction executable, which means that the reqested constraints on the lattice (in particular, that it must be 2D) are ignored. To fix this, the module should be re-implemented as a separate executable.

SEE ALSO

LatFunction, ScaleXYZ.
[Documentation Home]
© The Numerical Algorithms Group Ltd, Oxford UK. 2000