Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

_QGAR_translation.TCC File Reference


Detailed Description

Implementation of global functions to translate primitives.

Author:
Gérald Masini
Date:
February 9, 2005 14:32
Since:
Qgar 2.2

Definition in file _QGAR_translation.TCC.

Go to the source code of this file.

Namespaces

namespace  qgar

Global functions to translate points and primitives

template<class T>
GenPoint< T > qgar::qgTranslatedPoint (const GenPoint< T > &aPt, T aTransX, T aTransY)
 Return the given point translated along X and Y axis.
template<class T>
GenSegment< T > qgar::qgTranslatedSegment (const GenSegment< T > &aSeg, T aTransX, T aTransY)
 Return the given segment translated along X and Y axis.
template<class T>
GenArc< T > qgar::qgTranslatedArc (const GenArc< T > &anArc, T aTransX, T aTransY)
 Return the given arc translated along X and Y axis.
template<class T>
GenPolygon< T > qgar::qgTranslatedPolygon (const GenPolygon< T > &aPolygon, T aTransX, T aTransY)
 Return the given polygon translated along X and Y axis.
template<class T>
GenPolyline< T > qgar::qgTranslatedPolyline (const GenPolyline< T > &aPolyline, T aTransX, T aTransY)
 Return the given polyline translated along X and Y axis.