public class PointSet extends AbstractPointSet
aIm, aRe, bIm, bRe, consistent, defaultPointColor, labelPointsWithIndex, numOfPoints, pointColor
EPS, EPSSQR, moebiusShapeChangeSupport, propertyChangeSupport, toolList
Constructor and Description |
---|
PointSet() |
PointSet(de.jtem.mfc.field.Complex[] coords) |
PointSet(de.jtem.mfc.geometry.ComplexProjective1[] coords) |
PointSet(double[] coords) |
PointSet(int n) |
Modifier and Type | Method and Description |
---|---|
void |
assignCoords(de.jtem.mfc.field.Complex[] coords)
assign all complex coords at once
|
void |
assignCoords(de.jtem.mfc.geometry.ComplexProjective1[] coords)
assign all coords at once
|
void |
assignCoords(double[] coords)
assign all euclidean coords at once
|
void |
draw(MoebiusGraphics g) |
de.jtem.mfc.field.Complex[] |
getCoords() |
void |
getCoords(de.jtem.mfc.field.Complex[] coords) |
de.jtem.mfc.field.Complex |
getCoords(int index) |
void |
getCoords(int index,
de.jtem.mfc.field.Complex coords) |
Color |
getDefaultPointColor() |
int |
getNumOfPoints() |
Color[] |
getPointColor() |
Color |
getPointColor(int anIndex) |
de.jtem.mfc.geometry.ComplexProjective1[] |
getProjectiveCoords() |
void |
getProjectiveCoords(de.jtem.mfc.geometry.ComplexProjective1[] coords) |
de.jtem.mfc.geometry.ComplexProjective1 |
getProjectiveCoords(int index) |
void |
getProjectiveCoords(int index,
de.jtem.mfc.geometry.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 |
setCoords(int index,
de.jtem.mfc.field.Complex coords) |
void |
setCoords(int index,
double x,
double y)
set euclidean Coords (x, y) at Index index
|
void |
setDefaultPointColor(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(Color[] aPointColor) |
void |
setPointColor(int anIndex,
Color aPointColor) |
void |
setProjectiveCoords(int index,
de.jtem.mfc.geometry.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 |
setY(double[] y) |
void |
setY(int index,
double y) |
aIm, aRe, bIm, bRe, drawPoints, getCoordsAsArray1d, getLabelPointsWithIndex, getProjectiveCoordsAsArray1d, isConsistent, setColorOfAllPoints, setConsistent, setProjectiveCoords, updatePointColor
addMoebiusShapeChangeListener, addPropertyChangeListener, clone, dontFirePropertyChange, equals, fireMoebiusShapeChange, fireMoebiusShapeChange, firePropertyChange, firePropertyChange, getColor, getFilled, getLabel, getLineWidth, getPickable, getPointOutline, getPointRadius, getShowLabel, getString, getTools, isDoFirePropertyChange, isPickable, removeMoebiusShapeChangeListener, removePropertyChangeListener, reset, setColor, setDoFirePropertyChange, setFilled, setLabel, setLineWidth, setPickable, setPointOutline, setPointRadius, setShowLabel
public PointSet()
public PointSet(de.jtem.mfc.field.Complex[] coords)
public PointSet(de.jtem.mfc.geometry.ComplexProjective1[] coords)
public PointSet(double[] coords)
public PointSet(int n)
public void assignCoords(de.jtem.mfc.field.Complex[] coords)
AbstractPointSet
assignCoords
in class AbstractPointSet
public void assignCoords(de.jtem.mfc.geometry.ComplexProjective1[] coords)
AbstractPointSet
assignCoords
in class AbstractPointSet
public void assignCoords(double[] coords)
AbstractPointSet
assignCoords
in class AbstractPointSet
public void draw(MoebiusGraphics g)
draw
in interface MoebiusShape
draw
in class AbstractPointSet
public de.jtem.mfc.field.Complex[] getCoords()
public void getCoords(de.jtem.mfc.field.Complex[] coords)
getCoords
in class AbstractPointSet
public de.jtem.mfc.field.Complex getCoords(int index)
getCoords
in class AbstractPointSet
public void getCoords(int index, de.jtem.mfc.field.Complex coords)
getCoords
in class AbstractPointSet
public Color getDefaultPointColor()
getDefaultPointColor
in class AbstractPointSet
public int getNumOfPoints()
getNumOfPoints
in class AbstractPointSet
public Color[] getPointColor()
getPointColor
in class AbstractPointSet
public Color getPointColor(int anIndex)
getPointColor
in class AbstractPointSet
public de.jtem.mfc.geometry.ComplexProjective1[] getProjectiveCoords()
public void getProjectiveCoords(de.jtem.mfc.geometry.ComplexProjective1[] coords)
getProjectiveCoords
in class AbstractPointSet
public de.jtem.mfc.geometry.ComplexProjective1 getProjectiveCoords(int index)
getProjectiveCoords
in class AbstractPointSet
public void getProjectiveCoords(int index, de.jtem.mfc.geometry.ComplexProjective1 coords)
getProjectiveCoords
in class AbstractPointSet
public double[] getX()
getX
in class AbstractPointSet
public double getX(int index)
getX
in class AbstractPointSet
public double[] getXY()
getXY
in class AbstractPointSet
public double[] getY()
getY
in class AbstractPointSet
public double getY(int index)
getY
in class AbstractPointSet
public boolean isLabelPointsWithIndex()
isLabelPointsWithIndex
in class AbstractPointSet
public void set(double aX, double aY, int anIndex)
public void setCoords(int index, de.jtem.mfc.field.Complex coords)
setCoords
in class AbstractPointSet
public void setCoords(int index, double x, double y)
AbstractPointSet
setCoords
in class AbstractPointSet
public void setDefaultPointColor(Color color)
setDefaultPointColor
in class AbstractPointSet
public void setLabelPointsWithIndex(boolean b)
setLabelPointsWithIndex
in class AbstractPointSet
public void setNumOfPoints(int newNumOfPoints)
setNumOfPoints
in class AbstractPointSet
protected void setNumOfPoints(int newNumOfPoints, boolean assignDefault)
AbstractPointSet
setNumOfPoints
in class AbstractPointSet
public void setPointColor(Color[] aPointColor)
setPointColor
in class AbstractPointSet
public void setPointColor(int anIndex, Color aPointColor)
setPointColor
in class AbstractPointSet
public void setProjectiveCoords(int index, de.jtem.mfc.geometry.ComplexProjective1 z)
setProjectiveCoords
in class AbstractPointSet
public void setProjectiveCoords(int index, double aRe1, double aIm1, double bRe1, double bIm1)
setProjectiveCoords
in class AbstractPointSet
public void setX(double[] x)
setX
in class AbstractPointSet
public void setX(int index, double x)
setX
in class AbstractPointSet
public void setY(double[] y)
setY
in class AbstractPointSet
public void setY(int index, double y)
setY
in class AbstractPointSet