public class IndexedLineSet extends PointSet
Modifier and Type | Field and Description |
---|---|
protected int[] |
index |
protected int[] |
length |
aIm, aRe, bIm, bRe, consistent, defaultPointColor, labelPointsWithIndex, numOfPoints, pointColor
EPS, EPSSQR, moebiusShapeChangeSupport, propertyChangeSupport, toolList
Constructor and Description |
---|
IndexedLineSet() |
IndexedLineSet(double[] aXY) |
IndexedLineSet(double[] aXY,
int[] anIndex,
int[] aLength) |
IndexedLineSet(int n) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkConsistency()
checks consistency of the current data and stores the result in consistent
|
void |
close() |
void |
draw(MoebiusGraphics g) |
protected void |
drawPoints(MoebiusGraphics g) |
Polygon |
getComponent(int comp) |
int[] |
getIndex() |
int[] |
getLength() |
int |
getNumOfComponents() |
boolean |
isConsistent() |
void |
reverseComponent(int comp) |
void |
setIndexAndLength(int[] anIndex,
int[] aLength) |
void |
setNumOfPoints(int newNumOfPoints) |
assignCoords, assignCoords, assignCoords, getCoords, getCoords, getCoords, getCoords, getDefaultPointColor, getNumOfPoints, getPointColor, getPointColor, getProjectiveCoords, getProjectiveCoords, getProjectiveCoords, getProjectiveCoords, getX, getX, getXY, getY, getY, isLabelPointsWithIndex, set, setCoords, setCoords, setDefaultPointColor, setLabelPointsWithIndex, setNumOfPoints, setPointColor, setPointColor, setProjectiveCoords, setProjectiveCoords, setX, setX, setY, setY
aIm, aRe, bIm, bRe, getCoordsAsArray1d, getLabelPointsWithIndex, getProjectiveCoordsAsArray1d, 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 IndexedLineSet()
public IndexedLineSet(double[] aXY)
public IndexedLineSet(double[] aXY, int[] anIndex, int[] aLength)
public IndexedLineSet(int n)
protected void checkConsistency()
public void close()
public void draw(MoebiusGraphics g)
draw
in interface MoebiusShape
draw
in class PointSet
protected void drawPoints(MoebiusGraphics g)
drawPoints
in class AbstractPointSet
public Polygon getComponent(int comp)
public int[] getIndex()
public int[] getLength()
public int getNumOfComponents()
public boolean isConsistent()
isConsistent
in class AbstractPointSet
public void reverseComponent(int comp)
public void setIndexAndLength(int[] anIndex, int[] aLength)
public void setNumOfPoints(int newNumOfPoints)
setNumOfPoints
in class PointSet