#include <Leap.h>
The HandList class represents a list of Hand objects.
Get a HandList object by calling Frame::hands(). 
◆ HandList() [1/2]
◆ HandList() [2/2]
      
        
          | LEAP_EXPORT Leap::HandList::HandList | ( |  | ) |  | 
      
 
Constructs an empty list of hands. 
 
 
◆ append()
◆ begin()
The C++ iterator set to the beginning of this HandList. 
 
 
◆ count()
      
        
          | LEAP_EXPORT int Leap::HandList::count | ( |  | ) | const | 
      
 
Returns the number of hands in this list. 
- Returns
- The number of hands in this list. 
 
 
◆ empty()
      
        
          | LEAP_EXPORT bool Leap::HandList::empty | ( |  | ) | const | 
      
 
 
◆ end()
The C++ iterator set to the end of this HandList. 
 
 
◆ frontmost()
      
        
          | LEAP_EXPORT Hand Leap::HandList::frontmost | ( |  | ) | const | 
      
 
The member of the list that is farthest to the front within the standard Leap frame of reference (i.e has the smallest Z coordinate).
- Returns
- The frontmost hand, or invalid if list is empty. 
 
 
◆ isEmpty()
      
        
          | LEAP_EXPORT bool Leap::HandList::isEmpty | ( |  | ) | const | 
      
 
Reports whether the list is empty. 
- Returns
- True, if the list has no members. 
 
 
◆ leftmost()
      
        
          | LEAP_EXPORT Hand Leap::HandList::leftmost | ( |  | ) | const | 
      
 
The member of the list that is farthest to the left within the standard Leap frame of reference (i.e has the smallest X coordinate).
- Returns
- The leftmost hand, or invalid if list is empty. 
 
 
◆ operator[]()
      
        
          | LEAP_EXPORT Hand Leap::HandList::operator[] | ( | int | index | ) | const | 
      
 
Access a list member by its position in the list. 
- Parameters
- 
  
    | index | The zero-based list position index. |  
 
- Returns
- The Hand object at the specified index. 
 
 
◆ rightmost()
      
        
          | LEAP_EXPORT Hand Leap::HandList::rightmost | ( |  | ) | const | 
      
 
The member of the list that is farthest to the right within the standard Leap frame of reference (i.e has the largest X coordinate).
- Returns
- The rightmost hand, or invalid if list is empty.