Class RMVector

java.lang.Object
com.reportmill.graphics.RMVector

public class RMVector extends Object
This class represents a 2D vector.
  • Constructor Details

    • RMVector

      public RMVector(float X, float Y)
      Creates a new vector.
  • Method Details

    • getDotProduct

      public float getDotProduct(RMVector v2)
      Returns the dot product of the receiver and the given vector.