Class Polytope
java.lang.Object
com.treemap.swing.fastvoronoi.convexhull.Polytope
- Direct Known Subclasses:
ConvexHull
A collection of vertices, edges, and facets stored in an object-
oriented version of a DCEL (doubly connected edge list). Polytopes
also keep a current transformation matrix that determines how they
will be rendered in 3D.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
clear()
double
getFacet
(int index) int
getVertex
(int index) int
void
removeFacet
(Facet f) void
void
setDiameter
(double diameter)
-
Field Details
-
points
-
-
Constructor Details
-
Polytope
public Polytope()
-
-
Method Details
-
clear
public void clear() -
getDiameter
public double getDiameter() -
setDiameter
public void setDiameter(double diameter) -
getVertex
-
getVertexCount
public int getVertexCount() -
addVertex
-
removeVertex
-
getFacet
-
getFacetCount
public int getFacetCount() -
addFacet
-
removeFacet
-