moebiusViewer.shape
Class Point

java.lang.Object
  extended bymoebiusViewer.shape.AbstractShape
      extended bymoebiusViewer.shape.Point
All Implemented Interfaces:
java.lang.Cloneable, MoebiusShape, java.io.Serializable
Direct Known Subclasses:
PointOnCircle

public class Point
extends AbstractShape

See Also:
Serialized Form

Field Summary
 
Fields inherited from class moebiusViewer.shape.AbstractShape
EPS, EPSSQR, propertyChangeSupport, toolList
 
Constructor Summary
Point()
           
Point(Complex z1)
           
Point(Complex z1, Complex z2)
           
Point(ComplexProjective1 aZ)
           
Point(double x, double y)
           
 
Method Summary
 void draw(MoebiusGraphics g)
           
 Complex getCoords()
           
 void getCoords(Complex z)
           
 void getCoords(ComplexProjective1 coords)
           
 java.awt.Color getPointColor()
           
 ComplexProjective1 getProjectiveCoords()
           
 double getX()
          Get the value of x.
 double getY()
          Get the value of y.
 void set(Complex z)
          Deprecated.  
 void set(double x, double y)
          Deprecated.  
 void setCoords(Complex z)
           
 void setCoords(double x, double y)
           
 void setPointColor(java.awt.Color v)
           
 void setProjectiveCoords(Complex a, Complex b)
           
 void setProjectiveCoords(ComplexProjective1 coords)
           
 void setProjectiveCoords(double aRe1, double aIm1, double bRe1, double bIm1)
           
 void setX(double x)
          Set the value of x.
 void setY(double y)
          Set the value of y.
 
Methods inherited from class moebiusViewer.shape.AbstractShape
addPropertyChangeListener, clone, dontFirePropertyChange, equals, firePropertyChange, firePropertyChange, getColor, getFilled, getLabel, getLineWidth, getPickable, getPointOutline, getPointRadius, getShowLabel, getString, getTools, isDoFirePropertyChange, isPickable, removePropertyChangeListener, reset, setColor, setDoFirePropertyChange, setFilled, setLabel, setLineWidth, setPickable, setPointOutline, setPointRadius, setShowLabel
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Point

public Point()

Point

public Point(double x,
             double y)

Point

public Point(Complex z1)

Point

public Point(Complex z1,
             Complex z2)

Point

public Point(ComplexProjective1 aZ)
Method Detail

getPointColor

public java.awt.Color getPointColor()

setPointColor

public void setPointColor(java.awt.Color v)

getProjectiveCoords

public ComplexProjective1 getProjectiveCoords()

getCoords

public Complex getCoords()

getCoords

public void getCoords(ComplexProjective1 coords)

setProjectiveCoords

public void setProjectiveCoords(ComplexProjective1 coords)

setProjectiveCoords

public void setProjectiveCoords(double aRe1,
                                double aIm1,
                                double bRe1,
                                double bIm1)

setProjectiveCoords

public void setProjectiveCoords(Complex a,
                                Complex b)

setCoords

public void setCoords(double x,
                      double y)

setCoords

public void setCoords(Complex z)

getCoords

public void getCoords(Complex z)

getX

public double getX()
Get the value of x.

Returns:
Value of x.

setX

public void setX(double x)
Set the value of x.


getY

public double getY()
Get the value of y.

Returns:
Value of y.

setY

public void setY(double y)
Set the value of y.


set

public void set(double x,
                double y)
Deprecated.  


set

public void set(Complex z)
Deprecated.  


draw

public void draw(MoebiusGraphics g)
Specified by:
draw in interface MoebiusShape
Overrides:
draw in class AbstractShape