public class Polygon extends PointSet
Modifier and Type | Field and Description |
---|---|
protected boolean |
closed |
aIm, aRe, bIm, bRe, consistent, defaultPointColor, labelPointsWithIndex, numOfPoints, pointColor
EPS, EPSSQR, moebiusShapeChangeSupport, propertyChangeSupport, toolList
Modifier and Type | Method and Description |
---|---|
Polygon |
concat(Polygon other) |
Polygon |
copy() |
void |
draw(MoebiusGraphics g) |
protected void |
drawPoints(MoebiusGraphics g) |
boolean |
isClosed() |
Polygon |
reverse() |
void |
setClosed(boolean v) |
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, setNumOfPoints, setPointColor, setPointColor, setProjectiveCoords, setProjectiveCoords, setX, setX, setY, setY
aIm, aRe, bIm, bRe, getCoordsAsArray1d, getLabelPointsWithIndex, getProjectiveCoordsAsArray1d, isConsistent, 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 Polygon copy()
public void draw(MoebiusGraphics g)
draw
in interface MoebiusShape
draw
in class PointSet
protected void drawPoints(MoebiusGraphics g)
drawPoints
in class AbstractPointSet
public boolean isClosed()
public Polygon reverse()
public void setClosed(boolean v)