Package: GrAL Base        GrAL: Packages | Concepts | Homepage

GrAL::transformed_geom< Geom, Trafo > Class Template Reference
[Grid Geometries]

Grid geometry transformed by a mapping. More...

#include </home/guntram/tmp/GrAL/gral/base/include/Gral/Geometries/transformed-geometry.h>

List of all members.

Public Types

typedef Geom::grid_type grid_type
typedef grid_types< grid_type > gt
typedef gt::Vertex Vertex
typedef gt::Edge Edge
typedef Trafo::result_type coord_type
typedef point_traits< coord_typept
typedef algebraic_primitives
< coord_type
ap

Public Member Functions

 transformed_geom (Geom const &geo, Trafo const &trf)
coord_type coord (const Vertex &V) const
double length (const Edge &E) const
grid_type const & TheGrid () const
bool empty () const
int space_dimension () const
bool bound () const
void rebind (grid_type const &g)
void cb () const

Related Functions

(Note that these are not member functions.)

template<class Geom , class Trafo >
transformed_geom< Geom, Trafo > TransformGeom (Geom const &geom, Trafo const &f)
 Creator function for transformed_geom<Geom,Trafo>.


Detailed Description

template<class Geom, class Trafo>
class GrAL::transformed_geom< Geom, Trafo >

Grid geometry transformed by a mapping.

The only function is currently transformation of vertices -- every other geometric primitive depends on the nature of the transformation, i.e linear or non-linear.

Template parameters:

Todo:
Extend approach to yield transformed (i.e., curved) segments, polygons etc.

Test

See also:
Module Grid Geometries

Definition at line 46 of file transformed-geometry.h.


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

©  Guntram Berti 1997-2009. See the GrAL Homepage for up-to-date information.

Generated on Tue Mar 31 19:11:43 2009 for GrAL Base by doxygen 1.5.8