Class Vertex


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

      • x

        public double x
      • y

        public double y
      • z

        public double z
      • site

        public Site site
    • Constructor Detail

      • Vertex

        public Vertex()
      • Vertex

        public Vertex​(double x,
                      double y,
                      double z)
    • Method Detail

      • linearDependent

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object