|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.quinncurtis.chart3djava.GroupPoint3D
com.quinncurtis.chart3djava.GroupPoint2D
public class GroupPoint2D
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 |
---|
public GroupPoint2D()
public GroupPoint2D(double px, double[] py)
GroupPoint2D
with the specified coordinates.
px
- the x-coordinatepy
- an array of the y-coordinatespublic GroupPoint2D(double px, DoubleArray py)
GroupPoint2D
with the specified coordinates.
px
- the x-coordinatepy
- an array of the y-coordinatespublic GroupPoint2D(java.util.GregorianCalendar px, double[] py)
Point2D
with the specified coordinates.
px
- the x-coordinatepy
- the y-coordinatespublic GroupPoint2D(GroupPoint2D p)
GroupPoint2D
with the specified coordinates.
p
- the xy coordinates
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |