moebiusViewer.shape
Class IndexedLineSet
java.lang.Object
moebiusViewer.shape.AbstractShape
moebiusViewer.shape.AbstractPointSet
moebiusViewer.shape.PointSet
moebiusViewer.shape.IndexedLineSet
- All Implemented Interfaces:
- java.lang.Cloneable, MoebiusShape, java.io.Serializable
- public class IndexedLineSet
- extends PointSet
- See Also:
- Serialized Form
| Methods inherited from class moebiusViewer.shape.PointSet |
assignCoords, assignCoords, assignCoords, getCoords, getCoords, getCoords, getCoords, getDefaultPointColor, getNumOfPoints, getPointColor, getPointColor, getProjectiveCoords, getProjectiveCoords, getProjectiveCoords, getProjectiveCoords, getX, getX, getXY, getY, getY, isLabelPointsWithIndex, set, set, setCoords, setCoords, setCoords, setDefaultPointColor, setLabelPointsWithIndex, setNumOfPoints, setPointColor, setPointColor, setProjectiveCoords, setProjectiveCoords, setX, setX, setXY, setXY, setY, setY |
| Methods inherited from class moebiusViewer.shape.AbstractPointSet |
aIm, aRe, bIm, bRe, getCoordsAsArray1d, getLabelPointsWithIndex, getProjectiveCoordsAsArray1d, 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 |
IndexedLineSet
public IndexedLineSet()
IndexedLineSet
public IndexedLineSet(int n)
IndexedLineSet
public IndexedLineSet(double[] aXY)
IndexedLineSet
public IndexedLineSet(double[] aXY,
int[] anIndex,
int[] aLength)
isConsistent
public boolean isConsistent()
- Overrides:
isConsistent in class AbstractPointSet
getIndex
public int[] getIndex()
getLength
public int[] getLength()
getNumOfComponents
public int getNumOfComponents()
set
public void set(int[] anIndex,
int[] aLength)
- Deprecated.
setIndexAndLength
public void setIndexAndLength(int[] anIndex,
int[] aLength)
setNumOfPoints
public void setNumOfPoints(int newNumOfPoints)
- Overrides:
setNumOfPoints in class PointSet
checkConsistency
protected void checkConsistency()
- checks consistency of the current data and stores the result in consistent
draw
public void draw(MoebiusGraphics g)
- Specified by:
draw in interface MoebiusShape- Overrides:
draw in class PointSet
drawPoints
protected void drawPoints(MoebiusGraphics g)
- Overrides:
drawPoints in class AbstractPointSet
reverseComponent
public void reverseComponent(int comp)
getComponent
public Polygon getComponent(int comp)
close
public void close()