public MBB3D getMBB() { // Dag
		if (size() > 0) {
			Iterator<Point3D> it = this.iterator();
			it.hasNext();
			Point3D p = it.next();

			double xMin = p.getX();
			double yMin = p.getY();
			double zMin = p.getZ();
			double xMax = xMin;
			double yMax = yMin;
			double zMax = zMin;

			double value;
			while (it.hasNext()) {
				p = it.next();
				value = p.getX();
				if (xMin > value)
					xMin = value;
				else if (xMax < value)
					xMax = value;

				value = p.getY();
				if (yMin > value)
					yMin = value;
				else if (yMax < value)
					yMax = value;

				value = p.getZ();
				if (zMin > value)
					zMin = value;
				else if (zMax < value)
					zMax = value;
			}
			Point3D pMin = new Point3D(xMin, yMin, zMin);
			Point3D pMax = new Point3D(xMax, yMax, zMax);
			return new MBB3D(pMin, pMax);
		}
		return null;
	}