-// ========================================================= Constructeur bis
-inline Vertex::Vertex (Vertex* other)
- : EltBase (other->dad(), EL_VERTEX)
-{
- v_x = other->v_x;
- v_y = other->v_y;
- v_z = other->v_z;
- v_scalar = 0;
-}
-// ========================================================= dump
-inline void Vertex::dump ()
-{
- printName (" = ");
- if (NOT isHere ())
- {
- printf ("(*** deleted ***)\n");
- return;
- }
-
- printf ("(%g, %g, %g)", v_x,v_y,v_z);
- dumpRef ();
-}
-// ========================================================= setCoord
-inline void Vertex::setCoord (double x, double y, double z)
-{
- v_x = x;
- v_y = y;
- v_z = z;
-}
-// ========================================================= isin
-inline bool Vertex::isin (double xmin, double xmax, double ymin, double ymax,
- double zmin, double zmax)
-{
- bool rep = v_x >= xmin && v_x <= xmax
- && v_y >= ymin && v_y <= ymax
- && v_z >= zmin && v_z <= zmax;
- return rep;
-}