Class Point3


  • public class Point3
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      float _x  
      float _y  
      float _z  
      static Point ZERO  
    • Constructor Summary

      Constructors 
      Constructor Description
      Point3​(float x, float y, float z)  
    • Field Detail

      • ZERO

        public static final Point ZERO
      • _x

        @Internal
        public final float _x
      • _y

        @Internal
        public final float _y
      • _z

        @Internal
        public final float _z
    • Constructor Detail

      • Point3

        public Point3​(float x,
                      float y,
                      float z)
    • Method Detail

      • getX

        public float getX()
      • getY

        public float getY()
      • getZ

        public float getZ()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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

        public Point3 withX​(float _x)
        Returns:
        this.
      • withY

        public Point3 withY​(float _y)
        Returns:
        this.
      • withZ

        public Point3 withZ​(float _z)
        Returns:
        this.