Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

dolfin::Face Class Reference

#include <Face.h>

Collaboration diagram for dolfin::Face:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Face ()
 Create an empty face.

 ~Face ()
 Destructor.

void clear ()
 Clear face data.

int id () const
 Return id of face.

unsigned int noEdges () const
 Return number of edges.

unsigned int noCellNeighbors () const
 Return number of cell neighbors.

Edgeedge (int i) const
 Return edge number i.

Cellcell (int i) const
 Return cell neighbor number i.

bool equals (const Edge &e0, const Edge &e1, const Edge &e2) const
 Check if face consists of the given edges.

bool equals (const Edge &e0, const Edge &e1) const
 Check if face consists of the given edges.


Friends

class MeshData
 Friends.

class MeshInit
class EdgeIterator::FaceEdgeIterator
LogStreamoperator<< (LogStream &stream, const Face &face)
 Display condensed face data.


Detailed Description

A Face consists of a list of edges.

A triangle has no faces. A face has three edges for a tetrahedron.


Constructor & Destructor Documentation

Face::Face  ) 
 

Create an empty face.

Face::~Face  ) 
 

Destructor.


Member Function Documentation

Cell & Face::cell int  i  )  const
 

Return cell neighbor number i.

void Face::clear  ) 
 

Clear face data.

Edge & Face::edge int  i  )  const
 

Return edge number i.

bool Face::equals const Edge e0,
const Edge e1
const
 

Check if face consists of the given edges.

bool Face::equals const Edge e0,
const Edge e1,
const Edge e2
const
 

Check if face consists of the given edges.

int Face::id  )  const
 

Return id of face.

unsigned int Face::noCellNeighbors  )  const
 

Return number of cell neighbors.

unsigned int Face::noEdges  )  const
 

Return number of edges.


Friends And Related Function Documentation

friend class EdgeIterator::FaceEdgeIterator [friend]
 

friend class MeshData [friend]
 

Friends.

friend class MeshInit [friend]
 

LogStream& operator<< LogStream stream,
const Face face
[friend]
 

Display condensed face data.


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


Documentation automatically generated with Doxygen on 10 Sep 2004.