protected class GridSearch.PointDouble extends Point2D.Double implements Serializable, RevisionHandler
Point2D.Double,
Serialized FormPoint2D.Double, Point2D.Floatx, 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, setLocationclone, distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocationpublic 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.Doublepublic String getRevision()
getRevision in interface RevisionHandlerCopyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.