Go to Overview over all GrAL packages.
Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Cell2D Class Reference

#include <cell2d.h>

Inheritance diagram for Cell2D:

Inheritance graph
[legend]
Collaboration diagram for Cell2D:

Collaboration graph
[legend]
List of all members.

Public Types

typedef CellNeighbourIterator NeighbourIterator
typedef EdgeOnCell2D_Iterator EdgeOnCellIterator
typedef VertexOnCellIterator VertexIterator
typedef EdgeOnCellIterator EdgeIterator
typedef FacetOnCellIterator FacetIterator
typedef Cell2D self

Public Methods

 Cell2D ()
 Cell2D (Complex2D const &cc)
 Cell2D (Complex2D const &cc, cell_handle pos)
 ~Cell2D ()
VertexOnCellIterator FirstVertex () const
VertexOnCellIterator EndVertex () const
EdgeOnCellIterator FirstEdge () const
EdgeOnCellIterator EndEdge () const
FacetOnCellIterator FirstFacet () const
FacetOnCellIterator EndFacet () const
NeighbourIterator FirstNeighbour () const
NeighbourIterator EndNeighbour () const
NeighbourIterator FirstCell () const
NeighbourIterator EndCell () const
Vertex V (int i) const
Edge E (int i) const
Edge F (int i) const
int NumOfVertices () const
int NumOfEdges () const
int NumOfFacets () const
int NumOfNeighbours () const
void FlipEdge (const Vertex &v, Edge &e) const
Edge FlippedEdge (Vertex const &v, Edge const &e) const
Complex const & TheGrid () const
cell_handle handle () const
bool is_valid () const
bool valid () const
int find_local_facet (const Cell &Nb) const
vertex_handle vertex (unsigned side, const EdgeOnCellIterator &nb) const

Public Attributes

cell_handle _pos

Friends

class VertexOnCell2D_Iterator
class EdgeOnCell2D_Iterator
class CellOnCell2D_Iterator
class Vertex2D
class Edge2D
class Complex2D
bool operator< (const self &s1, const self &s2)
bool operator== (const self &s1, const self &s2)
bool operator!= (const self &lhs, const self &rhs)
ostream & operator<< (ostream &out, self const &rs)

Member Typedef Documentation

typedef CellNeighbourIterator Cell2D::NeighbourIterator
 

Definition at line 18 of file cell2d.h.

typedef EdgeOnCell2D_Iterator Cell2D::EdgeOnCellIterator
 

Reimplemented from complex2d_types.

Definition at line 19 of file cell2d.h.

Referenced by E, EndEdge, and FirstEdge.

typedef VertexOnCellIterator Cell2D::VertexIterator
 

Definition at line 21 of file cell2d.h.

typedef EdgeOnCellIterator Cell2D::EdgeIterator
 

Definition at line 22 of file cell2d.h.

typedef FacetOnCellIterator Cell2D::FacetIterator
 

Definition at line 23 of file cell2d.h.

typedef Cell2D Cell2D::self
 

Definition at line 24 of file cell2d.h.


Constructor & Destructor Documentation

Cell2D::Cell2D   [inline]
 

Definition at line 27 of file cell2d.h.

References _pos.

Cell2D::Cell2D Complex2D const &    cc [inline, explicit]
 

Definition at line 10 of file cell2d.C.

References Complex2D::FirstCell.

Cell2D::Cell2D Complex2D const &    cc,
cell_handle    pos
[inline]
 

Definition at line 29 of file cell2d.h.

References _pos, and complex2d_types::cell_handle.

Cell2D::~Cell2D   [inline]
 

Definition at line 32 of file cell2d.h.


Member Function Documentation

VertexOnCell2D_Iterator Cell2D::FirstVertex   const [inline]
 

Definition at line 22 of file cell2d.C.

References complex2d_types::VertexOnCellIterator.

VertexOnCell2D_Iterator Cell2D::EndVertex   const [inline]
 

Definition at line 24 of file cell2d.C.

References NumOfVertices, and complex2d_types::VertexOnCellIterator.

EdgeOnCell2D_Iterator Cell2D::FirstEdge   const [inline]
 

Definition at line 27 of file cell2d.C.

References EdgeOnCellIterator.

Referenced by FirstFacet.

EdgeOnCell2D_Iterator Cell2D::EndEdge   const [inline]
 

Definition at line 29 of file cell2d.C.

References EdgeOnCellIterator, and NumOfEdges.

