Go to the documentation of this file.
26 #include "triSurface.H"
55 patchFaceI < myPatches[patchI].size();
61 const point& p1 = ps[operator[](faceI)[0]];
62 const point& p2 = ps[operator[](faceI)[1]];
63 const point& p3 = ps[operator[](faceI)[2]];
77 <<
"0x" <<
hex << operator[](faceI).region() <<
dec
86 const point& p1 = ps[operator[](faceI)[0]];
87 const point& p2 = ps[operator[](faceI)[1]];
88 const point& p3 = ps[operator[](faceI)[2]];
102 <<
"0x" <<
hex << operator[](faceI).region() <<
dec
vectorField pointField
pointField is a vectorField.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
const Field< point > & points() const
Return reference to global points.
List< label > labelList
A List of labels.
#define forAll(list, i)
Loop across all elements in list.
Ostream & endl(Ostream &os)
Add newline and flush stream.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
IOstream & dec(IOstream &io)
Istream and Ostream manipulators taking arguments.
IOstream & hex(IOstream &io)
surfacePatchList calcPatches(labelList &faceMap) const
Sort faces according to region. Returns patch list.
vector point
Point is a vector.
List< surfacePatch > surfacePatchList
void writeTRI(const bool writeSorted, Ostream &) const
Write to Ostream in TRI (AC3D) format.