boolean isInCycle(int theX, int theY, Cycle c){
		int count = 0;
		int detVirt;
		int j;
		Integer[] l = new Integer[c.vxList.size()];
		c.vxList.toArray(l);
		for(int i=1; i<l.length; i++){
			j = (i==l.length-1 ? 0: i);
			detVirt = det(vertices[l[i]].x, 
					vertices[l[i-1]].y, 
					vertices[l[i]].x, 
					vertices[l[i]].y, 
					theX, 
					theY);
			if(detVirt == 0){
				if(Math.signum(det(vertices[l[i-1]].x,  
						vertices[l[i-1]].y, 
						vertices[l[i]].x, 
						vertices[l[i]].y, 
						vertices[l[j]].x, 
						vertices[l[j]].y)) ==
						Math.signum(det(vertices[l[i-1]].x, 
								vertices[l[i-1]].y, 
								vertices[l[i]].x, 
								vertices[l[i]].y, 
								vertices[l[i-2]].x, 
								vertices[l[i-2]].y)))
					count++;
			}else if(Math.signum(detVirt) !=
					Math.signum(det(vertices[l[i]].x, 
							vertices[l[i]].y, 
							vertices[l[i+1]].x, 
							vertices[l[i+1]].y, 
							theX, 
							maxH)))
				count++;
		}
		if(count%2!=0){
			return true;
		}else return false;
	}