Definition
An instance ip of type IPoint is a point (a, b), where a and b are integers. We call a the x-coordinate of ip and b the y-coordinate of ip.
#include < AGD/IPoint.h >
Creation
IPoint | ip | creates an instance ip of type IPoint initialized to the point (0, 0). |
IPoint | ip(int x, int y) | creates an instance ip of type IPoint initialized to the point (x, y). |
IPoint | ip(const IPoint& p) | creates an instance ip of type IPoint initialized to the point p. |
Operations
© Copyright 1998-2001, Algorithmic Solutions Software GmbH. All rights reserved.
2001-08-13