Public Member Functions | List of all members
projectEdge Class Reference

Defines the edge from the projection onto a surface (single surface) or intersection of two surfaces. More...

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

Public Member Functions

 TypeName ("project")
 
 projectEdge (const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &points, Istream &is)
 
virtual ~projectEdge ()=default
 
virtual point position (const scalar) const
 
virtual tmp< pointFieldposition (const scalarList &) const
 
virtual scalar length () const
 
- Public Member Functions inherited from blockEdge
 TypeName ("blockEdge")
 
 declareRunTimeSelectionTable (autoPtr, blockEdge, Istream,(const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &points, Istream &is),(dict, index, geometry, points, is))
 
 blockEdge (const pointField &points, const edge &fromTo)
 
 blockEdge (const dictionary &dict, const label index, const pointField &points, Istream &is)
 
virtual autoPtr< blockEdgeclone () const
 
virtual ~blockEdge ()=default
 
bool valid () const noexcept
 
label start () const noexcept
 
label end () const noexcept
 
const pointfirstPoint () const
 
const pointlastPoint () const
 
int compare (const blockEdge &e) const
 
int compare (const edge &e) const
 
int compare (const label start, const label end) const
 
point linearPosition (const scalar lambda) const
 
void write (Ostream &os, const dictionary &dict) const
 

Additional Inherited Members

- Static Public Member Functions inherited from blockEdge
static autoPtr< blockEdgeNew (const dictionary &dict, const label index, const searchableSurfaces &geometry, const pointField &points, Istream &is)
 
- Protected Member Functions inherited from blockEdge
 blockEdge (const pointField &points, const label from, const label to)
 
- Static Protected Member Functions inherited from blockEdge
static pointField appendEndPoints (const pointField &p, const label from, const label to, const pointField &intermediate)
 
- Protected Attributes inherited from blockEdge
const pointFieldpoints_
 
const label start_
 
const label end_
 

Detailed Description

Defines the edge from the projection onto a surface (single surface) or intersection of two surfaces.

Source files

Definition at line 54 of file projectEdge.H.

Constructor & Destructor Documentation

◆ projectEdge()

projectEdge ( const dictionary dict,
const label  index,
const searchableSurfaces geometry,
const pointField points,
Istream is 
)
Parameters
pointsReferenced point field

Definition at line 79 of file projectEdge.C.

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

Here is the call graph for this function:

◆ ~projectEdge()

virtual ~projectEdge ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "project"  )

◆ position() [1/2]

Foam::point position ( const scalar  lambda) const
virtual

Implements blockEdge.

Definition at line 108 of file projectEdge.C.

References lambda(), and blockEdge::linearPosition().

Here is the call graph for this function:

◆ position() [2/2]

Foam::tmp< Foam::pointField > position ( const scalarList lambdas) const
virtual

◆ length()

Foam::scalar length ( ) const
virtual

Implements blockEdge.

Definition at line 266 of file projectEdge.C.

References NotImplemented.


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