Go to the documentation of this file.
75 const label len =
points.size();
83 for (
const label pointi : indices)
85 if (pointi >= 0 && pointi < len)
93 template<
class IntContainer>
97 const IntContainer& indices
100 const label len =
points.size();
108 for (
const label pointi : indices)
110 if (pointi >= 0 && pointi < len)
125 const label len =
points.size();
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
154 const label len =
points.size();
161 for (
const label pointi : indices)
163 if (pointi >= 0 && pointi < len)
165 if (!contains(
points[pointi]))
183 const label len =
points.size();
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
216 const label len =
points.size();
225 for (
const label pointi : indices)
227 if (pointi >= 0 && pointi < len)
229 if (contains(
points[pointi]))
bool containsAny(const UList< point > &points) const
Contains any of the points? (inside or on edge)
boundBox()
Construct without any points - an inverted bounding box.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
reduce(hasMovingMesh, orOp< bool >())
bool contains(const point &pt) const
Contains point? (inside or on edge)
A 1D vector of objects of type <T> with a fixed length <N>.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A bounding box defined in terms of min/max extrema points.
void add(const boundBox &bb)
Extend to include the second box.