namedVertex Class Reference

Gives name to a vertex. More...

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

Public Member Functions

 TypeName ("name")
 Runtime type information. More...
 
 namedVertex (const dictionary &dict, const label index, const searchableSurfaces &geometry, Istream &is)
 Construct from Istream setting pointsList. More...
 
virtual ~namedVertex ()=default
 Destructor. More...
 
virtual operator point () const
 
- 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...
 
virtual operator point () const =0
 

Protected Attributes

word name_
 The dictionary variable name for the vertex number. More...
 
autoPtr< blockVertexvertexPtr_
 The vertex location. 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...
 

Detailed Description

Gives name to a vertex.

Source files

Definition at line 53 of file namedVertex.H.

Constructor & Destructor Documentation

◆ namedVertex()

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

Construct from Istream setting pointsList.

Definition at line 45 of file namedVertex.C.

References dictionary::add(), dict, dictionary::findDict(), namedVertex::name_, and Foam::New().

Here is the call graph for this function:

◆ ~namedVertex()

virtual ~namedVertex ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "name"  )

Runtime type information.

◆ operator point()

operator point ( ) const
virtual

Implements blockVertex.

Definition at line 74 of file namedVertex.C.

Member Data Documentation

◆ name_

word name_
protected

The dictionary variable name for the vertex number.

Definition at line 62 of file namedVertex.H.

Referenced by namedVertex::namedVertex().

◆ vertexPtr_

autoPtr<blockVertex> vertexPtr_
protected

The vertex location.

Definition at line 65 of file namedVertex.H.


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