/* If the range of y-values intersect, then there may be an
* intersection.
*/
if (h.intersects(slice.range())) {
Box3 bounds = cell.getBoundingBox();
/* Get the points on the height field. */
Point3 p00 = new Point3(bounds.minimumX(), slice.at(0, 0), bounds.minimumZ());
Point3 p01 = new Point3(bounds.minimumX(), slice.at(0, 1), bounds.maximumZ());
Point3 p10 = new Point3(bounds.maximumX(), slice.at(1, 0), bounds.minimumZ());
Point3 p11 = new Point3(bounds.maximumX(), slice.at(1, 1), bounds.maximumZ());
Plane3 plane;
double t;
/* Divide the four points into two triangles and check for