![]() |
|
Public Member Functions | |
prismMatcher () | |
Construct. | |
~prismMatcher () | |
virtual label | nVertPerCell () const |
virtual label | nFacePerCell () const |
virtual label | nMaxVertPerFace () const |
virtual label | faceHashValue () const |
Hash value of all face sizes of this shape. Can be used for. | |
virtual bool | faceSizeMatch (const faceList &, const labelList &) const |
Check whether number of face sizes match the shape. | |
virtual bool | matchShape (const bool checkOnly, const faceList &faces, const labelList &faceOwner, const label cellI, const labelList &myFaces) |
Low level shape recognition. Return true if matches. | |
virtual bool | isA (const primitiveMesh &mesh, const label cellI) |
Exact match. Uses faceSizeMatch. | |
virtual bool | isA (const faceList &) |
Exact match given all the faces forming a cell. No checks. | |
virtual bool | matches (const primitiveMesh &mesh, const label cellI, cellShape &shape) |
Like isA but also constructs a cellShape (if shape matches). |
|
Construct.
|
|
|
|
Hash value of all face sizes of this shape. Can be used for. quick initial recognition. Implements cellMatcher. |
|
Check whether number of face sizes match the shape.
Implements cellMatcher. |
|
Exact match given all the faces forming a cell. No checks. on whether faces match up and form a closed shape. Implements cellMatcher. |
|
Exact match. Uses faceSizeMatch. Returns true if cell matches shape exactly. Implements cellMatcher. |
|
Like isA but also constructs a cellShape (if shape matches).
Implements cellMatcher. |
|
Low level shape recognition. Return true if matches. Works in detection mode only (checkOnly=true) or in exact matching. Returns true and sets vertLabels_. Needs faces, faceOwner of all faces in 'mesh' and cell number and labels of faces for this cell. cellI only used in combination with faceOwner to detect owner status. Implements cellMatcher. |
|
Implements cellMatcher. Definition at line 97 of file prismMatcher.H. |
|
Implements cellMatcher. Definition at line 102 of file prismMatcher.H. References Foam::faceList, Foam::label, and Foam::labelList. |
|
Implements cellMatcher. Definition at line 92 of file prismMatcher.H. |