Class JFace
java.lang.Object
com.treemap.swing.originalfastvoronoi.convexHull.JFace
Facet class connected over double-connected edge list. Contains incident vertices and edges.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Is the given vertex in front of or behind this face?boolean
getEdge
(int index) int
int
getIndex()
getList()
getVertex
(int i) int
boolean
isMarked()
boolean
void
void
Links the given face f0 with the edge between v0 and v1 with the current facevoid
void
void
setIndex
(int index) void
setList
(JConflictList list) void
setMarked
(boolean marked) void
toString()
-
Constructor Details
-
JFace
-
JFace
Creates the Face with a,b,c and orients with the 4th point (which is behind the facet).
-
-
Method Details
-
getIndex
public int getIndex() -
setIndex
public void setIndex(int index) -
orient
-
getList
-
setList
-
toString2
-
getVertex
-
isVisibleFromBelow
public boolean isVisibleFromBelow() -
getEdgeCount
public int getEdgeCount() -
getEdge
-
getNormal
-
setNormal
-
link
Links the given face f0 with the edge between v0 and v1 with the current face -
link
-
getDualPoint
-
behind
Is the given vertex in front of or behind this face? -
conflict
-
getVertexCount
public int getVertexCount() -
setMarked
public void setMarked(boolean marked) -
isMarked
public boolean isMarked() -
removeConflict
public void removeConflict() -
getHorizon
-
toString
-