Reference documentation for deal.II version GIT d77e5ebb0a 2023-01-27 22:35:02+00:00
bounding_box.h File Reference
#include <deal.II/base/config.h>
#include <deal.II/base/exceptions.h>
#include <deal.II/base/point.h>
#include <limits>

Go to the source code of this file.

Classes

class  BoundingBox< spacedim, Number >

class  BoundingBox< 0, Number >

internal

Enumerations

enum class  NeighborType { not_neighbors = 0 , simple_neighbors = 1 , attached_neighbors = 2 , mergeable_neighbors = 3 }

◆ NeighborType

 enum NeighborType
strong

The enumerator NeighborType describes the neighboring relation between two bounding boxes.

Enumerator
not_neighbors

Not neighbors: the intersection is empty.

simple_neighbors

Simple neighbors: the boxes intersect with an intersection of dimension at most spacedim - 2. For example, in 2d this means that the two rectangles touch at a single point, which must then be a vertex of each box. In 3d, this means that two boxes touch along an edge.

attached_neighbors

Attached neighbors: neighbors with an intersection of dimension > spacedim - 2. For example, in 2d this means that the two rectangles touch along (parts of) their edges. In 3d, it would mean that two boxes touch along (parts of) their faces.

mergeable_neighbors

Mergeable neighbors: neighbors which can be expressed with a single BoundingBox, e.g.

.--V--W .-----V
| | | = | |
V--W--. V-----.

or one is inside the other. This is a special case of attached_neighbors where the two bounding boxes touch along the entirety of their respective faces, or where they overlap in suitable ways.

Definition at line 33 of file bounding_box.h.