mpiMotionAxisPrevious

Declaration
 MPIAxis mpiMotionAxisPrevious(MPIMotion motion,
                               MPIAxis   axis) 
Required Header stdmpi.h
Description

MotionAxisPrevious returns the previous element prior to "axis" on the list. This function can be used in conjuntion with mpiMotionAxisLast() in order to iterate through the list backwards.

  motion a handle to the Motion object.
  axis a handle to an Axis object.
     
Return Values
handle to the Axis preceding the specified Axis (axis) in a Motion (motion)
MPIHandleVOID if motion is invalid
if the specfied Axis (axis) is the first Axis in a Motion (motion)
MPIMessageHANDLE_INVALID Either motion or axis is an invalid handle.
See Also mpiMotionAxisLast | mpiMotionAxisNext