ivutils
Loading...
Searching...
No Matches
Box (Box)

Box is a rectangular n-dimensional parallelepiped whose edges are directed along the coordinate axes.

Important members and methods of the class:

  • this->init(Vector_3 x1, Vector_3 x2) - constructor, builds a rectangular parallelepiped at two opposite corners.

Example

Box box(Vector_3(0), Vector_3(1)); // create a parallelepiped built at two opposite corners.