71 const UList<point>&
points,
72 const FixedList<label, N>& indices
83 for (
const label pointi : indices)
85 if (pointi >= 0 && pointi < len)
93 template<
class IntContainer>
96 const UList<point>&
points,
97 const IntContainer& indices
108 for (
const label pointi : indices)
110 if (pointi >= 0 && pointi < len)
121 const UList<point>&
points,
122 const FixedList<label, N>& indices
132 for (
const label pointi : indices)
134 if (pointi >= 0 && pointi < len)
136 if (!contains(
points[pointi]))
147 template<
class IntContainer>
151 const IntContainer& indices
161 for (
const label pointi : indices)
163 if (pointi >= 0 && pointi < len)
165 if (!contains(
points[pointi]))
192 for (
const label pointi : indices)
194 if (pointi >= 0 && pointi < len)
196 if (contains(
points[pointi]))
209 template<
class IntContainer>
213 const IntContainer& indices
225 for (
const label pointi : indices)
227 if (pointi >= 0 && pointi < len)
229 if (contains(
points[pointi]))
boundBox()
Default construct: an inverted bounding box.
void size(const label n)
Older name for setAddressableSize.
A 1D vector of objects of type <T> with a fixed length <N>.
bool contains(const point &pt) const
Contains point? (inside or on edge)
A bounding box defined in terms of min/max extrema points.
void add(const boundBox &bb)
Extend to include the second box.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void reduce()
Inplace parallel reduction of min/max values.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
bool containsAny(const UList< point > &points) const
Contains any of the points? (inside or on edge)
tmp< pointField > points() const
Corner points in an order corresponding to a 'hex' cell.