|
| labelledTri () |
| Construct null with invalid point labels and region (-1). More...
|
|
| labelledTri (const triFace &, const label region=0) |
| Construct from triFace and region label. More...
|
|
| labelledTri (const label a, const label b, const label c, const label region=0) |
| Construct from three point labels and a region label. More...
|
|
| labelledTri (const labelUList &) |
| Construct from a list of 3 or 4 labels. More...
|
|
| labelledTri (std::initializer_list< label >) |
| Construct from an initializer list of 3 or 4 labels. More...
|
|
| labelledTri (Istream &) |
| Construct from Istream. More...
|
|
label | region () const |
| Return region label. More...
|
|
label & | region () |
| Return region label. More...
|
|
| triFace () |
| Construct null with invalid point labels (-1) More...
|
|
| triFace (const label a, const label b, const label c) |
| Construct from three point labels. More...
|
|
| triFace (std::initializer_list< label > list) |
| Construct from an initializer list of three point labels. More...
|
|
| triFace (const labelUList &list) |
| Copy construct from a list of three point labels. More...
|
|
| triFace (const labelUList &list, const FixedList< label, 3 > &indices) |
| Copy construct from a subset of the input. More...
|
|
| triFace (Istream &is) |
| Construct from Istream. More...
|
|
label | collapse () |
| 'Collapse' face by marking duplicate point labels. More...
|
|
void | flip () |
| Flip the face in-place. More...
|
|
pointField | points (const UList< point > &points) const |
| Return the points corresponding to this face. More...
|
|
face | triFaceFace () const |
| Return triangle as a face. More...
|
|
triPointRef | tri (const UList< point > &points) const |
| Return the triangle. More...
|
|
point | centre (const UList< point > &points) const |
| Return centre (centroid) More...
|
|
template<class Type > |
Type | average (const UList< point > &unused, const Field< Type > &fld) const |
| Calculate average value at centroid of face. More...
|
|
vector | areaNormal (const UList< point > &points) const |
| The area normal - with magnitude equal to area of face. More...
|
|
vector | unitNormal (const UList< point > &points) const |
| The unit normal. More...
|
|
| FOAM_DEPRECATED_FOR (2018-12, "areaNormal() or unitNormal()") vector normal(const UList< point > &points) const |
| Legacy name for areaNormal() More...
|
|
scalar | mag (const UList< point > &points) const |
| Magnitude of face area. More...
|
|
label | nTriangles () const |
| Number of triangles after splitting. More...
|
|
triFace | reverseFace () const |
| Return face with reverse direction. More...
|
|
bool | found (const label pointLabel) const |
| Return true if the point label is found in face. More...
|
|
label | which (const label pointLabel) const |
| Find local index on face for the point label. More...
|
|
scalar | sweptVol (const UList< point > &opts, const UList< point > &npts) const |
| Return swept-volume from old-points to new-points. More...
|
|
tensor | inertia (const UList< point > &points, const point &refPt=vector::zero, scalar density=1.0) const |
| Return the inertia tensor, with optional reference. More...
|
|
pointHit | ray (const point &p, const vector &q, const UList< point > &points, const intersection::algorithm=intersection::FULL_RAY, const intersection::direction dir=intersection::VECTOR) const |
| Return point intersection with a ray starting at p, in direction q. More...
|
|
pointHit | intersection (const point &p, const vector &q, const UList< point > &points, const intersection::algorithm alg, const scalar tol=0.0) const |
| Fast intersection with a ray. More...
|
|
pointHit | intersection (const point &p, const vector &q, const point &ctr, const UList< point > &points, const intersection::algorithm alg, const scalar tol=0.0) const |
|
pointHit | nearestPoint (const point &p, const UList< point > &points) const |
| Return nearest point to face. More...
|
|
pointHit | nearestPointClassify (const point &p, const UList< point > &points, label &nearType, label &nearLabel) const |
| Return nearest point to face and classify it: More...
|
|
int | sign (const point &p, const UList< point > &points, const scalar tol=SMALL) const |
| The sign for which side of the face plane the point is on. More...
|
|
label | nEdges () const |
| Return number of edges. More...
|
|
edgeList | edges () const |
| Return edges in face point ordering,. More...
|
|
edge | faceEdge (const label n) const |
| Return n-th face edge. More...
|
|
int | edgeDirection (const edge &e) const |
| Return the edge direction on the face. More...
|
|
unsigned | hashval (unsigned seed=0) const |
| The (commutative) hash-value for triFace. More...
|
|
void | writeEntry (const word &keyword, Ostream &os) const |
| Write the list as a dictionary entry with keyword. More...
|
|
| FixedList ()=default |
| Default construct. More...
|
|
| FixedList (const label &val) |
| Construct and initialize all entries to given value. More...
|
|
| FixedList (const zero) |
| Construct and initialize all entries to zero. More...
|
|
| FixedList (const label list[N]) |
| Copy construct from C-array. More...
|
|
| FixedList (const FixedList< label, N > &list) |
| Copy construct. More...
|
|
| FixedList (FixedList< label, N > &&list) |
|
| FixedList (InputIterator begIter, InputIterator endIter) |
| Construct given begin/end iterators. More...
|
|
| FixedList (std::initializer_list< label > list) |
| Construct from an initializer list. More...
|
|
| FixedList (const UList< label > &list) |
| Construct from UList. More...
|
|
| FixedList (const UList< label > &list, const FixedList< label, N > &indices) |
| Copy construct from a subset of the input. More...
|
|
| FixedList (const SLList< label > &list) |
| Construct from SLList. More...
|
|
| FixedList (Istream &is) |
| Construct from Istream. More...
|
|
autoPtr< FixedList< label, N > > | clone () const |
| Clone. More...
|
|
const label * | cdata () const noexcept |
| Return a const pointer to the first data element. More...
|
|
label * | data () noexcept |
| Return a pointer to the first data element. More...
|
|
label & | first () noexcept |
| The first element of the list, position [0]. More...
|
|
const label & | first () const noexcept |
| The first element of the list, position [0]. More...
|
|
label & | last () noexcept |
| The last element of the list, position [N-1]. More...
|
|
const label & | last () const noexcept |
| The last element of the list, position [N-1]. More...
|
|
label | fcIndex (const label i) const |
|
const label & | fcValue (const label i) const |
| Return forward circular value (ie, next value in the list) More...
|
|
label & | fcValue (const label i) |
| Return forward circular value (ie, next value in the list) More...
|
|
label | rcIndex (const label i) const |
|
const label & | rcValue (const label i) const |
| Return reverse circular value (ie, previous value in the list) More...
|
|
label & | rcValue (const label i) |
| Return reverse circular value (ie, previous value in the list) More...
|
|
void | checkStart (const label start) const |
| Check start is within valid range [0,size) More...
|
|
void | checkSize (const label size) const |
| Check size is identical to template parameter N. More...
|
|
void | checkIndex (const label i) const |
| Check index is within valid range [0,N) More...
|
|
bool | uniform () const |
| True if all entries have identical values, and list is non-empty. More...
|
|
label | find (const label &val, label pos=0) const |
| Find index of the first occurrence of the value. More...
|
|
label | rfind (const label &val, label pos=-1) const |
| Find index of the last occurrence of the value. More...
|
|
bool | found (const label &val, label pos=0) const |
| True if the value if found in the list. More...
|
|
void | resize (const label n) |
| Dummy resize function, to make FixedList consistent with List. More...
|
|
void | setSize (const label n) |
| Dummy setSize function, to make FixedList consistent with List. More...
|
|
void | moveFirst (const label i) |
| Move element to the first position. More...
|
|
void | moveLast (const label i) |
| Move element to the last position. More...
|
|
void | swapFirst (const label i) |
| Swap element with the first element. More...
|
|
void | swapLast (const label i) |
| Swap element with the last element. More...
|
|
void | transfer (FixedList< label, N > &list) |
|
label & | operator[] (const label i) |
| Return element of FixedList. More...
|
|
const label & | operator[] (const label i) const |
| Return element of constant FixedList. More...
|
|
void | operator= (const label list[N]) |
| Assignment to array operator. Takes linear time. More...
|
|
void | operator= (const UList< label > &list) |
| Assignment to UList operator. Takes linear time. More...
|
|
void | operator= (const SLList< label > &list) |
| Assignment to SLList operator. Takes linear time. More...
|
|
void | operator= (std::initializer_list< label > list) |
| Assignment to an initializer list. Takes linear time. More...
|
|
void | operator= (const label &val) |
| Assignment of all entries to the given value. More...
|
|
void | operator= (const FixedList< label, N > &list) |
| Copy assignment. More...
|
|
void | operator= (FixedList< label, N > &&list) |
| Move assignment. More...
|
|
iterator | begin () |
| Return an iterator to begin traversing the FixedList. More...
|
|
const_iterator | begin () const |
| Return const_iterator to begin traversing the constant FixedList. More...
|
|
iterator | end () |
| Return an iterator to end traversing the FixedList. More...
|
|
const_iterator | end () const |
| Return const_iterator to end traversing the constant FixedList. More...
|
|
const_iterator | cbegin () const |
| Return const_iterator to begin traversing the constant FixedList. More...
|
|
const_iterator | cend () const |
| Return const_iterator to end traversing the constant FixedList. More...
|
|
reverse_iterator | rbegin () |
| Return reverse_iterator to begin reverse traversing the FixedList. More...
|
|
const_reverse_iterator | rbegin () const |
| Return const_reverse_iterator to begin reverse traversing FixedList. More...
|
|
reverse_iterator | rend () |
| Return reverse_iterator to end reverse traversing the FixedList. More...
|
|
const_reverse_iterator | rend () const |
| Return const_reverse_iterator to end reverse traversing FixedList. More...
|
|
const_reverse_iterator | crbegin () const |
| Return const_reverse_iterator to begin reverse traversing FixedList. More...
|
|
const_reverse_iterator | crend () const |
| Return const_reverse_iterator to end reverse traversing FixedList. More...
|
|
void | swap (FixedList< label, N > &list) |
| Swap lists by swapping the content of the individual list elements. More...
|
|
bool | operator== (const FixedList< label, N > &list) const |
| Equality operation on FixedLists of the same type. More...
|
|
bool | operator!= (const FixedList< label, N > &list) const |
| The opposite of the equality operation. Takes linear time. More...
|
|
bool | operator< (const FixedList< label, N > &list) const |
| Compare two FixedLists lexicographically. Takes linear time. More...
|
|
bool | operator> (const FixedList< label, N > &list) const |
| Compare two FixedLists lexicographically. Takes linear time. More...
|
|
bool | operator<= (const FixedList< label, N > &list) const |
| Return true if !(a > b). Takes linear time. More...
|
|
bool | operator>= (const FixedList< label, N > &list) const |
| Return true if !(a < b). Takes linear time. More...
|
|
Ostream & | writeList (Ostream &os, const label shortLen=0) const |
| Write List, with line-breaks in ASCII when length exceeds shortLen. More...
|
|