#include <qgarlib/primitives.H>
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. | |
|
||||||||||||||||||||
|
Return the given arc translated along X and Y axis.
Definition at line 89 of file _QGAR_translation.TCC. |
|
||||||||||||||||||||
|
Return the given point translated along X and Y axis.
Definition at line 57 of file _QGAR_translation.TCC. |
|
||||||||||||||||||||
|
Return the given polygon translated along X and Y axis.
Definition at line 105 of file _QGAR_translation.TCC. |
|
||||||||||||||||||||
|
Return the given polyline translated along X and Y axis.
Definition at line 121 of file _QGAR_translation.TCC. |
|
||||||||||||||||||||
|
Return the given segment translated along X and Y axis.
Definition at line 73 of file _QGAR_translation.TCC. |