def inbounds(self,x,y):
        return (0<=(x-self.originX)<self.size) and (0<=(y-self.originY)<self.size)
x and y are ints in the same coordnit system as update center and the origin
dataset/ETHPy150Open Craig-Macomber/Panda3D-Terrain-System/tileUtil.py/ToroidalCache.inbounds