mpiMotionAxis

Declaration
 MPIAxis mpiMotionAxis(MPIMotion motion,
                       long      index) 
Required Header stdmpi.h
Description

MotionAxis returns the element at the position on the list indicated by index.

  motion a handle to the Motion object.
  index a position in the list.
     
Return Values
handle to the indexth Axis of a Motion (motion)
MPIHandleVOID if motion is invalid
if index is less than 0
if index is greater than or equal to mpiMotionAxisCount(motion)
MPIMessageARG_INVALID index is a negative number.
MEIListMessageELEMENT_NOT_FOUND index is greater than or equal to the number of elements in the list.
MPIMessageHANDLE_INVALID motion is an invalid handle.
See Also