java.lang.Objectcomputational.geometry.Polygon
computational.geometry.SimplePolygon
computational.geometry.ConvexPolygon
computational.geometry.Triangle
public class Triangle
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class computational.geometry.Polygon |
|---|
Polygon.Edge, Polygon.Vertex |
| Field Summary |
|---|
| Fields inherited from class computational.geometry.Polygon |
|---|
vertices |
| Constructor Summary | |
|---|---|
Triangle(Point p0,
Point p1,
Point p2)
|
|
| Method Summary |
|---|
| Methods inherited from class computational.geometry.ConvexPolygon |
|---|
addVertex, addVertex, contains, deleteVertex, deleteVertex, moveVertex, moveVertex |
| Methods inherited from class computational.geometry.SimplePolygon |
|---|
diagonal, diagonal, ear |
| Methods inherited from class computational.geometry.Polygon |
|---|
area, boundingBox, clear, clone, draw, drawLabels, drawPoints, equals, getBottomVertex, getEdge, getEdges, getFirstVertex, getIndices, getLabel, getLeftVertex, getNext, getPoints, getPrevious, getRightVertex, getTopVertex, getVertex, getVertices, indexOf, isClockwiseOriented, isConvex, isSimple, perimeter, restore, setLabel, size, toString, translate, updateExtremeVertices |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Triangle(Point p0,
Point p1,
Point p2)