Public Member Functions | Public Attributes | List of all members
Face Class Reference

Interface between two cells. More...

#include <Face.hpp>

Public Member Functions

 Face (vector< Vector3D > const &vert, size_t neighbor1, size_t neighbor2)
 Class constructor. More...
 
 Face (Face const &other)
 Copy constructor. More...
 
Faceoperator= (const Face &other)
 Copy operator. More...
 
double GetArea (void) const
 Returns the area of the face. More...
 

Public Attributes

std::vector< Vector3Dvertices
 Points at the ends of the edge.
 
std::pair< size_t, size_t > neighbors
 Neighboring cells.
 

Detailed Description

Interface between two cells.

Definition at line 15 of file Face.hpp.

Constructor & Destructor Documentation

◆ Face() [1/2]

Face::Face ( vector< Vector3D > const &  vert,
size_t  neighbor1,
size_t  neighbor2 
)

Class constructor.

Parameters
vertPosition of the vertices
neighbor1Index of first neighbor cell
neighbor2Index of second neighbor cell

Definition at line 5 of file Face.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Face() [2/2]

Face::Face ( Face const &  other)

Copy constructor.

Parameters
otherSource Face

Definition at line 20 of file Face.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ GetArea()

double Face::GetArea ( void  ) const

Returns the area of the face.

Returns
Length

Definition at line 24 of file Face.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

Face & Face::operator= ( const Face other)

Copy operator.

Parameters
otherSource from which to copy data
Returns
Reference to self

Definition at line 10 of file Face.cpp.


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