SHIFT transformation function SHIFT transformation function Syntax SHIFT (transformation BY x_shift, y_shift, z_shift ) Function Return a transformation value resulting from shifting the position of the transformation parameter by the given shift amounts. Parameters transformation Transformation expression that is to be shifted. x_shift Optional real-valued expressions that are added to the respective position components of the transformation parameter. y_shift z_shift Details The value returned is equal to the value of the input transformation parameter value except that the three shift parameter values are added to the X, Y, and Z position components.
If any shift parameter is omitted, its value is assumed to be zero. Example If the transformation x has the value: (200, 150, 100, 10, 20, 30) then executing the instruction: SET y = SHIFT(x BY 5,-5,10) results in the transformation y receiving the value: (205, 145, 110, 10, 20, 30) Related Keywords SCALE transformation function TRANS transformation function eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 469