com.quinncurtis.chart3djava
Class GroupPoint2D

java.lang.Object
  extended by com.quinncurtis.chart3djava.GroupPoint3D
      extended by com.quinncurtis.chart3djava.GroupPoint2D

public class GroupPoint2D
extends GroupPoint3D

The GroupPoint2D class defines a point representing a location in (x,y) coordinate space. This class is only the abstract superclass for all objects that store a 2D coordinate. The actual storage representation of the coordinates is left to the subclass.


Field Summary
 
Fields inherited from class com.quinncurtis.chart3djava.GroupPoint3D
x, ygroup, z
 
Constructor Summary
GroupPoint2D()
          Default constructor.
GroupPoint2D(double px, double[] py)
          Constructs and initializes a GroupPoint2D with the specified coordinates.
GroupPoint2D(double px, DoubleArray py)
          Constructs and initializes a GroupPoint2D with the specified coordinates.
GroupPoint2D(java.util.GregorianCalendar px, double[] py)
          Constructs and initializes a Point2D with the specified coordinates.
GroupPoint2D(GroupPoint2D p)
          Constructs and initializes a GroupPoint2D with the specified coordinates.
 
Method Summary
 
Methods inherited from class com.quinncurtis.chart3djava.GroupPoint3D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, getCalendarX, getX, getY, getZ, setLocation, setLocation, setLocation, setX, setY, setZ
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupPoint2D

public GroupPoint2D()
Default constructor.


GroupPoint2D

public GroupPoint2D(double px,
                    double[] py)
Constructs and initializes a GroupPoint2D with the specified coordinates.

Parameters:
px - the x-coordinate
py - an array of the y-coordinates

GroupPoint2D

public GroupPoint2D(double px,
                    DoubleArray py)
Constructs and initializes a GroupPoint2D with the specified coordinates.

Parameters:
px - the x-coordinate
py - an array of the y-coordinates

GroupPoint2D

public GroupPoint2D(java.util.GregorianCalendar px,
                    double[] py)
Constructs and initializes a Point2D with the specified coordinates.

Parameters:
px - the x-coordinate
py - the y-coordinates

GroupPoint2D

public GroupPoint2D(GroupPoint2D p)
Constructs and initializes a GroupPoint2D with the specified coordinates.

Parameters:
p - the xy coordinates