#include <Point.h>
Inheritance diagram for VPoint:
Public Methods | |
VPoint () | |
VPoint (int, int) | |
int | Distance (VPoint) const |
Returns integer distance between two points. | |
int | DistanceToLine (VPoint pone, VPoint ptwo) const |
int | SquaredDistance (VPoint) const |
Returns the square of the integer distance between two points (faster). | |
VAbstractEditor* | CreateEditor () |
Returns an editor that can allow the user to manipulate this object. | |
Overloaded operators | |
VPoint | operator+ (VPoint) |
VPoint | operator- (VPoint) |
VPoint | operator * (VPoint) |
VPoint | operator/ (VPoint) |
VPoint | operator * (int) |
VPoint | operator/ (int) |
VPoint | operator * (float) |
bool | operator> (int) |
bool | operator== (int) |
bool | operator== (VPoint) |
bool | operator< (int) |
VPoint | operator- () |
operator CPoint () | |
Public Attributes | |
int | x |
x coordinate. | |
int | y |
y coordinate. |