Projects the vertex onto the selected surfacees of the geometry provided as a searchableSurfaces object. More...


Public Member Functions | |
| TypeName ("project") | |
| Runtime type information. More... | |
| projectVertex (const dictionary &, const label index, const searchableSurfaces &geometry, Istream &) | |
| Construct from Istream setting pointsList. More... | |
| virtual | ~projectVertex () |
| Destructor. More... | |
| virtual | operator point () const |
| Project the given points onto the surface. More... | |
Public Member Functions inherited from pointVertex | |
| TypeName ("point") | |
| Runtime type information. More... | |
| pointVertex (const dictionary &, const label index, const searchableSurfaces &geometry, Istream &) | |
| Construct from Istream setting pointsList. More... | |
| virtual | ~pointVertex () |
| Destructor. More... | |
Public Member Functions inherited from blockVertex | |
| TypeName ("blockVertex") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, blockVertex, Istream,(const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is),(dict, index, geometry, is)) | |
| blockVertex () | |
| Construct null. More... | |
| virtual autoPtr< blockVertex > | clone () const |
| Clone function. More... | |
| virtual | ~blockVertex () |
| Destructor. More... | |
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. More... | |
| static label | read (Istream &, const dictionary &) |
| Read vertex index with optional name lookup. More... | |
| static void | write (Ostream &, const label, const dictionary &) |
| Write vertex index with optional name backsubstitution. More... | |
Protected Attributes inherited from pointVertex | |
| point | vertex_ |
| The vertex location. More... | |
Projects the vertex onto the selected surfacees of the geometry provided as a searchableSurfaces object.
Definition at line 51 of file projectVertex.H.
| projectVertex | ( | const dictionary & | dict, |
| const label | index, | ||
| const searchableSurfaces & | geometry, | ||
| Istream & | is | ||
| ) |
Construct from Istream setting pointsList.
Definition at line 47 of file projectVertex.C.
References Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, and List< T >::size().

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

1.8.13