Go to the documentation of this file.
30 #include "triSurface.H"
44 containedElementsLabel_(-1),
45 containedEdgesLabel_(-1)
51 activeSlotPtr_(moc.activeSlotPtr_),
52 subCubesPtr_(moc.subCubesPtr_),
53 cubeLabel_(moc.cubeLabel_),
54 containedElementsLabel_(moc.containedElementsLabel_),
55 containedEdgesLabel_(moc.containedEdgesLabel_)
label containedEdges() const
label cubeLabel() const
position of the cube in the list of leaves
bool hasContainedElements() const
return true if the box contains some triangles
meshOctreeCube * subCube(const label) const
return a pointer to a child cubes at given position
label containedElementsLabel_
label of the row which contains elements contained in the cube
const meshOctreeCubeCoordinates & coordinates() const
return coordinates in the octree
bool hasContainedEdges() const
returns true if the box contains some edges
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label cubeLabel_
position of the cube in the list of leaves
meshOctreeCube ** subCubesPtr_
pointer to the first child element
bool isLeaf() const
check if the cube is a leaf
void operator=(const meshOctreeCube &)
assignment
PtrList< coordinateSystem > coordinates(solidRegions.size())
const meshOctreeSlot * slotPtr() const
return the pointer to the slot containing the cube
label containedEdgesLabel_
labels of contained surface edges
meshOctreeCube()
Default constructor.
meshOctreeSlot * activeSlotPtr_
pointer the slot containing this cube
label containedElements() const