- <init>
Constructs and initializes a point with the same location as the specified Point
object.
- getX
- getY
- setLocation
- translate
Translates this point, at location (x,y), by dx along the x axis and dy along
the y axis so that it
- equals
Determines whether or not two points are equal. Two instances ofPoint are equal
if the values of the
- distance
- clone
Creates a new object of the same class and with the same contents as this
object.
- getLocation
Returns the location of this point. This method is included for completeness, to
parallel thegetLoca
- move
Moves this point to the specified location in the (x,y) coordinate plane. This
method is identical w
- distanceSq
- hashCode
Returns the hashcode for this Point.