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

RegGrid2D::Vertex Class Reference

#include <cartesian-grid2d.h>

Inheritance diagram for RegGrid2D::Vertex:

Inheritance graph
[legend]
Collaboration diagram for RegGrid2D::Vertex:

Collaboration graph
[legend]
List of all members.

Public Types

typedef VertexOnVertexIterator VertexIterator
typedef VertexOnVertexIterator NeighbourIterator

Public Methods

 Vertex ()
 Vertex (Grid const &g, vertex_handle v)
 Vertex (const vertex_base &v, const Grid *g)
 Vertex (const vertex_base &v, const Grid &g)
int x () const
int y () const
VertexOnVertexIterator FirstVertex () const
VertexOnVertexIterator EndVertex () const
VertexOnVertexIterator FirstNeighbour () const
VertexOnVertexIterator EndNeighbour () const
CellOnVertexIterator FirstCell () const
CellOnVertexIterator EndCell () const
int next_neighbour (int nb) const
int next_cell (int c) const
vertex_base get_nb_base (int nb) const
vertex_base get_cell_base (int c) const
Vertex vertex (int nb) const
Cell cell (int c) const
vertex_handle GlobalNumber () const
vertex_handle handle () const
const vertex_base & base () const

Protected Attributes

vertex_base _v

Friends

class Edge
bool operator== (const self &lhs, const self &rhs)
bool operator!= (const self &lhs, const self &rhs)
bool operator< (const self &lhs, const self &rhs)

Member Typedef Documentation

typedef VertexOnVertexIterator RegGrid2D::Vertex::VertexIterator
 

Definition at line 219 of file cartesian-grid2d.h.

typedef VertexOnVertexIterator RegGrid2D::Vertex::NeighbourIterator
 

Definition at line 220 of file cartesian-grid2d.h.


Constructor & Destructor Documentation

RegGrid2D::Vertex::Vertex (    )  [inline]
 

Definition at line 222 of file cartesian-grid2d.h.

Referenced by vertex.

RegGrid2D::Vertex::Vertex (  Grid const &    g,
vertex_handle    v
)  [inline]
 

Definition at line 223 of file cartesian-grid2d.h.

References RegGrid2D::vertex.

RegGrid2D::Vertex::Vertex (  const vertex_base &    v,
const Grid *    g
)  [inline]
 

Definition at line 225 of file cartesian-grid2d.h.

References _v, and RegGrid2D::elem_base::elem_base.

RegGrid2D::Vertex::Vertex (  const vertex_base &    v,
const Grid &    g
)  [inline]
 

Definition at line 226 of file cartesian-grid2d.h.

References _v, and RegGrid2D::elem_base::elem_base.


Member Function Documentation

int RegGrid2D::Vertex::x (    )  const [inline]
 

Definition at line 227 of file cartesian-grid2d.h.

References _v.

Referenced by FirstVertex, get_cell_base, and get_nb_base.

int RegGrid2D::Vertex::y (    )  const [inline]
 

Definition at line 228 of file cartesian-grid2d.h.

References _v.

Referenced by FirstVertex, get_cell_base, and get_nb_base.

RegGrid2D::VertexOnVertexIterator RegGrid2D::Vertex::FirstVertex (    )  const [inline]
 

Definition at line 1032 of file cartesian-grid2d.h.

References RegGrid2D::elem_base::TheGrid, RegGrid2D::VertexOnVertexIterator, x, and y.

Referenced by FirstNeighbour.

RegGrid2D::VertexOnVertexIterator RegGrid2D::Vertex::EndVertex (    )  const [inline]
 

Definition at line 1043 of file cartesian-grid2d.h.

References RegGrid2D::elem_base::TheGrid, and RegGrid2D::VertexOnVertexIterator.

Referenced by EndNeighbour.

RegGrid2D::VertexOnVertexIterator RegGrid2D::Vertex::FirstNeighbour (    )  const [inline]
 

Definition at line 1047 of file cartesian-grid2d.h.

References FirstVertex.

RegGrid2D::VertexOnVertexIterator RegGrid2D::Vertex::EndNeighbour (    )  const [inline]
 

Definition at line 1051 of file cartesian-grid2d.h.

References EndVertex.

RegGrid2D::CellOnVertexIterator RegGrid2D::Vertex::FirstCell (    )  const [inline]
 

Definition at line 1056 of file cartesian-grid2d.h.

References next_cell, and RegGrid2D::elem_base::TheGrid.

RegGrid2D::CellOnVertexIterator RegGrid2D::Vertex::EndCell (    )  const [inline]
 

Definition at line 1065 of file cartesian-grid2d.h.

References RegGrid2D::elem_base::TheGrid.

int RegGrid2D::Vertex::next_neighbour (  int    nb )  const [inline]
 

Definition at line 238 of file cartesian-grid2d.h.

References get_nb_base, and RegGrid2D::elem_base::TheGrid.

int RegGrid2D::Vertex::next_cell (  int    c )  const [inline]
 

Definition at line 244 of file cartesian-grid2d.h.

References get_cell_base, and RegGrid2D::elem_base::TheGrid.

Referenced by FirstCell.

vertex_base RegGrid2D::Vertex::get_nb_base (  int    nb )  const [inline]
 

Definition at line 250 of file cartesian-grid2d.h.

References RegGrid2D::side_offset, RegGrid2D::elem_base::TheGrid, RegGrid2D::vertex_base, x, and y.

Referenced by next_neighbour, and vertex.

vertex_base RegGrid2D::Vertex::get_cell_base (  int    c )  const [inline]
 

Definition at line 255 of file cartesian-grid2d.h.

References RegGrid2D::corner_offset, RegGrid2D::elem_base::TheGrid, RegGrid2D::vertex_base, x, and y.

Referenced by cell, and next_cell.

Vertex RegGrid2D::Vertex::vertex (  int    nb )  const [inline]
 

Definition at line 260 of file cartesian-grid2d.h.

References get_nb_base, RegGrid2D::elem_base::TheGrid, and Vertex.

RegGrid2D::Cell RegGrid2D::Vertex::cell (  int    c )  const [inline]
 

Definition at line 1070 of file cartesian-grid2d.h.

References RegGrid2D::Cell, get_cell_base, and RegGrid2D::elem_base::TheGrid.

vertex_handle RegGrid2D::Vertex::GlobalNumber (    )  const [inline]
 

Definition at line 270 of file cartesian-grid2d.h.

References _v, and RegGrid2D::elem_base::TheGrid.

vertex_handle RegGrid2D::Vertex::handle (    )  const [inline]
 

Definition at line 271 of file cartesian-grid2d.h.

References _v, and RegGrid2D::elem_base::TheGrid.

const vertex_base& RegGrid2D::Vertex::base (    )  const [inline]
 

Definition at line 273 of file cartesian-grid2d.h.

References _v.


Friends And Related Function Documentation

friend class Edge [friend]
 

Definition at line 217 of file cartesian-grid2d.h.

bool operator== (  const self &    lhs,
const self &    rhs
)  [friend]
 

Definition at line 263 of file cartesian-grid2d.h.

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

Definition at line 265 of file cartesian-grid2d.h.

bool operator< (  const self &    lhs,
const self &    rhs
)  [friend]
 

Definition at line 267 of file cartesian-grid2d.h.


Member Data Documentation

vertex_base RegGrid2D::Vertex::_v [protected]
 

Definition at line 275 of file cartesian-grid2d.h.

Referenced by base, GlobalNumber, handle, Vertex, x, and y.


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

Generated at Tue Feb 26 16:08:20 2002 for GrAL Cartesian2D by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000