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.
The input data lattice.
Displacement offset lattice.
Displacement scale factor.
The displaced lattice.