class Point

Regular 2D point (8 bytes long).

Public Methods

bool operator!=(const Point &p)
Non-equality operator.
Point& operator=(const Point &p)
Assign operator.
bool operator==(const Point &p)
Equality operator.
Point(const Point &p)
Copy constructor.
Point(int x = 0, int y = 0)
General constructor.

Public

ACCESSORS
int getX()
Get x coordinate.
int getY()
Get y coordinate.
MANIPULATORS
void setX(int x)
Set x coordinate.
void setY(int y)
Set y coordinate.

Private Fields

int d_x
X,Y Coordinates.

Documentation

Regular 2D point (8 bytes long).
int d_x
X,Y Coordinates.

Point(int x = 0, int y = 0)
General constructor.

Point(const Point &p)
Copy constructor.

Point& operator=(const Point &p)
Assign operator.

bool operator==(const Point &p)
Equality operator.

bool operator!=(const Point &p)
Non-equality operator.

MANIPULATORS

void setX(int x)
Set x coordinate.

void setY(int y)
Set y coordinate.

ACCESSORS

int getX()
Get x coordinate.

int getY()
Get y coordinate.


This class has no child classes.

alphabetic index hierarchy of classes


DOC++

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de 1