Definition in file _QGAR_angle.TCC.
Go to the source code of this file.
Namespaces | |
| namespace | qgar |
Global functions to compute angles between vectors | |
| |
| template<class T> | |
| double | qgar::qgAngle (const GenPoint< T > &aPt1, const GenPoint< T > &aPt2) |
| Angle (in [0, 2PI[ radians) between the X axis and the vector formed by the two given points. | |
| template<class T> | |
| double | qgar::qgAngleDegrees (const GenPoint< T > &aPt1, const GenPoint< T > &aPt2) |
| Same as qgar::qgAngle(const GenPoint<T>&, const GenPoint<T>&), but the result is given in [0, 360[ degrees. | |
| template<class T> | |
| double | qgar::qgAngle (const GenPoint< T > &aPt1, const GenPoint< T > &aPt2, const GenPoint< T > &aPt3) |
| Angle (in [0, 2PI[ radians) between two vectors determined by 3 points. | |
| template<class T> | |
| double | qgar::qgAngleDegrees (const GenPoint< T > &aPt1, const GenPoint< T > &aPt2, const GenPoint< T > &aPt3) |
| Same as qgar::qgAngle(const GenPoint<T>&,const GenPoint<T>&, const GenPoint<T>&), but the result is given in [0, 360[ degrees. | |
| template<class T> | |
| double | qgar::qgAngle (const GenPoint< T > &aPt1, const GenPoint< T > &aPt2, const GenPoint< T > &aPt3, const GenPoint< T > &aPt4) |
| Angle (in [0, 2PI[ radians) between two vectors determined by 4 points. | |
| template<class T> | |
| double | qgar::qgAngleDegrees (const GenPoint< T > &aPt1, const GenPoint< T > &aPt2, const GenPoint< T > &aPt3, const GenPoint< T > &aPt4) |
| Same as qgar::qgAngle(const GenPoint<T>&,const GenPoint<T>&, const GenPoint<T>&, const GenPoint<T>&), but the result is given in [0, 360[ degrees. | |
| template<class T> | |
| double | qgar::qgSlope (const GenPoint< T > &aPt1, const GenPoint< T > &aPt2) |
| Angle (in [0, PI[ radians) between the X axis and the segment formed by the two given points. | |
| template<class T> | |
| double | qgar::qgSlopeDegrees (const GenPoint< T > &aPt1, const GenPoint< T > &aPt2) |
| Same as qgar::qgSlope(const GenPoint<T>&, const GenPoint<T>&), but the result is given in [0, 180[ degrees. | |