Class FaceList

java.lang.Object
ffx.numerics.quickhull.FaceList

public class FaceList extends Object
Maintains a single-linked list of faces for use by QuickHull3D.
Since:
1.0
Author:
John E. Lloyd, Fall 2004, Michael J. Schnieders
  • Constructor Details

    • FaceList

      public FaceList()
  • Method Details

    • clear

      public void clear()
      Clears this list.
    • add

      public void add(Face vtx)
      Adds a face to the end of this list.
      Parameters:
      vtx - face to add
    • first

      public Face first()
      Returns the first face in this list (head), or null if empty.
      Returns:
      the first Face, or null if the list is empty
    • isEmpty

      public boolean isEmpty()
      Returns true if this list is empty.
      Returns:
      true if there are no faces in the list