moebiusViewer.shape
Class Triangulation

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

public class Triangulation
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
Triangulation()
           
 
Method Summary
 void draw(MoebiusGraphics g)
           
protected  void drawPoints(MoebiusGraphics g)
           
 int[] getIndex()
          Get the value of index.
 int getNumElements()
          Get the value of numElements.
 void setIndex(int[] v)
          Set the value of index.
 void setNumElements(int v)
          Set the value of numElements.
 
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, 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, isConsistent, 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

Triangulation

public Triangulation()
Method Detail

getIndex

public int[] getIndex()
Get the value of index.

Returns:
Value of index.

setIndex

public void setIndex(int[] v)
Set the value of index.

Parameters:
v - Value to assign to index.

getNumElements

public int getNumElements()
Get the value of numElements.

Returns:
Value of numElements.

setNumElements

public void setNumElements(int v)
Set the value of numElements.

Parameters:
v - Value to assign to numElements.

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