public class QuadMesh extends AbstractPointSet
aIm, aRe, bIm, bRe, consistent, defaultPointColor, labelPointsWithIndex, numOfPoints, pointColor
EPS, EPSSQR, moebiusShapeChangeSupport, propertyChangeSupport, toolList
Constructor and Description |
---|
QuadMesh() |
QuadMesh(de.jtem.mfc.field.Complex[] coords) |
QuadMesh(de.jtem.mfc.geometry.ComplexProjective1[] coords) |
QuadMesh(double[] coords) |
QuadMesh(int m,
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.field.Complex[] coords,
int m,
int n) |
void |
assignCoords(de.jtem.mfc.geometry.ComplexProjective1[] coords)
assign all coords at once
|
void |
assignCoords(de.jtem.mfc.geometry.ComplexProjective1[] coords,
int m,
int n) |
void |
assignCoords(double[] coords)
assign all euclidean coords at once
|
void |
assignCoords(double[] coords,
int m,
int n) |
void |
assignSquareGrid(int n,
int m) |
protected void |
checkConsistency()
checks the consistency of the current data and stores the result in consistent
|
void |
draw(MoebiusGraphics g) |
de.jtem.mfc.field.Complex[][] |
getCoords() |
de.jtem.mfc.field.Complex |
getCoords(int i,
int j) |
void |
getCoords(int i,
int j,
de.jtem.mfc.field.Complex coords) |
Color |
getDefaultPointColor() |
boolean |
getLabelPointsWithIndex() |
int |
getNumOfColumns()
Get the value of numOfColumns.
|
int |
getNumOfRows()
Get the value of numOfRows.
|
Color[] |
getPointColor() |
Color |
getPointColor(int i,
int j) |
de.jtem.mfc.geometry.ComplexProjective1[][] |
getProjectiveCoords() |
de.jtem.mfc.geometry.ComplexProjective1 |
getProjectiveCoords(int i,
int j) |
void |
getProjectiveCoords(int i,
int j,
de.jtem.mfc.geometry.ComplexProjective1 coords) |
double[] |
getX() |
double |
getX(int i,
int j) |
double[] |
getXY() |
double[] |
getY() |
double |
getY(int i,
int j) |
boolean |
isClosedInXDirection() |
boolean |
isClosedInYDirection() |
boolean |
isConsistent() |
boolean |
isDrawHorizontalLines() |
boolean |
isDrawPoints() |
boolean |
isDrawVerticalLines() |
boolean |
isLabelPointsWithIndex() |
void |
setClosedInXDirection(boolean xClosed) |
void |
setClosedInYDirection(boolean yClosed) |
void |
setCoords(de.jtem.mfc.field.Complex[][] coords) |
void |
setCoords(int i,
int j,
de.jtem.mfc.field.Complex z) |
void |
setCoords(int i,
int j,
double x,
double y)
set euclidean Coords (x, y) at Index (i,j)
|
void |
setDefaultPointColor(Color color) |
void |
setDrawHorizontalLines(boolean b) |
void |
setDrawPoints(boolean b) |
void |
setDrawVerticalLines(boolean b) |
void |
setLabelPointsWithIndex(boolean aBoolean) |
void |
setNumOfColumns(int v)
Set the value of numOfColumns.
|
void |
setNumOfRows(int v)
Set the value of numOfRows.
|
void |
setNumOfRowsAndColumns(int m,
int n) |
protected void |
setNumOfRowsAndColumns(int m,
int n,
boolean doFirePropertyChange) |
void |
setPointColor(Color[] pointColor) |
void |
setPointColor(int i,
int j,
Color aPointColor) |
void |
setProjectiveCoords(de.jtem.mfc.geometry.ComplexProjective1[][] coords) |
void |
setProjectiveCoords(int i,
int j,
de.jtem.mfc.geometry.ComplexProjective1 z) |
void |
setProjectiveCoords(int i,
int j,
double aRe1,
double aIm1,
double bRe1,
double bIm1) |
void |
setX(double[] x) |
void |
setX(int i,
int j,
double x) |
void |
setY(double[] y) |
void |
setY(int i,
int j,
double y) |
aIm, aRe, bIm, bRe, drawPoints, getCoords, getCoords, getCoords, getCoordsAsArray1d, getNumOfPoints, getPointColor, getProjectiveCoords, getProjectiveCoords, getProjectiveCoords, getProjectiveCoordsAsArray1d, getX, getY, setColorOfAllPoints, setConsistent, setCoords, setCoords, setNumOfPoints, setNumOfPoints, setPointColor, setProjectiveCoords, setProjectiveCoords, setProjectiveCoords, setX, setY, 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 QuadMesh()
public QuadMesh(de.jtem.mfc.field.Complex[] coords)
public QuadMesh(de.jtem.mfc.geometry.ComplexProjective1[] coords)
public QuadMesh(double[] coords)
public QuadMesh(int m, int n)
public void assignCoords(de.jtem.mfc.field.Complex[] coords)
assignCoords
in class AbstractPointSet
public void assignCoords(de.jtem.mfc.field.Complex[] coords, int m, int n)
public void assignCoords(de.jtem.mfc.geometry.ComplexProjective1[] coords)
assignCoords
in class AbstractPointSet
public void assignCoords(de.jtem.mfc.geometry.ComplexProjective1[] coords, int m, int n)
public void assignCoords(double[] coords)
assignCoords
in class AbstractPointSet
public void assignCoords(double[] coords, int m, int n)
public void assignSquareGrid(int n, int m)
protected void checkConsistency()
public void draw(MoebiusGraphics g)
draw
in interface MoebiusShape
draw
in class AbstractPointSet
public de.jtem.mfc.field.Complex[][] getCoords()
public de.jtem.mfc.field.Complex getCoords(int i, int j)
public void getCoords(int i, int j, de.jtem.mfc.field.Complex coords)
public Color getDefaultPointColor()
getDefaultPointColor
in class AbstractPointSet
public boolean getLabelPointsWithIndex()
getLabelPointsWithIndex
in class AbstractPointSet
public int getNumOfColumns()
public int getNumOfRows()
public Color[] getPointColor()
getPointColor
in class AbstractPointSet
public Color getPointColor(int i, int j)
public de.jtem.mfc.geometry.ComplexProjective1[][] getProjectiveCoords()
public de.jtem.mfc.geometry.ComplexProjective1 getProjectiveCoords(int i, int j)
public void getProjectiveCoords(int i, int j, de.jtem.mfc.geometry.ComplexProjective1 coords)
public double[] getX()
getX
in class AbstractPointSet
public double getX(int i, int j)
public double[] getXY()
getXY
in class AbstractPointSet
public double[] getY()
getY
in class AbstractPointSet
public double getY(int i, int j)
public boolean isClosedInXDirection()
public boolean isClosedInYDirection()
public boolean isConsistent()
isConsistent
in class AbstractPointSet
public boolean isDrawHorizontalLines()
public boolean isDrawPoints()
public boolean isDrawVerticalLines()
public boolean isLabelPointsWithIndex()
isLabelPointsWithIndex
in class AbstractPointSet
public void setClosedInXDirection(boolean xClosed)
public void setClosedInYDirection(boolean yClosed)
public void setCoords(de.jtem.mfc.field.Complex[][] coords)
public void setCoords(int i, int j, de.jtem.mfc.field.Complex z)
public void setCoords(int i, int j, double x, double y)
public void setDefaultPointColor(Color color)
setDefaultPointColor
in class AbstractPointSet
public void setDrawHorizontalLines(boolean b)
public void setDrawPoints(boolean b)
public void setDrawVerticalLines(boolean b)
public void setLabelPointsWithIndex(boolean aBoolean)
setLabelPointsWithIndex
in class AbstractPointSet
public void setNumOfColumns(int v)
v
- Value to assign to numOfColumns.public void setNumOfRows(int v)
v
- Value to assign to numOfRows.public void setNumOfRowsAndColumns(int m, int n)
protected void setNumOfRowsAndColumns(int m, int n, boolean doFirePropertyChange)
public void setPointColor(Color[] pointColor)
setPointColor
in class AbstractPointSet
public void setPointColor(int i, int j, Color aPointColor)
public void setProjectiveCoords(de.jtem.mfc.geometry.ComplexProjective1[][] coords)
public void setProjectiveCoords(int i, int j, de.jtem.mfc.geometry.ComplexProjective1 z)
public void setProjectiveCoords(int i, int j, double aRe1, double aIm1, double bRe1, double bIm1)
public void setX(double[] x)
setX
in class AbstractPointSet
public void setX(int i, int j, double x)
public void setY(double[] y)
setY
in class AbstractPointSet
public void setY(int i, int j, double y)