37 inline bool surfAndLabel::less::operator()
39 const surfAndLabel& one,
40 const surfAndLabel& two
43 const triSurface& surf = *one.surfPtr_;
44 return surf[one.index_].region() < surf[two.index_].region();
#define forAll(list, i)
Loop across all elements in list.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label size() const
Return the number of elements in the UList.
void setSize(const label)
Reset size of List.
T & operator[](const label)
Return element of UList.
sortLabelledTri(const triSurface &)
Construct from surface, sorting the faces according to patch.
labelList indices() const
Return the list of sorted point indices.
Triangulated surface description with patch information.
static bool less(const vector &x, const vector &y)
To compare normals.