Class Vertex

java.lang.Object
ffx.numerics.quickhull.Vertex

public class Vertex extends Object
Represents vertices of the hull, as well as the points from which it is formed.
Since:
1.0
Author:
John E. Lloyd, Fall 2004, Michael J. Schnieders
  • Constructor Details

    • Vertex

      public Vertex()
      Constructs a vertex and sets its coordinates to 0.
    • Vertex

      public Vertex(double x, double y, double z, int idx)
      Constructs a vertex with the specified coordinates and index.
      Parameters:
      x - x-coordinate of the vertex
      y - y-coordinate of the vertex
      z - z-coordinate of the vertex
      idx - index associated with the vertex in an external array