TouchVG framework
|
Double typed point 更多...
#include <mgdblpt.h>
Public 成员函数 | |
point_t () | |
point_t (double x, double y) | |
point_t (const point_t &p) | |
point_t & | operator= (const point_t &p) |
double | length () const |
double | lengthSquare () const |
double | distanceSquare (const point_t &v) const |
double | distanceTo (const point_t &v) const |
double | dotProduct (const point_t &v) const |
double | crossProduct (const point_t &v) const |
bool | isDegenerate () const |
point_t | normalized () const |
void | normalize () |
point_t | scaledVector (double newLength) const |
point_t | operator- (const point_t &v) const |
point_t | operator+ (const point_t &v) const |
point_t | operator* (double d) const |
point_t | operator/ (double d) const |
Public 属性 | |
double | x |
double | y |
友元 | |
point_t | operator* (double d, const point_t &v) |
point_t | operator/ (double d, const point_t &v) |
Double typed point