An enumeration wrapper for classification of a location as being inside/outside of a volume. More...
#include <volumeType.H>

Public Types | |
| enum | type : char { UNKNOWN = 0 , INSIDE = 0x1 , OUTSIDE = 0x2 , MIXED = 0x3 } |
| Volume classification types. More... | |
Public Member Functions | |
| constexpr | volumeType () noexcept |
Default construct as UNKNOWN state. | |
| volumeType (type t) noexcept | |
| Implicit construct from enumeration. | |
| volumeType (const word &key, const dictionary &dict, const type deflt) | |
| Construct as getOrDefault by name from dictionary. | |
| volumeType (const int t) | |
| Construct from integer. | |
| operator type () const noexcept | |
| Implicit cast to the enumeration. | |
| const word & | str () const |
| The string representation of the volume type enumeration. | |
Static Public Attributes | |
| static const Enum< volumeType::type > | names |
| Names for the classification enumeration. | |
Friends | |
| Istream & | operator>> (Istream &is, volumeType &vt) |
| Ostream & | operator<< (Ostream &os, const volumeType &vt) |
An enumeration wrapper for classification of a location as being inside/outside of a volume.
Definition at line 55 of file volumeType.H.
| enum type : char |
Volume classification types.
| Enumerator | |
|---|---|
| UNKNOWN | Unknown state. |
| INSIDE | A location inside the volume. |
| OUTSIDE | A location outside the volume. |
| MIXED | A location that is partly inside and outside. |
Definition at line 62 of file volumeType.H.
|
inlineconstexprnoexcept |
Default construct as UNKNOWN state.
Definition at line 95 of file volumeType.H.
References Foam::noexcept, and UNKNOWN.
Referenced by operator<<, operator>>, and volumeType().

|
inlinenoexcept |
Implicit construct from enumeration.
Definition at line 103 of file volumeType.H.
References Foam::noexcept.
| volumeType | ( | const word & | key, |
| const dictionary & | dict, | ||
| const type | deflt ) |
Construct as getOrDefault by name from dictionary.
Definition at line 42 of file volumeType.C.
|
inlineexplicit |
Construct from integer.
Definition at line 116 of file volumeType.H.
References volumeType().

|
inlinenoexcept |
Implicit cast to the enumeration.
Definition at line 127 of file volumeType.H.
References Foam::noexcept.
| const Foam::word & str | ( | ) | const |
The string representation of the volume type enumeration.
Definition at line 55 of file volumeType.C.
References names.
Referenced by refinementSurfaces::refinementSurfaces(), and searchableSurfacesQueries::signedDistance().

|
friend |
References volumeType().
|
friend |
References os(), and volumeType().
|
static |
Names for the classification enumeration.
Definition at line 75 of file volumeType.H.
Referenced by distributedTriSurfaceMesh::flip(), triSurfaceMesh::flip(), distributedTriSurfaceMesh::getVolumeType(), volumeCombineOp::operator()(), triSurfaceMesh::outsideVolumeType(), str(), volumeType(), and distributedTriSurfaceMesh::writeStats().