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

disjoint_union_view::grid_view Class Template Reference

View two separate grids as a single one. More...

#include <disjoint-union-view.h>

Inheritance diagram for disjoint_union_view::grid_view:

Inheritance graph
[legend]
List of all members.

Public Methods

 grid_view (grid_type_1 const &gg1, grid_type_2 const &gg2)
unsigned NumOfVertices () const
unsigned NumOfCells () const
Vertex_view< GRID1, GRID2 > FirstVertex () const
Cell_view< GRID1, GRID2 > FirstCell () const
grid_type_1 const & Grid1 () const
grid_type_2 const & Grid2 () const

Detailed Description

template<class GRID1, class GRID2>
class disjoint_union_view::grid_view< GRID1, GRID2 >

View two separate grids as a single one.

This view is useful for passing several separate grids to algorithms expecting a single grid, for example for output of several grids in one file.

The view is restricted to be a model of Cell-VertexInputGridRange regardless of the capabilities of the template parameters (which must support at least the Cell-VertexInputGridRange functionality).

Todo:
support archetypes.

Definition at line 207 of file disjoint-union-view.h.


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