com.partnersoft.geometry
Class Point
java.lang.Object
com.partnersoft.geometry.Point
public class Point
- extends java.lang.Object
|
Field Summary |
double |
x
|
double |
y
|
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
public double x
y
public double y
Point
public Point()
Point
public Point(double x,
double y)
Point
public Point(XyPoint point)
clone
public java.lang.Object clone()
- Overrides:
clone in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object
isWithin
public boolean isWithin(Point other,
double dist)
getX
public double getX()
getY
public double getY()
toXyPoint
public XyPoint toXyPoint()