110 for (label i = 1; i <
size(); ++i)
112 bb.
add(
operator[](i));
A 1D vector of objects of type <T> with a fixed length <N>.
static constexpr label size() noexcept
Return the number of elements in the FixedList.
point & operator[](const label i)
Return element of FixedList.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void add(const boundBox &bb)
Extend to include the second box.
Tet storage. Null constructable (unfortunately tetrahedron<point, point> is not)
tetPoints(const UList< point > &points, const FixedList< label, 4 > &indices)
Copy construct from subset of points.
treeBoundBox bounds() const
Calculate the bounding box.
tetPointRef tet() const
Return the tetrahedron.
tetPoints()
Default construct.
tetPoints(const point &a, const point &b, const point &c, const point &d)
Construct from four points.
Standard boundBox with extra functionality for use in octree.
tetrahedron< point, const point & > tetPointRef
A tetrahedron using referred points.