EdgeOnCell2D_Iterator Cell2D::FirstFacet   const [inline]
 

Definition at line 32 of file cell2d.C.

References FirstEdge.

EdgeOnCell2D_Iterator Cell2D::EndFacet   const [inline]
 

Definition at line 33 of file cell2d.C.

CellOnCell2D_Iterator Cell2D::FirstNeighbour   const [inline]
 

Definition at line 36 of file cell2d.C.

References complex2d_types::CellNeighbourIterator.

CellOnCell2D_Iterator Cell2D::EndNeighbour   const [inline]
 

Definition at line 39 of file cell2d.C.

References complex2d_types::CellNeighbourIterator, and NumOfFacets.

CellOnCell2D_Iterator Cell2D::FirstCell   const [inline]
 

Definition at line 46 of file cell2d.C.

CellOnCell2D_Iterator Cell2D::EndCell   const [inline]
 

Definition at line 47 of file cell2d.C.

Vertex2D Cell2D::V int    i const [inline]
 

Definition at line 56 of file cell2d.C.

References is_valid, and NumOfVertices.

Edge2D Cell2D::E int    i const [inline]
 

Definition at line 66 of file cell2d.C.

References complex2d_types::Edge, EdgeOnCellIterator, is_valid, and NumOfEdges.

Referenced by F.

Edge2D Cell2D::F int    i const [inline]
 

Definition at line 76 of file cell2d.C.

References E.

int Cell2D::NumOfVertices   const [inline]
 

Definition at line 54 of file cell2d.h.

References cell2d_connectivity::_vertices, and is_valid.

Referenced by EndVertex, NumOfEdges, NumOfFacets, and V.

int Cell2D::NumOfEdges   const [inline]
 

Definition at line 58 of file cell2d.h.

References NumOfVertices.

Referenced by E, and EndEdge.

int Cell2D::NumOfFacets   const [inline]
 

Definition at line 59 of file cell2d.h.

References NumOfVertices.

Referenced by EndNeighbour.

int Cell2D::NumOfNeighbours   const [inline]
 

Definition at line 50 of file cell2d.C.

References cell2d_connectivity::_neighbours.

void Cell2D::FlipEdge const Vertex   v,
Edge   e
const [inline]
 

Edge Cell2D::FlippedEdge Vertex const &    v,
Edge const &    e
const
 

Complex const& Cell2D::TheGrid   const [inline]
 

Definition at line 65 of file cell2d.h.

References complex2d_types::Complex.

cell_handle Cell2D::handle   const [inline]
 

Definition at line 66 of file cell2d.h.

References _pos, and complex2d_types::cell_handle.

bool Cell2D::is_valid   const [inline]
 

Definition at line 13 of file cell2d.C.

References _pos.

Referenced by E, NumOfVertices, V, and valid.

bool Cell2D::valid   const [inline]
 

Definition at line 78 of file cell2d.h.

References is_valid.

int Cell2D::find_local_facet const Cell   Nb const [inline]
 

vertex_handle Cell2D::vertex unsigned    side,
const EdgeOnCellIterator   nb
const [inline]
 


Friends And Related Function Documentation

friend class VertexOnCell2D_Iterator [friend]
 

Definition at line 80 of file cell2d.h.

friend class EdgeOnCell2D_Iterator [friend]
 

Definition at line 81 of file cell2d.h.

friend class CellOnCell2D_Iterator [friend]
 

Definition at line 82 of file cell2d.h.

friend class Vertex2D [friend]
 

Definition at line 83 of file cell2d.h.

friend class Edge2D [friend]
 

Definition at line 84 of file cell2d.h.

friend class Complex2D [friend]
 

Definition at line 85 of file cell2d.h.

bool operator< const self   s1,
const self   s2
[friend]
 

Definition at line 70 of file cell2d.h.

bool operator== const self   s1,
const self   s2
[friend]
 

Definition at line 72 of file cell2d.h.

bool operator!= const self   lhs,
const self   rhs
[friend]
 

Definition at line 74 of file cell2d.h.

ostream& operator<< ostream &    out,
self const &    rs
[friend]
 

Definition at line 95 of file cell2d.h.


Member Data Documentation

cell_handle Cell2D::_pos
 

Definition at line 13 of file cell2d.h.

Referenced by Cell2D, handle, and is_valid.


The documentation for this class was generated from the following files:
Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 16:06:58 2002 for GrAL Complex2D by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000