95 for (label i = 1; i <
size(); ++i)
97 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.
Standard boundBox with extra functionality for use in octree.
Triangle storage. Null constructable (unfortunately triangle<point, point> is not)
triPoints()
Default construct.
treeBoundBox bounds() const
Calculate the bounding box.
triPoints(const UList< point > &points, const FixedList< label, 3 > &indices)
Copy construct from subset of points.
triPoints(const point &a, const point &b, const point &c)
Construct from points.