Class ProjectionPointImpl

    • Constructor Detail

      • ProjectionPointImpl

        @Deprecated
        public ProjectionPointImpl()
        Deprecated.
        use ProjectionPoint.create
        Default constructor, initialized to 0,0
      • ProjectionPointImpl

        @Deprecated
        public ProjectionPointImpl​(ProjectionPoint pt)
        Deprecated.
        use ProjectionPoint.create
        Constructor that copies ProjectionPoint values into this.
      • ProjectionPointImpl

        @Deprecated
        public ProjectionPointImpl​(double x,
                                   double y)
        Deprecated.
        use ProjectionPoint.create
        Constructor, initialized to x, y
        Parameters:
        x - x coordinate
        y - y coordinate
    • Method Detail

      • getX

        public double getX()
        Deprecated.
        Description copied from interface: ProjectionPoint
        Get the X coordinate
        Specified by:
        getX in interface ProjectionPoint
        Returns:
        the X coordinate
      • getY

        public double getY()
        Deprecated.
        Description copied from interface: ProjectionPoint
        Get the Y coordinate
        Specified by:
        getY in interface ProjectionPoint
        Returns:
        the Y coordinate
      • setX

        public void setX​(double x)
        Deprecated.
      • setY

        public void setY​(double y)
        Deprecated.
      • equals

        public boolean equals​(Object o)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

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

        public String toString()
        Deprecated.
        nicely format this point
        Overrides:
        toString in class Object
        Returns:
        nicely formatted point
      • toString

        public void toString​(Formatter f)
        Deprecated.
      • setLocation

        public void setLocation​(ProjectionPoint pt)
        Deprecated.
        set x,y location from pt
        Parameters:
        pt - point to use for values
      • setLocation

        public void setLocation​(double x,
                                double y)
        Deprecated.
      • isInfinite

        public boolean isInfinite()
        Deprecated.
        See if either coordinate is +/- infinite. This happens sometimes in projective geometry.
        Returns:
        true if either coordinate is +/- infinite.