projectVertex Class Reference

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

Inheritance diagram for projectVertex:
[legend]
Collaboration diagram for projectVertex:
[legend]

Public Member Functions

 TypeName ("project")
 Runtime type information. More...
 
 projectVertex (const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is)
 Construct from Istream setting pointsList. More...
 
virtual ~projectVertex ()=default
 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 &dict, const label index, const searchableSurfaces &geometry, Istream &is)
 Construct from Istream setting pointsList. More...
 
virtual ~pointVertex ()=default
 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 () noexcept=default
 Default construct. More...
 
virtual autoPtr< blockVertexclone () const
 Clone function. More...
 
virtual ~blockVertex ()=default
 Destructor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from blockVertex
static autoPtr< blockVertexNew (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...
 

Detailed Description

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

Source files

Definition at line 54 of file projectVertex.H.

Constructor & Destructor Documentation

◆ projectVertex()

projectVertex ( const dictionary dict,
const label  index,
const searchableSurfaces geometry,
Istream is 
)

Construct from Istream setting pointsList.

Definition at line 49 of file projectVertex.C.

References Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, and Foam::PtrListOps::names().

Here is the call graph for this function:

◆ ~projectVertex()

virtual ~projectVertex ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "project"  )

Runtime type information.

◆ operator point()

operator point ( ) const
virtual

Project the given points onto the surface.

Reimplemented from pointVertex.

Definition at line 77 of file projectVertex.C.

References Foam::magSqr(), boundBox::max(), Foam::max(), boundBox::min(), Foam::min(), and boundBox::span().

Here is the call graph for this function:

The documentation for this class was generated from the following files: