org.dolben.poly
Class Equilateral

java.lang.Object
  extended by org.dolben.poly.Polyhedron
      extended by org.dolben.poly.Equilateral
Direct Known Subclasses:
Cuboctahedron, Dodecahedron, Icosahedron, Icosidodecahedron, Octahedron, Rhombicosidodecahedron, Rhombicuboctahedron, SnubCube, SnubDodecahedron, Tetrahedron, TruncatedCube, TruncatedCuboctahedron, TruncatedDodecahedron, TruncatedIcosahedron, TruncatedIcosidodecahedron, TruncatedOctahedron, TruncatedTetrahedron

public abstract class Equilateral
extends Polyhedron

A polyhedron that has edges that are all the same length. create() only sets the vertices. Constructor sets the faces.


Field Summary
 
Fields inherited from class org.dolben.poly.Polyhedron
face, vertex
 
Constructor Summary
Equilateral()
           
 
Method Summary
protected  void setEdgeLength()
          Sets the length of an edge.
 
Methods inherited from class org.dolben.poly.Polyhedron
create, getFace, getFaceIndices, getFaces, getPosition, getRadius, getVertex, getVertexCount, getVertices, rotate, scale, setRadius, toString, translate, turnInsideOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Equilateral

public Equilateral()
Method Detail

setEdgeLength

protected void setEdgeLength()
Sets the length of an edge. All edges must be the same length. Finds the minimum distance between vertices.