|
Header
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.data.xy.Vector
public class Vector
A vector.
| Constructor Summary | |
|---|---|
Vector(double x,
double y)
Creates a new instance of Vector. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests this vector for equality with an arbitrary object. |
double |
getAngle()
Returns the angle of the vector. |
double |
getLength()
Returns the length of the vector. |
double |
getX()
Returns the x-value. |
double |
getY()
Returns the y-value. |
int |
hashCode()
Returns a hash code for this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Vector(double x,
double y)
Vector.
x - the x-component.y - the y-component.| Method Detail |
|---|
public double getX()
public double getY()
public double getLength()
public double getAngle()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null not permitted).
public int hashCode()
hashCode in class java.lang.Object
|
Footer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||