Package drawit
Class DoublePoint
java.lang.Object
drawit.DoublePoint
public class DoublePoint extends Object
-
Constructor Summary
Constructors Constructor Description DoublePoint(double x, double y)
-
Method Summary
Modifier and Type Method Description double
getX()
double
getY()
DoubleVector
minus(DoublePoint other)
DoublePoint
plus(DoubleVector other)
IntPoint
round()
Returns anIntPoint
object whose coordinates are obtained by rounding the coordinates of this point to the nearest integer.