Behaviours
BxSwEdgeSwitch Class Reference

Public Member Functions

void SetCrossingTime (float t, float speed)
 Set the length automatically from the given crossing time and speed of balls.
 
bool HasEntered (float lastPos, float pos)
 Did it crossed the switch on?
 
bool HasExited (float lastPos, float pos)
 Did it crossed the switch off?
 
bool IsInside (float pos)
 Did it crossed the switch off?
 

Public Attributes

float m_start
 position of the switch along the edge
 
float m_length
 length of the switch in mm
 
int m_switchSlot
 number of the switch slot
 

The documentation for this class was generated from the following file: