code: public double intersectY(double y)
  	{
  		if (direction.y == 0)
  			return Double.NaN;
  		return (y - origin.y) / direction.y;
  	}
docs: Gets the distance to the plane at y.
  
  @param y the y plane
  @return the distance