Class PointD

  • All Implemented Interfaces:
    java.lang.Cloneable
    Direct Known Subclasses:
    PointM, PointZ


    public class PointD
    extends java.lang.Object
    implements java.lang.Cloneable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double X  
      double Y  
    • Constructor Summary

      Constructors 
      Constructor Description
      PointD​()
      Constructor
      PointD​(double x, double y)
      Contructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone​()
      Clone
      boolean equals​(PointD p)
      Equals of two pointDs
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • X

        public double X
      • Y

        public double Y
    • Constructor Detail

      • PointD

        public PointD​()
        Constructor
      • PointD

        public PointD​(double x,
                      double y)
        Contructor
        Parameters:
        x -
        y -
    • Method Detail

      • equals

        public boolean equals​(PointD p)
        Equals of two pointDs
        Parameters:
        p - PointD
        Returns:
        Boolean
      • clone

        public java.lang.Object clone​()
        Clone
        Overrides:
        clone in class java.lang.Object
        Returns:
        PointD object