Public Member Functions | List of all members
projectVertex Class Reference

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

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

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< blockVertexclone () const
 Clone function. More...
 
virtual ~blockVertex ()
 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 51 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 47 of file projectVertex.C.

References Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, and List< T >::size().

Here is the call graph for this function:

◆ ~projectVertex()

virtual ~projectVertex ( )
inlinevirtual

Destructor.

Definition at line 91 of file projectVertex.H.

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 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().

Here is the call graph for this function:

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