org.iu.gps
Class RegionTriggerInfo

java.lang.Object
  |
  +--org.iu.gps.TriggerInfo
        |
        +--org.iu.gps.RegionTriggerInfo

public class RegionTriggerInfo
extends TriggerInfo

Contains all information about a region trigger.


Field Summary
 boolean enter
           
 boolean exit
           
 boolean inside
          Specifies whether the user is currently inside the region (true) or not (false).
 double[][] region
          Region defined as a 2D polygon with n vertices, specified as array[n][2]
 
Fields inherited from class org.iu.gps.TriggerInfo
id, persistant, receiver
 
Constructor Summary
RegionTriggerInfo()
           
 
Methods inherited from class org.iu.gps.TriggerInfo
trigger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

region

public double[][] region
Region defined as a 2D polygon with n vertices, specified as array[n][2]

inside

public boolean inside
Specifies whether the user is currently inside the region (true) or not (false).

enter

public boolean enter

exit

public boolean exit
Constructor Detail

RegionTriggerInfo

public RegionTriggerInfo()