#include <point.h>
Public Member Functions | |
CPoint2d (void) | |
CPoint2d (float x, float y) | |
CPoint2d (const CPoint2d &tmpP) | |
float | Dist (const CPoint2d &p) |
CPoint2d & | operator*= (float s) |
CPoint2d & | operator+= (const CPoint2d &p) |
CPoint2d & | operator-= (const CPoint2d &p) |
CPoint2d & | operator/= (float s) |
~CPoint2d (void) | |
Public Attributes | |
float | pointangle |
float | x |
float | y |
Friends | |
bool | operator!= (const CPoint2d &p1, const CPoint2d &p2) |
CPoint2d | operator* (const CPoint2d &p, float s) |
CPoint2d | operator+ (const CPoint2d &p1, const CPoint2d &p2) |
CPoint2d | operator- (const CPoint2d &p1, const CPoint2d &p2) |
CPoint2d | operator/ (const CPoint2d &p, float num) |
bool | operator== (const CPoint2d &p1, const CPoint2d &p2) |
CPoint2d::CPoint2d | ( | void | ) |
CPoint2d::CPoint2d | ( | float | x, |
float | y | ||
) |
CPoint2d::~CPoint2d | ( | void | ) |
CPoint2d::CPoint2d | ( | const CPoint2d & | tmpP | ) |
float CPoint2d::Dist | ( | const CPoint2d & | p | ) |
float CPoint2d::pointangle |
float CPoint2d::x |
float CPoint2d::y |