|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectmoebiusViewer.shape.AbstractShape
moebiusViewer.shape.AbstractPointSet
moebiusViewer.shape.PointSet
| Field Summary |
| Fields inherited from class moebiusViewer.shape.AbstractPointSet |
aIm, aRe, bIm, bRe, consistent, defaultPointColor, labelPointsWithIndex, numOfPoints, pointColor |
| Fields inherited from class moebiusViewer.shape.AbstractShape |
EPS, EPSSQR, propertyChangeSupport, toolList |
| Constructor Summary | |
PointSet()
|
|
PointSet(Complex[] coords)
|
|
PointSet(ComplexProjective1[] coords)
|
|
PointSet(double[] coords)
|
|
PointSet(int n)
|
|
| Method Summary | |
void |
assignCoords(Complex[] coords)
assign all complex coords at once |
void |
assignCoords(ComplexProjective1[] coords)
assign all coords at once |
void |
assignCoords(double[] coords)
assign all euclidean coords at once |
void |
draw(MoebiusGraphics g)
|
Complex[] |
getCoords()
|
void |
getCoords(Complex[] coords)
|
Complex |
getCoords(int index)
|
void |
getCoords(int index,
Complex coords)
|
java.awt.Color |
getDefaultPointColor()
|
int |
getNumOfPoints()
|
java.awt.Color[] |
getPointColor()
|
java.awt.Color |
getPointColor(int anIndex)
|
ComplexProjective1[] |
getProjectiveCoords()
|
void |
getProjectiveCoords(ComplexProjective1[] coords)
|
ComplexProjective1 |
getProjectiveCoords(int index)
|
void |
getProjectiveCoords(int index,
ComplexProjective1 coords)
|
double[] |
getX()
|
double |
getX(int index)
|
double[] |
getXY()
|
double[] |
getY()
|
double |
getY(int index)
|
boolean |
isLabelPointsWithIndex()
|
void |
set(double aX,
double aY,
int anIndex)
|
void |
set(int anIndex,
double aX,
double aY)
Deprecated. |
void |
setCoords(Complex[] coords)
Deprecated. |
void |
setCoords(int index,
Complex coords)
|
void |
setCoords(int index,
double x,
double y)
set euclidean Coords (x, y) at Index index |
void |
setDefaultPointColor(java.awt.Color color)
|
void |
setLabelPointsWithIndex(boolean b)
|
void |
setNumOfPoints(int newNumOfPoints)
|
protected void |
setNumOfPoints(int newNumOfPoints,
boolean assignDefault)
this must not fire property change. |
void |
setPointColor(java.awt.Color[] aPointColor)
|
void |
setPointColor(int anIndex,
java.awt.Color aPointColor)
|
void |
setProjectiveCoords(int index,
ComplexProjective1 z)
|
void |
setProjectiveCoords(int index,
double aRe1,
double aIm1,
double bRe1,
double bIm1)
|
void |
setX(double[] x)
|
void |
setX(int index,
double x)
|
void |
setXY(double[] aXY)
Deprecated. |
void |
setXY(int anIndex,
double aX,
double aY)
Deprecated. |
void |
setY(double[] y)
|
void |
setY(int index,
double y)
|
| Methods inherited from class moebiusViewer.shape.AbstractPointSet |
aIm, aRe, bIm, bRe, drawPoints, getCoordsAsArray1d, getLabelPointsWithIndex, getProjectiveCoordsAsArray1d, isConsistent, setColorOfAllPoints, setConsistent, setProjectiveCoords, 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 |
| Constructor Detail |
public PointSet()
public PointSet(int n)
public PointSet(double[] coords)
public PointSet(Complex[] coords)
public PointSet(ComplexProjective1[] coords)
| Method Detail |
public boolean isLabelPointsWithIndex()
isLabelPointsWithIndex in class AbstractPointSetpublic void setLabelPointsWithIndex(boolean b)
setLabelPointsWithIndex in class AbstractPointSetpublic int getNumOfPoints()
getNumOfPoints in class AbstractPointSetpublic void setNumOfPoints(int newNumOfPoints)
setNumOfPoints in class AbstractPointSet
protected void setNumOfPoints(int newNumOfPoints,
boolean assignDefault)
AbstractPointSet
setNumOfPoints in class AbstractPointSet
public void setProjectiveCoords(int index,
double aRe1,
double aIm1,
double bRe1,
double bIm1)
setProjectiveCoords in class AbstractPointSet
public void setProjectiveCoords(int index,
ComplexProjective1 z)
setProjectiveCoords in class AbstractPointSetpublic void getProjectiveCoords(ComplexProjective1[] coords)
getProjectiveCoords in class AbstractPointSetpublic ComplexProjective1[] getProjectiveCoords()
public void assignCoords(ComplexProjective1[] coords)
AbstractPointSet
assignCoords in class AbstractPointSet
public void getProjectiveCoords(int index,
ComplexProjective1 coords)
getProjectiveCoords in class AbstractPointSetpublic ComplexProjective1 getProjectiveCoords(int index)
getProjectiveCoords in class AbstractPointSetpublic Complex getCoords(int index)
getCoords in class AbstractPointSet
public void setCoords(int index,
Complex coords)
setCoords in class AbstractPointSet
public void getCoords(int index,
Complex coords)
getCoords in class AbstractPointSetpublic void getCoords(Complex[] coords)
getCoords in class AbstractPointSetpublic Complex[] getCoords()
public void setCoords(Complex[] coords)
public void assignCoords(Complex[] coords)
AbstractPointSet
assignCoords in class AbstractPointSet
public void set(double aX,
double aY,
int anIndex)
public void set(int anIndex,
double aX,
double aY)
public void setXY(int anIndex,
double aX,
double aY)
public void setCoords(int index,
double x,
double y)
AbstractPointSet
setCoords in class AbstractPointSetpublic double getX(int index)
getX in class AbstractPointSet
public void setX(int index,
double x)
setX in class AbstractPointSetpublic double[] getX()
getX in class AbstractPointSetpublic void setX(double[] x)
setX in class AbstractPointSetpublic double getY(int index)
getY in class AbstractPointSet
public void setY(int index,
double y)
setY in class AbstractPointSetpublic double[] getY()
getY in class AbstractPointSetpublic void setY(double[] y)
setY in class AbstractPointSetpublic double[] getXY()
getXY in class AbstractPointSetpublic void setXY(double[] aXY)
public void assignCoords(double[] coords)
AbstractPointSet
assignCoords in class AbstractPointSetpublic java.awt.Color[] getPointColor()
getPointColor in class AbstractPointSetpublic void setPointColor(java.awt.Color[] aPointColor)
setPointColor in class AbstractPointSetpublic java.awt.Color getPointColor(int anIndex)
getPointColor in class AbstractPointSet
public void setPointColor(int anIndex,
java.awt.Color aPointColor)
setPointColor in class AbstractPointSetpublic java.awt.Color getDefaultPointColor()
getDefaultPointColor in class AbstractPointSetpublic void setDefaultPointColor(java.awt.Color color)
setDefaultPointColor in class AbstractPointSetpublic void draw(MoebiusGraphics g)
draw in interface MoebiusShapedraw in class AbstractPointSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||