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

SubrangeReg2D Class Reference

Rectangular subrange of RegGrid2D. More...

#include <subrange.h>

Collaboration diagram for SubrangeReg2D:

Collaboration graph
[legend]
List of all members.

Public Types

typedef SubrangeReg2D Range
typedef RegGrid2D Grid
typedef Grid::indexmap_type indexmap_type
typedef Grid::index_type index_type
typedef Grid::vertex_handle vertex_handle
typedef Grid::Vertex Vertex
typedef Grid::cell_handle cell_handle
typedef Grid::Cell Cell
typedef Grid::edge_handle edge_handle
typedef Grid::Edge Edge
typedef VertexIterator_1 VertexIterator
typedef CellIterator_1 CellIterator
typedef EdgeIterator_1 EdgeIterator

Public Methods

 SubrangeReg2D ()
 SubrangeReg2D (const Grid &gg, const index_type &llv, const index_type &urv)
 SubrangeReg2D (const Grid &gg, int llx, int lly, int urx, int ury)
const Grid & TheGrid () const
const index_type & ll () const
const index_type & ur () const
int llx () const
int lly () const
int urx () const
int ury () const
index_type side_vertex1 (int s) const
index_type side_vertex2 (int s) const
const indexmap_type & TheVertexMap () const
VertexIterator FirstVertex () const
VertexIterator EndVertex () const
vertex_handle handle (Vertex const &V) const
Vertex vertex (vertex_handle v) const
vertex_handle MinVertexNum () const
vertex_handle MaxVertexNum () const
unsigned NumOfVertices () const
int NumOfXVertices () const
int NumOfYVertices () const
const indexmap_type & TheCellMap () const
CellIterator FirstCell () const
CellIterator EndCell () const
cell_handle handle (Cell const &C) const
Cell cell (cell_handle v) const
cell_handle MinCellNum () const
cell_handle MaxCellNum () const
unsigned NumOfCells () const
int NumOfXCells () const
int NumOfYCells () const
const indexmap_type & TheXEdgeMap () const
const indexmap_type & TheYEdgeMap () const
EdgeIterator FirstEdge () const
EdgeIterator EndEdge () const
Edge edge (edge_handle e) const
edge_handle MinEdgeNum () const
edge_handle MaxEdgeNum () const
unsigned NumOfEdges () const
unsigned NumOfFacets () const
EdgeIterator FirstFacet () const
EdgeIterator EndFacet () const

Detailed Description

Rectangular subrange of RegGrid2D.

This class allows it to describe a rectangular subrange of a regular 2D-grid. It defines altered versions of the sequence iterators bounded by the range, but it does not behave like a (sub)grid, the underlying grid is still considered to be the original one. Especially there is no means to iterate over the boundary of the subrange.

Definition at line 21 of file subrange.h.


Member Typedef Documentation

typedef SubrangeReg2D SubrangeReg2D::Range
 

Definition at line 23 of file subrange.h.

typedef RegGrid2D SubrangeReg2D::Grid
 

Definition at line 24 of file subrange.h.

typedef Grid::indexmap_type SubrangeReg2D::indexmap_type
 

Definition at line 25 of file subrange.h.

Referenced by TheCellMap, TheVertexMap, TheXEdgeMap, and TheYEdgeMap.

typedef Grid::index_type SubrangeReg2D::index_type
 

Definition at line 26 of file subrange.h.

Referenced by ll, side_vertex1, side_vertex2, SubrangeReg2D, and ur.

typedef Grid::vertex_handle SubrangeReg2D::vertex_handle
 

Definition at line 28 of file subrange.h.

Referenced by handle, MaxVertexNum, MinVertexNum, and vertex.

typedef Grid::Vertex SubrangeReg2D::Vertex
 

Definition at line 29 of file subrange.h.

Referenced by handle, and vertex.

typedef Grid::cell_handle SubrangeReg2D::cell_handle
 

Definition at line 30 of file subrange.h.

Referenced by cell, handle, MaxCellNum, and MinCellNum.

typedef Grid::Cell SubrangeReg2D::Cell
 

Definition at line 31 of file subrange.h.

Referenced by cell, and handle.

typedef Grid::edge_handle SubrangeReg2D::edge_handle
 

Definition at line 32 of file subrange.h.

Referenced by edge, MaxEdgeNum, and MinEdgeNum.

typedef Grid::Edge SubrangeReg2D::Edge
 

Definition at line 33 of file subrange.h.

Referenced by edge.

typedef VertexIterator_1 SubrangeReg2D::VertexIterator
 

Definition at line 103 of file subrange.h.

Referenced by EndVertex, and FirstVertex.

typedef CellIterator_1 SubrangeReg2D::CellIterator
 

