visigoth.check_gaze¶
- visigoth.check_gaze(gaze, point, window)[source]¶
Check whether gaze coordinates are on the point.
- Parameters
- gaze2 tuple
Gaze coordinates, (x, y).
- point2 tuple
Target location coordiantes, (x, y).
- windowfloat
Radius of circular window around
point
for accepting gaze location.
- Returns
- validbool
True if the gaze is within the window of the point.