def at_site(self): ''' True if the robot is in the area designated as the construction site (on the ground) ''' return helpers.within(construction.construction_location, construction.construction_size, self.location)
def __feasable_point(self,p): ''' Checks whether or not a point lies within the defined limits of the structure ''' return helpers.within(self.origin,self.size,p)
def at_home(self): ''' True if the robot is in the area designated as home (on the ground) ''' return helpers.within(construction.home, construction.home_size, self.location)