Class Edge

java.lang.Object
  extended by Edge

public class Edge
extends java.lang.Object

Edge element used to construct 3D polyhedra, in the spririt of O'Rourke, _Computational Geometry in C_.


Field Summary
 Face[] adjface
          Exactly 2 adjacent Faces
 boolean delete
          T iff edge should be deleted
 Vertex[] endpts
          Exactly 2 endpoints
 Face newface
          A new, third Face, about to replace one of the existing Faces.
 
Constructor Summary
Edge()
          Construct a null Edge.
 
Method Summary
 java.lang.String toString()
          Format the point.
 java.lang.String toString(java.lang.String df)
          Format the edge using a hint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

adjface

public Face[] adjface
Exactly 2 adjacent Faces


endpts

public Vertex[] endpts
Exactly 2 endpoints


newface

public Face newface
A new, third Face, about to replace one of the existing Faces.


delete

public boolean delete
T iff edge should be deleted

Constructor Detail

Edge

public Edge()
Construct a null Edge.

Method Detail

toString

public java.lang.String toString(java.lang.String df)
Format the edge using a hint.

Parameters:
df - the format to be used for a single coordinate

toString

public java.lang.String toString()
Format the point.

Overrides:
toString in class java.lang.Object