Definition at line 142 of file subrange.h.

Referenced by EndCell, and FirstCell.

typedef EdgeIterator_1 SubrangeReg2D::EdgeIterator
 

Definition at line 180 of file subrange.h.

Referenced by EndEdge, and FirstEdge.


Constructor & Destructor Documentation

SubrangeReg2D::SubrangeReg2D (    )  [inline]
 

Definition at line 35 of file subrange.h.

SubrangeReg2D::SubrangeReg2D (  const Grid &    gg,
const index_type &    llv,
const index_type &    urv
)  [inline]
 

Definition at line 37 of file subrange.h.

References index_type.

SubrangeReg2D::SubrangeReg2D (  const Grid &    gg,
int    llx,
int    lly,
int    urx,
int    ury
)  [inline]
 

Definition at line 44 of file subrange.h.

References index_type, llx, lly, urx, and ury.


Member Function Documentation

const Grid& SubrangeReg2D::TheGrid (    )  const [inline]
 

Definition at line 184 of file subrange.h.

Referenced by cell, edge, EndCell, EndEdge, EndVertex, FirstCell, FirstEdge, FirstVertex, handle, and vertex.

const index_type& SubrangeReg2D::ll (    )  const [inline]
 

Definition at line 186 of file subrange.h.

References index_type, and TheVertexMap.

const index_type& SubrangeReg2D::ur (    )  const [inline]
 

Definition at line 187 of file subrange.h.

References index_type, and TheVertexMap.

int SubrangeReg2D::llx (    )  const [inline]
 

Definition at line 189 of file subrange.h.

References TheVertexMap.

Referenced by NumOfXCells, NumOfXVertices, side_vertex1, side_vertex2, and SubrangeReg2D.

int SubrangeReg2D::lly (    )  const [inline]
 

Definition at line 190 of file subrange.h.

References TheVertexMap.

Referenced by NumOfYCells, NumOfYVertices, side_vertex1, side_vertex2, and SubrangeReg2D.

int SubrangeReg2D::urx (    )  const [inline]
 

Definition at line 191 of file subrange.h.

References TheVertexMap.

Referenced by NumOfXCells, NumOfXVertices, and SubrangeReg2D.

int SubrangeReg2D::ury (    )  const [inline]
 

Definition at line 192 of file subrange.h.

References TheVertexMap.

Referenced by NumOfYCells, NumOfYVertices, and SubrangeReg2D.

index_type SubrangeReg2D::side_vertex1 (  int    s )  const [inline]
 

Definition at line 193 of file subrange.h.

References index_type, llx, lly, NumOfXVertices, and NumOfYVertices.

index_type SubrangeReg2D::side_vertex2 (  int    s )  const [inline]
 

Definition at line 197 of file subrange.h.

References index_type, llx, lly, NumOfXVertices, and NumOfYVertices.

const indexmap_type& SubrangeReg2D::TheVertexMap (    )  const [inline]
 

Definition at line 202 of file subrange.h.

References indexmap_type.

Referenced by ll, llx, lly, MaxVertexNum, MinVertexNum, NumOfVertices, ur, urx, ury, and vertex.

VertexIterator SubrangeReg2D::FirstVertex (    )  const [inline]
 

Definition at line 203 of file subrange.h.

References TheGrid, and VertexIterator.

VertexIterator SubrangeReg2D::EndVertex (    )  const [inline]
 

Definition at line 204 of file subrange.h.

References MaxVertexNum, TheGrid, and VertexIterator.

vertex_handle SubrangeReg2D::handle (  Vertex const &    V )  const [inline]
 

Definition at line 205 of file subrange.h.

References RegGrid2D::handle, TheGrid, Vertex, and vertex_handle.

Vertex SubrangeReg2D::vertex (  vertex_handle    v )  const [inline]
 

Definition at line 206 of file subrange.h.

References TheGrid, TheVertexMap, RegGrid2D::vertex, Vertex, and vertex_handle.

Referenced by SubrangeReg2D::VertexIterator_1::operator *.

vertex_handle SubrangeReg2D::MinVertexNum (    )  const [inline]
 

Definition at line 207 of file subrange.h.

References TheVertexMap, and vertex_handle.

vertex_handle SubrangeReg2D::MaxVertexNum (    )  const [inline]
 

Definition at line 208 of file subrange.h.

References TheVertexMap, and vertex_handle.

Referenced by EndVertex, and SubrangeReg2D::VertexIterator_1::IsDone.

unsigned SubrangeReg2D::NumOfVertices (    )  const [inline]
 

Definition at line 209 of file subrange.h.

References TheVertexMap.

int SubrangeReg2D::NumOfXVertices (    )  const [inline]
 

Definition at line 210 of file subrange.h.

