Class JFace
- java.lang.Object
-
- com.macrofocus.treemap.originalfastvoronoi.convexHull.JFace
-
public class JFace extends java.lang.Object
Facet class connected over double-connected edge list. Contains incident vertices and edges.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
behind(JVertex test)
Is the given vertex in front of or behind this face?boolean
conflict(JVertex test)
Point2D
getDualPoint()
HEdge
getEdge(int index)
int
getEdgeCount()
HEdge
getHorizon()
int
getIndex()
JConflictList
getList()
JVector
getNormal()
JVertex
getVertex(int i)
int
getVertexCount()
boolean
isMarked()
boolean
isVisibleFromBelow()
void
link(HEdge e)
void
link(JFace f0, JVertex v0, JVertex v1)
Links the given face f0 with the edge between v0 and v1 with the current facevoid
orient(JVertex orient)
void
removeConflict()
void
setIndex(int index)
void
setList(JConflictList list)
void
setMarked(boolean marked)
void
setNormal(JVector normal)
java.lang.String
toString()
java.lang.String
toString2()
-
-
-
Method Detail
-
getIndex
public int getIndex()
-
setIndex
public void setIndex(int index)
-
orient
public void orient(JVertex orient)
-
getList
public JConflictList getList()
-
setList
public void setList(JConflictList list)
-
toString2
public java.lang.String toString2()
-
getVertex
public JVertex getVertex(int i)
-
isVisibleFromBelow
public boolean isVisibleFromBelow()
-
getEdgeCount
public int getEdgeCount()
-
getEdge
public HEdge getEdge(int index)
-
getNormal
public JVector getNormal()
-
setNormal
public void setNormal(JVector normal)
-
link
public void link(JFace f0, JVertex v0, JVertex v1)
Links the given face f0 with the edge between v0 and v1 with the current face
-
link
public void link(HEdge e)
-
getDualPoint
public Point2D getDualPoint()
-
behind
public boolean behind(JVertex test)
Is the given vertex in front of or behind this face?
-
conflict
public boolean conflict(JVertex test)
-
getVertexCount
public int getVertexCount()
-
setMarked
public void setMarked(boolean marked)
-
isMarked
public boolean isMarked()
-
removeConflict
public void removeConflict()
-
getHorizon
public HEdge getHorizon()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-