org.generation5.util
Class PlotPoint

java.lang.Object
  extended byjava.awt.geom.Point2D
      extended byjava.awt.geom.Point2D.Double
          extended byorg.generation5.util.PlotPoint
All Implemented Interfaces:
java.lang.Cloneable

public class PlotPoint
extends java.awt.geom.Point2D.Double

A simple class encapsulating a two-dimensional point. The class does little more than derive from java.awt.geom.Point2D.Double.

See Also:
Point2D.Double

Nested Class Summary
 
Nested classes inherited from class java.awt.geom.Point2D
java.awt.geom.Point2D.Double, java.awt.geom.Point2D.Float
 
Field Summary
 
Fields inherited from class java.awt.geom.Point2D.Double
x, y
 
Constructor Summary
PlotPoint()
          Create a new PlotPoint instance.
PlotPoint(double x, double y)
          Create a new instance, and set the x/y coordinates.
 
Methods inherited from class java.awt.geom.Point2D.Double
getX, getY, setLocation, toString
 
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, wait, wait, wait
 

Constructor Detail

PlotPoint

public PlotPoint()
Create a new PlotPoint instance.


PlotPoint

public PlotPoint(double x,
                 double y)
Create a new instance, and set the x/y coordinates.

Parameters:
x - the x-coordinate.
y - the y-coordinate.

This documentation is part of the Generation5 JDK.