|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--convexhull3d.HalfEdge
Represents the half-edges that surround each triangular face in a counter-clockwise direction.
Constructor Summary | |
HalfEdge(SpatialPoint v,
Triangle f)
Constructs a HalfEdge with head vertex v and
left-hand triangular face f . |
Method Summary | |
Triangle |
getFace()
Returns the triangular face located to the left of this half-edge. |
HalfEdge |
getNext()
Gets the value of the next edge adjacent (counter-clockwise) to this one within the triangle. |
HalfEdge |
getOpposite()
Returns the half-edge opposite to this half-edge. |
HalfEdge |
getPrev()
Gets the value of the previous edge adjacent (clockwise) to this one within the triangle. |
SpatialPoint |
head()
Returns the head vertex associated with this half-edge. |
Triangle |
oppositeFace()
Returns the opposite triangular face associated with this half-edge. |
void |
setNext(HalfEdge edge)
Sets the value of the next edge adjacent (counter-clockwise) to this one within the triangle. |
void |
setOpposite(HalfEdge edge)
Sets the half-edge opposite to this half-edge. |
void |
setPrev(HalfEdge edge)
Sets the value of the previous edge adjacent (clockwise) to this one within the triangle. |
SpatialPoint |
tail()
Returns the tail vertex associated with this half-edge. |
java.lang.String |
vertexString()
Produces a string identifying this half-edge by the point index values of its tail and head vertices. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HalfEdge(SpatialPoint v, Triangle f)
v
and
left-hand triangular face f
.
v
- head vertexf
- left-hand triangular faceMethod Detail |
public void setNext(HalfEdge edge)
edge
- next adjacent edgepublic HalfEdge getNext()
public void setPrev(HalfEdge edge)
edge
- previous adjacent edgepublic HalfEdge getPrev()
public Triangle getFace()
public HalfEdge getOpposite()
public void setOpposite(HalfEdge edge)
edge
- opposite half-edgepublic SpatialPoint head()
public SpatialPoint tail()
public Triangle oppositeFace()
public java.lang.String vertexString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |