java.lang.Object
com.treemap.swing.fastvoronoi.convexhull.Face
com.treemap.swing.fastvoronoi.convexhull.Vertex

public class Vertex extends Face
A point in 3-dimensional space.
  • Field Details

    • x

      public double x
    • y

      public double y
    • z

      public double z
    • site

      public Site site
  • Constructor Details

    • Vertex

      public Vertex()
    • Vertex

      public Vertex(double x, double y, double z)
  • Method Details

    • subtract

      public static Vector subtract(Vertex a, Vertex b)
    • linearDependent

      public boolean linearDependent(Vertex v)
      Parameters:
      v - Vertex compared to Object
      Returns:
      Whether given Vertex and the Object are linearly dependent
    • toString

      public String toString()
      Overrides:
      toString in class Object