com.partnersoft.geometry
Class Point

java.lang.Object
  extended by com.partnersoft.geometry.Point

public class Point
extends java.lang.Object


Field Summary
 double x
           
 double y
           
 
Constructor Summary
Point()
           
Point(double x, double y)
           
Point(XyPoint point)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object other)
           
 double getX()
           
 double getY()
           
 boolean isWithin(Point other, double dist)
           
 java.lang.String toString()
           
 XyPoint toXyPoint()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public double x

y

public double y
Constructor Detail

Point

public Point()

Point

public Point(double x,
             double y)

Point

public Point(XyPoint point)
Method Detail

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()