public boolean inBorders(Crossing c) { //Don't know if commenting out this makes it work. huh
		double tolerance = 0.00001;
		if (c.atInf()) {
			if (c.atNegInf() && leftborder) {
				return false;
			}
			if (!c.atNegInf() && rightborder) {
				return false;
			}
		}
		if (leftborder && c.crAt() < leftb-tolerance) { return false;}
		if (rightborder && c.crAt() >= rightb+tolerance) { return false;}
		return true;
	}