moebiusViewer.shape
Class IndexedLineSet

java.lang.Object
  extended bymoebiusViewer.shape.AbstractShape
      extended bymoebiusViewer.shape.AbstractPointSet
          extended bymoebiusViewer.shape.PointSet
              extended bymoebiusViewer.shape.IndexedLineSet
All Implemented Interfaces:
java.lang.Cloneable, MoebiusShape, java.io.Serializable

public class IndexedLineSet
extends PointSet

See Also:
Serialized Form

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
IndexedLineSet()
           
IndexedLineSet(double[] aXY)
           
IndexedLineSet(double[] aXY, int[] anIndex, int[] aLength)
           
IndexedLineSet(int n)
           
 
Method Summary
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 set(int[] anIndex, int[] aLength)
          Deprecated.  
 void setIndexAndLength(int[] anIndex, int[] aLength)
           
 void setNumOfPoints(int newNumOfPoints)
           
 
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
 

Constructor Detail

IndexedLineSet

public IndexedLineSet()

IndexedLineSet

public IndexedLineSet(int n)

IndexedLineSet

public IndexedLineSet(double[] aXY)

IndexedLineSet

public IndexedLineSet(double[] aXY,
                      int[] anIndex,
                      int[] aLength)
Method Detail

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()