|
||||
This class encapsulates a location combining an x and a y coordinate.
| Constructor Summary | |
|---|---|
GPoint(x, y)
GPoint with the specified coordinates. |
|
| Method Summary | |
|---|---|
get_x()
GPoint. |
|
get_y()
GPoint. |
|
| Constructor Detail |
|---|
GPoint(x, y)GPoint with the specified coordinates.
Usage: | pt = GPoint(x, y) | ||||
Parameters: |
|
| Method Detail |
|---|
get_x()GPoint.
Usage: | x = pt.get_x() |
Returns: | The x coordinate of this GPoint
|
get_y()GPoint.
Usage: | y = pt.get_y() |
Returns: | The y coordinate of this GPoint
|
|
||||