Projects the vertex onto the selected surfacees of the geometry provided as a searchableSurfaces object. More...
#include <projectVertex.H>


Public Member Functions | |
| TypeName ("project") | |
| Runtime type information. | |
| projectVertex (const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is) | |
| Construct from Istream setting pointsList. | |
| virtual | ~projectVertex ()=default |
| Destructor. | |
| virtual | operator point () const |
| Project the given points onto the surface. | |
| Public Member Functions inherited from pointVertex | |
| TypeName ("point") | |
| Runtime type information. | |
| pointVertex (const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is) | |
| Construct from Istream setting pointsList. | |
| virtual | ~pointVertex ()=default |
| Destructor. | |
| Public Member Functions inherited from blockVertex | |
| TypeName ("blockVertex") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, blockVertex, Istream,(const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is),(dict, index, geometry, is)) | |
| blockVertex () noexcept=default | |
| Default construct. | |
| virtual autoPtr< blockVertex > | clone () const |
| Clone function. | |
| virtual | ~blockVertex ()=default |
| Destructor. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from blockVertex | |
| static autoPtr< blockVertex > | New (const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &) |
| New function which constructs and returns pointer to a blockVertex. | |
| static label | read (Istream &, const dictionary &) |
| Read vertex index with optional name lookup. | |
| static void | write (Ostream &, const label, const dictionary &) |
| Write vertex index with optional name backsubstitution. | |
| Protected Attributes inherited from pointVertex | |
| point | vertex_ |
| The vertex location. | |
Projects the vertex onto the selected surfacees of the geometry provided as a searchableSurfaces object.
Definition at line 50 of file projectVertex.H.
| projectVertex | ( | const dictionary & | dict, |
| const label | index, | ||
| const searchableSurfaces & | geometry, | ||
| Istream & | is ) |
Construct from Istream setting pointsList.
Definition at line 41 of file projectVertex.C.
References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, names, and pointVertex::pointVertex().

|
virtualdefault |
Destructor.
| TypeName | ( | "project" | ) |
Runtime type information.
References dict.
|
virtual |
Project the given points onto the surface.
Reimplemented from pointVertex.
Definition at line 70 of file projectVertex.C.
References searchableSurfacesQueries::bounds(), searchableSurfacesQueries::findNearest(), boundBox::magSqr(), boundBox::max(), Foam::max(), boundBox::min(), Foam::min(), and UList< T >::size().
