projectVertex Class Reference

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

Inheritance diagram for projectVertex:
Collaboration diagram for projectVertex:

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...
 
 projectVertex (const projectVertex &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~projectVertex ()
 Destructor. More...
 
virtual operator point () const
 Project the given points onto the surface. More...
 
void operator= (const projectVertex &)=delete
 Disallow default bitwise assignment. 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 surfaces of the geometry provided as a searchableSurfaces object.

Source files

Definition at line 51 of file projectVertex.H.

Constructor & Destructor Documentation

◆ projectVertex() [1/2]

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

Construct from Istream setting pointsList.

Definition at line 45 of file projectVertex.C.

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

Here is the call graph for this function:

◆ projectVertex() [2/2]

projectVertex ( const projectVertex )
delete

Disallow default bitwise copy construction.

◆ ~projectVertex()

virtual ~projectVertex ( )
inlinevirtual

Destructor.

Definition at line 85 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 74 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:

◆ operator=()

void operator= ( const projectVertex )
delete

Disallow default bitwise assignment.


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