QGIS API Documentation
2.6.0-Brighton
|
A class to represent a vector. More...
#include <qgspoint.h>
Public Member Functions | |
QgsVector () | |
QgsVector (double x, double y) | |
QgsVector | operator- (void) const |
QgsVector | operator* (double scalar) const |
QgsVector | operator/ (double scalar) const |
double | operator* (QgsVector v) const |
double | length () const |
double | x () const |
double | y () const |
QgsVector | perpVector () const |
double | angle (void) const |
double | angle (QgsVector v) const |
QgsVector | rotateBy (double rot) const |
QgsVector | normal () const |
A class to represent a vector.
Currently no Z axis / 2.5D support is implemented.
QgsVector::QgsVector | ( | ) |
QgsVector::QgsVector | ( | double | x, |
double | y | ||
) |
double QgsVector::angle | ( | void | ) | const |
double QgsVector::angle | ( | QgsVector | v | ) | const |
double QgsVector::length | ( | ) | const |
QgsVector QgsVector::normal | ( | ) | const |
QgsVector QgsVector::operator* | ( | double | scalar | ) | const |
double QgsVector::operator* | ( | QgsVector | v | ) | const |
QgsVector QgsVector::operator- | ( | void | ) | const |
QgsVector QgsVector::operator/ | ( | double | scalar | ) | const |
QgsVector QgsVector::perpVector | ( | ) | const |
QgsVector QgsVector::rotateBy | ( | double | rot | ) | const |
double QgsVector::x | ( | ) | const |
double QgsVector::y | ( | ) | const |