public static boolean sameHull (SubHull h1, SubHull h2) {
		assert h1 != null && h2 != null : "h1 != null && h2 != null";

		Node<Coordinate2D> n1 = h1.minNode;
		Node<Coordinate2D> n2 = h2.minNode;
		
		boolean result = true;
		
		while (true) {
			if (n1.ex.compareTo(n2.ex) != 0) {
				result = false;
				break;
			}
			if (n1.right == null || n2.right == null) {
				if (n1.right != null || n2.right != null) {
					result = false;
				}
				break;
			}
			n1 = n1.right;
			n2 = n2.right;
		}
		
		return result;
	}