vdk 2.4.0
|
Provides a simple point object. More...
#include <vdkutils.h>
Provides a simple point object.
VDKPoint::VDKPoint | ( | ) | [inline] |
Constructor, make a point with 0,0 coordinates
VDKPoint::VDKPoint | ( | int | _x, |
int | _y | ||
) | [inline] |
Constructor
_x | x coordinate |
_y | y coordinate |
virtual VDKPoint::~VDKPoint | ( | ) | [inline, virtual] |
Destructor
VDKPoint& VDKPoint::Offset | ( | int | dx, |
int | dy | ||
) |
Modify this with an offset
dx | x offset |
dy | y offset |
VDKPoint VDKPoint::OffsetBy | ( | int | dx, |
int | dy | ||
) | const [inline] |
Returns an offset point
dx | x offset |
dy | y offset |
int VDKPoint::operator!= | ( | VDKPoint & | p | ) | const [inline] |
Disequality operator
VDKPoint VDKPoint::operator- | ( | ) | const [inline] |
Return simmetric point in plane
int VDKPoint::operator== | ( | VDKPoint & | p | ) | const [inline] |
Equality operator
int VDKPoint::x |
x,y coordinates