References llx, and urx.

Referenced by side_vertex1, and side_vertex2.

int SubrangeReg2D::NumOfYVertices (    )  const [inline]
 

Definition at line 211 of file subrange.h.

References lly, and ury.

Referenced by side_vertex1, and side_vertex2.

const indexmap_type& SubrangeReg2D::TheCellMap (    )  const [inline]
 

Definition at line 213 of file subrange.h.

References indexmap_type.

Referenced by cell, MaxCellNum, MinCellNum, and NumOfCells.

CellIterator SubrangeReg2D::FirstCell (    )  const [inline]
 

Definition at line 214 of file subrange.h.

References CellIterator, and TheGrid.

CellIterator SubrangeReg2D::EndCell (    )  const [inline]
 

Definition at line 215 of file subrange.h.

References CellIterator, MaxCellNum, and TheGrid.

cell_handle SubrangeReg2D::handle (  Cell const &    C )  const [inline]
 

Definition at line 216 of file subrange.h.

References Cell, cell_handle, RegGrid2D::handle, and TheGrid.

Cell SubrangeReg2D::cell (  cell_handle    v )  const [inline]
 

Definition at line 217 of file subrange.h.

References RegGrid2D::cell, Cell, cell_handle, TheCellMap, and TheGrid.

Referenced by SubrangeReg2D::CellIterator_1::operator *.

cell_handle SubrangeReg2D::MinCellNum (    )  const [inline]
 

Definition at line 218 of file subrange.h.

References cell_handle, and TheCellMap.

cell_handle SubrangeReg2D::MaxCellNum (    )  const [inline]
 

Definition at line 219 of file subrange.h.

References cell_handle, and TheCellMap.

Referenced by EndCell, and SubrangeReg2D::CellIterator_1::IsDone.

unsigned SubrangeReg2D::NumOfCells (    )  const [inline]
 

Definition at line 220 of file subrange.h.

References TheCellMap.

int SubrangeReg2D::NumOfXCells (    )  const [inline]
 

Definition at line 221 of file subrange.h.

References llx, and urx.

int SubrangeReg2D::NumOfYCells (    )  const [inline]
 

Definition at line 222 of file subrange.h.

References lly, and ury.

const indexmap_type& SubrangeReg2D::TheXEdgeMap (    )  const [inline]
 

Definition at line 225 of file subrange.h.

References indexmap_type.

Referenced by edge, MinEdgeNum, and NumOfEdges.

const indexmap_type& SubrangeReg2D::TheYEdgeMap (    )  const [inline]
 

Definition at line 226 of file subrange.h.

References indexmap_type.

Referenced by edge, and NumOfEdges.

EdgeIterator SubrangeReg2D::FirstEdge (    )  const [inline]
 

Definition at line 227 of file subrange.h.

References EdgeIterator, and TheGrid.

Referenced by FirstFacet.

EdgeIterator SubrangeReg2D::EndEdge (    )  const [inline]
 

Definition at line 228 of file subrange.h.

References EdgeIterator, MaxEdgeNum, and TheGrid.

Referenced by EndFacet.

Edge SubrangeReg2D::edge (  edge_handle    e )  const [inline]
 

Definition at line 229 of file subrange.h.

References Edge, edge_handle, TheGrid, TheXEdgeMap, TheYEdgeMap, RegGrid2D::xedge, and RegGrid2D::yedge.

Referenced by SubrangeReg2D::EdgeIterator_1::operator *.

edge_handle SubrangeReg2D::MinEdgeNum (    )  const [inline]
 

Definition at line 236 of file subrange.h.

References edge_handle, and TheXEdgeMap.

Referenced by MaxEdgeNum.

edge_handle SubrangeReg2D::MaxEdgeNum (    )  const [inline]
 

Definition at line 237 of file subrange.h.

References edge_handle, MinEdgeNum, and NumOfEdges.

Referenced by EndEdge, and SubrangeReg2D::EdgeIterator_1::IsDone.

unsigned SubrangeReg2D::NumOfEdges (    )  const [inline]
 

Definition at line 238 of file subrange.h.

References TheXEdgeMap, and TheYEdgeMap.

Referenced by MaxEdgeNum, and NumOfFacets.

unsigned SubrangeReg2D::NumOfFacets (    )  const [inline]
 

Definition at line 241 of file subrange.h.

References NumOfEdges.

EdgeIterator SubrangeReg2D::FirstFacet (    )  const [inline]
 

Definition at line 242 of file subrange.h.

References FirstEdge.

EdgeIterator SubrangeReg2D::EndFacet (    )  const [inline]
 

Definition at line 243 of file subrange.h.

References EndEdge.


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:23 2002 for GrAL Cartesian2D by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000