edu.ucla.stat.SOCR.analyses.gui
Class SOCRPoint2D

java.lang.Object
  extended by edu.ucla.stat.SOCR.analyses.gui.SOCRPoint2D

public class SOCRPoint2D
extends java.lang.Object


Field Summary
static double NEARVALUE
           
 
Constructor Summary
SOCRPoint2D()
           
SOCRPoint2D(double X, double Y)
           
SOCRPoint2D(int prec)
           
SOCRPoint2D(int prec, double X, double Y)
           
SOCRPoint2D(int prec, SOCRPoint2D pt)
           
SOCRPoint2D(SOCRPoint2D pt)
           
 
Method Summary
 double distance(SOCRPoint2D pt)
           
 java.lang.String getXString()
           
 java.lang.String getYString()
           
 boolean isSelected()
           
 boolean near(SOCRPoint2D pt)
           
 java.lang.String print()
           
 void setSelected(boolean sel)
           
 void setValues(double nx, double ny)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NEARVALUE

public static final double NEARVALUE
See Also:
Constant Field Values
Constructor Detail

SOCRPoint2D

public SOCRPoint2D()

SOCRPoint2D

public SOCRPoint2D(double X,
                   double Y)

SOCRPoint2D

public SOCRPoint2D(SOCRPoint2D pt)

SOCRPoint2D

public SOCRPoint2D(int prec)

SOCRPoint2D

public SOCRPoint2D(int prec,
                   double X,
                   double Y)

SOCRPoint2D

public SOCRPoint2D(int prec,
                   SOCRPoint2D pt)
Method Detail

setValues

public void setValues(double nx,
                      double ny)

getXString

public java.lang.String getXString()

getYString

public java.lang.String getYString()

isSelected

public boolean isSelected()

setSelected

public void setSelected(boolean sel)

distance

public double distance(SOCRPoint2D pt)

near

public boolean near(SOCRPoint2D pt)

print

public java.lang.String print()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object