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