Class JPoint2DD

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    Chain.CenterPoint

    public class JPoint2DD
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double x  
      double y  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      double[] getArray()  
      double getX()  
      double getY()  
      int hashCode()  
      void setX​(double x)  
      void setY​(double y)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • x

        public double x
      • y

        public double y
    • Constructor Detail

      • JPoint2DD

        public JPoint2DD()
      • JPoint2DD

        public JPoint2DD​(double x,
                         double y)
      • JPoint2DD

        public JPoint2DD​(JPoint2DD p)
    • Method Detail

      • getArray

        public double[] getArray()
      • getX

        public double getX()
      • getY

        public double getY()
      • setX

        public void setX​(double x)
      • setY

        public void setY​(double y)
      • toString

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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