C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
mb_cube.h File Reference

The bounding box (cube) of a geometric object. More...

#include <mb_cart_point3d.h>
#include <io_base.h>
#include <mb_cube_tree.h>
#include <templ_s_array.h>
#include <utility>
#include <vector>

Classes

class  MbCube
 The bounding box. More...
 

Namespaces

 c3d
 C3D namespace declaration.
 

Typedefs

typedef std::pair< MbCube, size_t > c3d::CubeIndex
 Bounding box and index.
 
typedef std::pair< size_t, MbCubec3d::IndexCube
 Index and bounding box.
 
typedef std::pair< MbCube *, size_t > c3d::CubePtrIndex
 Bounding box and index.
 
typedef std::pair< size_t, MbCube * > c3d::IndexCubePtr
 Index and bounding box.
 
typedef std::pair< const MbCube *, size_t > c3d::ConstCubePtrIndex
 Bounding box and index.
 
typedef std::pair< size_t, const MbCube * > c3d::IndexConstCubePtr
 Index and bounding box.
 
typedef std::vector< CubePtrIndex > c3d::CubesPtrIndices
 Vector of bounding boxes and indices.
 
typedef std::vector< ConstCubePtrIndex > c3d::ConstCubesPtrIndices
 Vector of bounding boxes and indices.
 
typedef std::vector< MbCubec3d::CubesVector
 Vector of bounding boxes.
 
typedef std::vector< IndexCube > c3d::IndexCubeVector
 Vector of indices and bounding boxes.
 
typedef std::vector< CubeIndex > c3d::CubeIndexVector
 Vector of indices and bounding boxes.
 
typedef MbCubeTree< MbCube, MbCube, MbCartPoint3D, MbVector3Dc3d::CubesTree
 Tree of bounding boxes.
 

Variables

constexpr size_t CUBE_CONTROL_POINTS_COUNT = 26
 The number of control points of thebounding box.
 
constexpr size_t CUBE_VERTEX_COUNT = 8
 The number of the bounding box vertices.
 
constexpr size_t CUBE_EDGES_COUNT = 12
 The number of the bounding box edges.
 
constexpr size_t CUBE_FACES_COUNT = 6
 The number of the bounding box faces.
 

Detailed Description

The bounding box (cube) of a geometric object.