Mesh_3_demo: Add a struct Point_ in Scene_interface (which does not depend on CGAL kernel).

This commit is contained in:
Stéphane Tayeb 2010-05-21 16:09:35 +00:00
parent 0ea97af230
commit aee6dce7ad
1 changed files with 12 additions and 0 deletions

View File

@ -55,6 +55,18 @@ public:
}; // struct BBox (ad hoc class, does not depend on CGAL kernels
struct Point_ {
Point_() : x_(0.0), y_(0.0), z_(0.0) {}
Point_(double x, double y, double z) : x_(x), y_(y), z_(z) {}
double x() const { return x_; }
double y() const { return y_; }
double z() const { return z_; }
private:
double x_,y_,z_;
}; // struct Point_ (ad hoc class, does not depend on CGAL kernels
typedef int Item_id;
virtual ~Scene_interface() {};