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 TypeMethodDescriptionboolean
Is the given vertex in front of or behind this face?void
void
getEdge
(int index) int
getMatchingEdge
(Vertex a, Vertex b) getVertex
(int index) int
boolean
isFilled()
Should this facet be shaded or should only the edges be drawn?boolean
isMarked()
Is this facet set to be removed?void
void
Links the given face f0 with the edge between v0 and v1 with the current facevoid
void
setFilled
(boolean filled) void
setMarked
(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
-