54 #include <CGAL/basic.h>
55 #endif // CGAL_BASIC_H
56 #ifndef CGAL_CARTESIAN_CLASSES_H
58 #endif // CGAL_CARTESIAN_CLASSES_H
65 class Bbox_3 :
public Handle_for< Sixtuple<double> >
69 Bbox_3(
double x_min,
double y_min,
double zmin,
70 double x_max,
double y_max,
double z_max);
88 double x_max,
double y_max,
double z_max)
143 #ifndef NO_OSTREAM_INSERT_BBOX_3
151 return os << b.
xmin() <<
' ' << b.
ymin() <<
' ' << b.
zmin();
161 os <<
"Bbox_3((" << b.
xmin()
163 <<
", " << b.
zmin() <<
"), (";
166 <<
", " << b.
zmax() <<
"))";
170 #endif // NO_OSTREAM_INSERT_BBOX_3
174 #ifndef NO_ISTREAM_EXTRACT_BBOX_3
179 double xmin, ymin, zmin, xmax, ymax, zmax;
184 is >> xmin >> ymin >> xmax >> ymax;
195 b =
Bbox_3(xmin, ymin, zmin, xmax, ymax, zmax);
199 #endif // NO_ISTREAM_EXTRACT_BBOX_3
205 #endif // CGAL_BBOX_3_H
Vector_n max(const Array_n_const &v1, const Array_n_const &v2)
void write(std::ostream &os, const T &t, const io_Read_write &)
Vector_n min(const Array_n_const &v1, const Array_n_const &v2)
bool do_overlap(const Bbox_2 &bb1, const Bbox_2 &bb2)
void read(std::istream &is, T &t, const io_Read_write &)
#define CGAL_BEGIN_NAMESPACE
std::ostream & operator<<(std::ostream &os, const COM_exception &ex)
Print out a given exception.
#define CGAL_END_NAMESPACE
Bbox_3 operator+(const Bbox_3 &b) const