Class Point2


  • public final class Point2
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      float x  
      float y  
    • Constructor Summary

      Constructors 
      Constructor Description
      Point2()  
      Point2​(float x, float y)  
      Point2​(Point2 p)  
    • Field Detail

      • x

        public float x
      • y

        public float y
    • Constructor Detail

      • Point2

        public Point2()
      • Point2

        public Point2​(float x,
                      float y)
      • Point2

        public Point2​(Point2 p)
    • Method Detail

      • set

        public final Point2 set​(float x,
                                float y)
      • toString

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