DisplaceLat

DESCRIPTION

DisplaceLat displaces the coordinates of the "Function" lattice by a scaled function of the "Displacement" lattice, producing a curvilinear lattice output with Function's data and new coordinates. DisplaceLat can be used to combine a satellite image with 2D coordinates (latitude and longitude) with a 2D lattice of elevation data to produce an elevation map with 3D coordinates (latitude, longitude, and elevation). The displacement data is scaled by the Scale value.

If Displacement is a scalar lattice (has one data element) and Function has uniform or perimeter coordinates, the displacement data is added as an orthogonal dimension, as in the example above. If Displacement is scalar and Function has curvilinear coordinates, the result is not well defined, and DisplaceLat will not fire.

If Displacement has more than one element, it must have at least as many elements as Function has dimensions. Each of Displacement's scaled values are added element-wise to Function's coordinates. In this way, DisplaceLat can make 3D displacements of 2D coordinates.

Function and Displacement must have the same dimensionality and size.

INPUTS

Port: Function
Type: Lattice
The input data lattice.

Port: Displacement
Type: Lattice
Displacement offset lattice.

WIDGETS

Port: Scale
Type: Dial
Displacement scale factor.

OUTPUTS

Port: Output
Type: Lattice
The displaced lattice.

KNOWN PROBLEMS

SEE ALSO

MagnitudeLat, LatToGeom.
[Documentation Home]
© The Numerical Algorithms Group Ltd, Oxford UK. 2000

Website Feedback

If you would like a response from NAG please provide your e-mail address below.

(If you're a human, don't change the following field)
Your first name.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.