Loading...
Searching...
No Matches
projectVertex Class Reference

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

#include <projectVertex.H>

Inheritance diagram for projectVertex:
Collaboration diagram for projectVertex:

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< blockVertexclone () const
 Clone function.
virtual ~blockVertex ()=default
 Destructor.

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

Detailed Description

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

Source files

Definition at line 50 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 41 of file projectVertex.C.

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

Here is the call graph for this function:

◆ ~projectVertex()

virtual ~projectVertex ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "project" )

Runtime type information.

References dict.

◆ operator point()

operator point ( ) const
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().

Here is the call graph for this function:

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