|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.brusoftware.plot4j.Point
public class Point
This class represents a point on a Cartesian plan.
| Constructor Summary | |
|---|---|
Point(double x,
double y)
Creates a new Point. |
|
| Method Summary | |
|---|---|
double |
getX()
Returns the x-coordinate of this Point. |
double |
getY()
Returns the y-coordinate of this Point. |
void |
setX(double x)
Sets the x-coordinate of this Point. |
void |
setY(double y)
Sets the y-coordinate of this Point. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Point(double x,
double y)
x - the x-coordinate of this Pointy - the y-coordinate of this Point| Method Detail |
|---|
public double getX()
public void setX(double x)
x - the x-coordinate of this Pointpublic double getY()
public void setY(double y)
y - the y-coordinate of this Point
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||