24 xmin = std::min(xmin,V.
x());
25 ymin = std::min(ymin,V.
y());
26 zmin = std::min(zmin,V.
z());
27 xmax = std::max(xmax,V.
x());
28 ymax = std::max(ymax,V.
y());
29 zmax = std::max(zmax,V.
z());
35 std::random_device rd;
36 std::mt19937 gen(rd());
37 std::uniform_real_distribution<> disx(xmin,xmax);
38 std::uniform_real_distribution<> disy(ymin,ymax);
39 std::uniform_real_distribution<> disz(zmin,zmax);
40 return Vertex(disx(gen),disy(gen),disz(gen));
50 double xmin = std::numeric_limits<double>::max();
51 double ymin = std::numeric_limits<double>::max();
52 double zmin = std::numeric_limits<double>::max();
53 double xmax = -std::numeric_limits<double>::max();
54 double ymax = -std::numeric_limits<double>::max();
55 double zmax = -std::numeric_limits<double>::max();
An Oriented Mesh is a mesh associated with a boolean stating if it is well oriented.
void add(const Vertex &V)
void add(const Vertex *Vp)
Vertex random_point() const