moebiusViewer.shape
Class AbstractPointSet
java.lang.Object
moebiusViewer.shape.AbstractShape
moebiusViewer.shape.AbstractPointSet
- All Implemented Interfaces:
- java.lang.Cloneable, MoebiusShape, java.io.Serializable
- Direct Known Subclasses:
- PointSet, QuadMesh
- public abstract class AbstractPointSet
- extends AbstractShape
- See Also:
- Serialized Form
|
Method Summary |
double[] |
aIm()
|
double[] |
aRe()
|
protected void |
assignCoords(Complex[] coords)
assign all complex coords at once |
protected void |
assignCoords(ComplexProjective1[] coords)
assign all coords at once |
protected void |
assignCoords(double[] coords)
assign all euclidean coords at once |
double[] |
bIm()
|
double[] |
bRe()
|
void |
draw(MoebiusGraphics g)
|
protected void |
drawPoints(MoebiusGraphics g)
|
protected void |
getCoords(Complex[] coords)
|
protected Complex |
getCoords(int index)
|
protected void |
getCoords(int index,
Complex coords)
|
protected Complex[] |
getCoordsAsArray1d()
|
protected java.awt.Color |
getDefaultPointColor()
|
protected boolean |
getLabelPointsWithIndex()
|
protected int |
getNumOfPoints()
|
protected java.awt.Color[] |
getPointColor()
|
protected java.awt.Color |
getPointColor(int index)
|
protected void |
getProjectiveCoords(ComplexProjective1[] coords)
|
protected ComplexProjective1 |
getProjectiveCoords(int index)
|
protected void |
getProjectiveCoords(int index,
ComplexProjective1 coords)
|
protected ComplexProjective1[] |
getProjectiveCoordsAsArray1d()
|
protected double[] |
getX()
|
protected double |
getX(int index)
|
protected double[] |
getXY()
|
protected double[] |
getY()
|
protected double |
getY(int index)
|
protected boolean |
isConsistent()
|
protected boolean |
isLabelPointsWithIndex()
|
protected void |
setColorOfAllPoints(java.awt.Color newPointColor)
|
protected void |
setConsistent(boolean aBoolean)
|
protected void |
setCoords(int index,
Complex z)
|
protected void |
setCoords(int index,
double x,
double y)
set euclidean Coords (x, y) at Index index |
protected void |
setDefaultPointColor(java.awt.Color defaultPointColor)
|
protected void |
setLabelPointsWithIndex(boolean aBoolean)
|
protected void |
setNumOfPoints(int newNumOfPoints)
|
protected void |
setNumOfPoints(int newNumOfPoints,
boolean assignDefault)
this must not fire property change. |
protected void |
setPointColor(java.awt.Color[] pointColor)
|
protected void |
setPointColor(int index,
java.awt.Color aPointColor)
|
protected void |
setProjectiveCoords(int index,
Complex z,
Complex u)
|
protected void |
setProjectiveCoords(int index,
ComplexProjective1 z)
|
protected void |
setProjectiveCoords(int index,
double aRe1,
double aIm1,
double bRe1,
double bIm1)
|
protected void |
setX(double[] x)
|
protected void |
setX(int anIndex,
double x)
|
protected void |
setY(double[] y)
|
protected void |
setY(int index,
double y)
|
protected void |
updatePointColor()
|
| 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 |
numOfPoints
protected int numOfPoints
aRe
protected double[] aRe
aIm
protected double[] aIm
bRe
protected double[] bRe
bIm
protected double[] bIm
pointColor
protected java.awt.Color[] pointColor
defaultPointColor
protected java.awt.Color defaultPointColor
labelPointsWithIndex
protected boolean labelPointsWithIndex
consistent
protected boolean consistent
AbstractPointSet
protected AbstractPointSet()
AbstractPointSet
protected AbstractPointSet(int n)
AbstractPointSet
protected AbstractPointSet(double[] coords)
AbstractPointSet
protected AbstractPointSet(Complex[] coords)
AbstractPointSet
protected AbstractPointSet(ComplexProjective1[] coords)
aRe
public double[] aRe()
aIm
public double[] aIm()
bRe
public double[] bRe()
bIm
public double[] bIm()
isLabelPointsWithIndex
protected boolean isLabelPointsWithIndex()
getLabelPointsWithIndex
protected boolean getLabelPointsWithIndex()
setLabelPointsWithIndex
protected void setLabelPointsWithIndex(boolean aBoolean)
isConsistent
protected boolean isConsistent()
setConsistent
protected void setConsistent(boolean aBoolean)
getNumOfPoints
protected int getNumOfPoints()
setNumOfPoints
protected void setNumOfPoints(int newNumOfPoints)
setNumOfPoints
protected void setNumOfPoints(int newNumOfPoints,
boolean assignDefault)
- this must not fire property change.
updatePointColor
protected void updatePointColor()
setProjectiveCoords
protected void setProjectiveCoords(int index,
double aRe1,
double aIm1,
double bRe1,
double bIm1)
setProjectiveCoords
protected void setProjectiveCoords(int index,
ComplexProjective1 z)
setProjectiveCoords
protected void setProjectiveCoords(int index,
Complex z,
Complex u)
getProjectiveCoords
protected void getProjectiveCoords(ComplexProjective1[] coords)
getProjectiveCoordsAsArray1d
protected ComplexProjective1[] getProjectiveCoordsAsArray1d()
getCoords
protected void getCoords(Complex[] coords)
getCoordsAsArray1d
protected Complex[] getCoordsAsArray1d()
assignCoords
protected void assignCoords(ComplexProjective1[] coords)
- assign all coords at once
getProjectiveCoords
protected void getProjectiveCoords(int index,
ComplexProjective1 coords)
getProjectiveCoords
protected ComplexProjective1 getProjectiveCoords(int index)
getCoords
protected Complex getCoords(int index)
setCoords
protected void setCoords(int index,
Complex z)
getCoords
protected void getCoords(int index,
Complex coords)
assignCoords
protected void assignCoords(Complex[] coords)
- assign all complex coords at once
setCoords
protected void setCoords(int index,
double x,
double y)
- set euclidean Coords (x, y) at Index index
getX
protected double getX(int index)
setX
protected void setX(int anIndex,
double x)
getX
protected double[] getX()
setX
protected void setX(double[] x)
getY
protected double getY(int index)
setY
protected void setY(int index,
double y)
getY
protected double[] getY()
setY
protected void setY(double[] y)
getXY
protected double[] getXY()
assignCoords
protected void assignCoords(double[] coords)
- assign all euclidean coords at once
getPointColor
protected java.awt.Color[] getPointColor()
setPointColor
protected void setPointColor(java.awt.Color[] pointColor)
getPointColor
protected java.awt.Color getPointColor(int index)
setPointColor
protected void setPointColor(int index,
java.awt.Color aPointColor)
getDefaultPointColor
protected java.awt.Color getDefaultPointColor()
setDefaultPointColor
protected void setDefaultPointColor(java.awt.Color defaultPointColor)
setColorOfAllPoints
protected void setColorOfAllPoints(java.awt.Color newPointColor)
draw
public void draw(MoebiusGraphics g)
- Specified by:
draw in interface MoebiusShape- Overrides:
draw in class AbstractShape
drawPoints
protected void drawPoints(MoebiusGraphics g)