|
ESPRESSCHART 6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectquadbase.util.Point_2D
public class Point_2D
This class contains methods to define and manipulate a 2D Point. The coordinates of the point are floating point numbers and can represent a relative position in the main chart window.
IAnnotation,
IReferenceObj| Field Summary | |
|---|---|
float |
x
The x, y coordinates. |
float |
y
The x, y coordinates. |
| Constructor Summary | |
|---|---|
Point_2D()
Null constructor |
|
Point_2D(float _x,
float _y)
Constructor based on values |
|
Point_2D(Point_2D p)
Copy Constructor based on values |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Checks if the two points are the same or not. |
float |
getX()
Get value of x. |
float |
getY()
Get value of y. |
int |
hashCode()
Returns the hash code for the object. |
void |
set(Point_2D p)
Set the values based on the given point. |
void |
setX(float f)
Set value of x. |
void |
setY(float f)
Set value of y. |
java.lang.String |
toString()
Returns the string representation of a 3D point |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public float x
public float y
| Constructor Detail |
|---|
public Point_2D()
public Point_2D(float _x,
float _y)
public Point_2D(Point_2D p)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic float getX()
public float getY()
public void setX(float f)
f - The x coordinate.public void setY(float f)
f - The y coordinate.public void set(Point_2D p)
p - The input Point_2D object.
|
ESPRESSCHART 6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||