Public Member Functions

coordinate_converter< FromPointType, ToPointType, FromCoordinateSystem, ToCoordinateSystem > Class Template Reference

A conversion facility for transformations between coordinate systems. More...

#include <point.hpp>

Public Member Functions

ToPointType operator() (FromPointType const &p_in)
 By default, conversion is unknown, thus an error is forced when calling the functor.

Detailed Description

template<typename FromPointType, typename ToPointType, typename FromCoordinateSystem = typename traits::coordinate_system<FromPointType>::type, typename ToCoordinateSystem = typename traits::coordinate_system<ToPointType>::type>
class viennagrid::coordinate_converter< FromPointType, ToPointType, FromCoordinateSystem, ToCoordinateSystem >

A conversion facility for transformations between coordinate systems.

Template Parameters:
FromPointType The source point type
ToPointType The destination point type

Member Function Documentation

ToPointType operator() ( FromPointType const &  p_in  )  [inline]

By default, conversion is unknown, thus an error is forced when calling the functor.


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