protected class GridSearch.PointDouble extends Point2D.Double implements Serializable, RevisionHandler
Point2D.Double
,
Serialized FormPoint2D.Double, Point2D.Float
x, y
Constructor and Description |
---|
PointDouble(double x,
double y)
the default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether or not two points are equal.
|
String |
getRevision()
Returns the revision string.
|
String |
toString()
returns a string representation of the Point
|
getX, getY, setLocation
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocation
public PointDouble(double x, double y)
x
- the x value of the pointy
- the y value of the pointpublic boolean equals(Object obj)
public String toString()
toString
in class Point2D.Double
public String getRevision()
getRevision
in interface RevisionHandler
Copyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.