|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcckit.util.Point
public class Point
Immutable class of a two-dimensional point with floating point coordinates.
Constructor Summary | |
---|---|
Point(double[] vector)
Creates an instance for the specified vector. |
|
Point(double x,
double y)
Creates an instance for the specified coordinates. |
Method Summary | |
---|---|
double |
getX()
Returns the x-coordinate of the point. |
double |
getY()
Returns the y-coordinate of the point. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Point(double[] vector)
public Point(double x, double y)
Method Detail |
---|
public double getX()
public double getY()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |