Class Face

java.lang.Object
  extended by Face

public class Face
extends java.lang.Object

Triangular face used to construct 3D polyhedra, in the spririt of O'Rourke, _Computational Geometry in C_


Field Summary
 Edge[] edge
          Exactly 3 edges
 Vertex[] vertex
          Exactly 3 vertices
 boolean visible
          T iff face visible from new point
 
Constructor Summary
Face()
          Construct a null Face
 
Method Summary
 java.lang.String toString()
          Format the point.
 java.lang.String toString(java.lang.String df)
          Format the face using a hint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

edge

public Edge[] edge
Exactly 3 edges


vertex

public Vertex[] vertex
Exactly 3 vertices


visible

public boolean visible
T iff face visible from new point

Constructor Detail

Face

public Face()
Construct a null Face

Method Detail

toString

public java.lang.String toString(java.lang.String df)
Format the face 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