moebiusViewer.shape
Class PointOnCircle

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

public class PointOnCircle
extends Point

See Also:
Serialized Form

Field Summary
 Circle circle
           
 boolean drawCircle
           
 
Fields inherited from class moebiusViewer.shape.AbstractShape
EPS, EPSSQR, propertyChangeSupport, toolList
 
Constructor Summary
PointOnCircle()
           
PointOnCircle(double posX, double posY, double mX, double mY, double r)
           
 
Method Summary
 void draw(MoebiusGraphics context)
           
 Circle getCircle()
           
 boolean getDrawCircle()
           
 double getRadius()
           
 void set(double posX, double posY)
           
 void setDrawCircle(boolean b)
           
 void setRadius(double r)
           
 
Methods inherited from class moebiusViewer.shape.Point
getCoords, getCoords, getCoords, getPointColor, getProjectiveCoords, getX, getY, set, setCoords, setCoords, setPointColor, setProjectiveCoords, setProjectiveCoords, setProjectiveCoords, setX, setY
 
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
 

Field Detail

circle

public Circle circle

drawCircle

public boolean drawCircle
Constructor Detail

PointOnCircle

public PointOnCircle()

PointOnCircle

public PointOnCircle(double posX,
                     double posY,
                     double mX,
                     double mY,
                     double r)
Method Detail

set

public void set(double posX,
                double posY)
Overrides:
set in class Point

getRadius

public double getRadius()

setRadius

public void setRadius(double r)

draw

public void draw(MoebiusGraphics context)
Specified by:
draw in interface MoebiusShape
Overrides:
draw in class Point

getDrawCircle

public boolean getDrawCircle()

setDrawCircle

public void setDrawCircle(boolean b)

getCircle

public Circle getCircle()