mpiMotionAxisNext

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

MotionAxisNext returns the next element following "axis" on the list. This function can be used in conjuntion with mpiMotionAxisFirst() in order to iterate through the list.

  motion a handle to the Motion object.
  axis a handle to an Axis object.
     
Return Values
handle to the Axis just after the specified Axis (axis) in a Motion (motion)
MPIHandleVOID if motion is invalid
if the specified Axis (axis) is the last axis in a Motion (motion)
MPIMessageHANDLE_INVALID Either motion or axis is an invalid handle.
See Also mpiMotionAxisFirst | mpiMotionAxisPrevious