Point
Public Member Functions | List of all members
Point Class Reference

A two-dimensional Point class. More...

Public Member Functions

 Point (int theX=0, int theY=0)
 ctor for the Point class More...
 
int getX ()
 get the x-coordinate of the Point More...
 
int getY ()
 get the y-coordinate of the Point More...
 

Detailed Description

A two-dimensional Point class.

Author
Arthur G. Werschulz
Version
1.0 Wed 3 Feb 2015

Constructor & Destructor Documentation

Point::Point ( int  theX = 0,
int  theY = 0 
)
inline

ctor for the Point class

Parameters
theXthe Point's x-coordinate, defaults to 0
theYthe Point's y-coordinate, defaults to 0

Member Function Documentation

int Point::getX ( )
inline

get the x-coordinate of the Point

Returns
the x-coordinate
int Point::getY ( )
inline

get the y-coordinate of the Point

Returns
the y-coordinate

The documentation for this class was generated from the following file: