org.fraid.math
Class DoublePoint
java.lang.Object
java.awt.geom.Point2D
org.fraid.math.DoublePoint
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- DoublePoint3D
public class DoublePoint
- extends java.awt.geom.Point2D
- implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.awt.geom.Point2D |
java.awt.geom.Point2D.Double, java.awt.geom.Point2D.Float |
Field Summary |
double |
x
|
double |
y
|
Methods inherited from class java.awt.geom.Point2D |
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocation |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
x
public double x
y
public double y
DoublePoint
public DoublePoint()
DoublePoint
public DoublePoint(double aX,
double aY)
setLocation
public void setLocation(double aX,
double aY)
- Specified by:
setLocation
in class java.awt.geom.Point2D
getY
public double getY()
- Specified by:
getY
in class java.awt.geom.Point2D
getX
public double getX()
- Specified by:
getX
in class java.awt.geom.Point2D
setY
public void setY(double aY)
setX
public void setX(double aX)
Fraid (system and language). (C) 2003-2007 Ivaylo Iliev
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.