Class Vector
java.lang.Object
org.jfree.data.xy.Vector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTests this vector for equality with an arbitrary object.doublegetAngle()Returns the angle of the vector.doubleReturns the length of the vector.doublegetX()Returns the x-value.doublegetY()Returns the y-value.inthashCode()Returns a hash code for this instance.
-
Constructor Details
-
Vector
Creates a new instance ofVector.- Parameters:
x- the x-component.y- the y-component.
-
-
Method Details
-
getX
-
getY
-
getLength
-
getAngle
-
equals
-
hashCode
-