Package com.reportmill.graphics
Class RMVector
- java.lang.Object
-
- com.reportmill.graphics.RMVector
-
public class RMVector extends java.lang.Object
This class represents a 2D vector.
-
-
Constructor Summary
Constructors Constructor Description RMVector(float X, float Y)
Creates a new vector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getDotProduct(RMVector v2)
Returns the dot product of the receiver and the given vector.
-
-
-
Method Detail
-
getDotProduct
public float getDotProduct(RMVector v2)
Returns the dot product of the receiver and the given vector.
-
-