Class Facet
java.lang.Object
com.treemap.swing.fastvoronoi.convexhull.Face
com.treemap.swing.fastvoronoi.convexhull.Facet
A triangular facet of a 3D polytope. Facets contain a list of
incident vertices and edges.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIs the given vertex in front of or behind this face?voidvoidgetEdge(int index) intgetMatchingEdge(Vertex a, Vertex b) getVertex(int index) intbooleanisFilled()Should this facet be shaded or should only the edges be drawn?booleanisMarked()Is this facet set to be removed?voidvoidLinks the given face f0 with the edge between v0 and v1 with the current facevoidvoidsetFilled(boolean filled) voidsetMarked(boolean marked) toString()
-
Constructor Details
-
Facet
-
Facet
-
-
Method Details
-
getNormal
-
getVertex
-
getVertexCount
public int getVertexCount() -
getEdge
-
getEdgeCount
public int getEdgeCount() -
isFilled
public boolean isFilled()Should this facet be shaded or should only the edges be drawn? -
setFilled
public void setFilled(boolean filled) -
isMarked
public boolean isMarked()Is this facet set to be removed? -
setMarked
public void setMarked(boolean marked) -
behind
Is the given vertex in front of or behind this face? -
link
Links the given face f0 with the edge between v0 and v1 with the current face -
link
-
connect
-
connect
-
getMatchingEdge
-
getHorizonEdge
-
orient
-
toString
-