Matrix3x2d.transformDirection

Transform/multiply the given 2D-vector, as if it was a 3D-vector with z=0, by this matrix and store the result in <code>dest</code>. <p> The given 2D-vector is treated as a 3D-vector with its z-component being <code>0.0</code>, so it will represent a direction in 2D-space rather than a position. This method will therefore not take the translation part of the matrix into account. <p> In order to store the result in the same vector, use {@link #transformDirection(Vector2d)}.

@see #transformDirection(Vector2d)

@param v the vector to transform and to hold the final result @param dest will hold the result @return dest

  1. Vector2d transformDirection(Vector2d v)
  2. Vector2d transformDirection(Vector2d v, Vector2d dest)
    struct Matrix3x2d
    public
    transformDirection
  3. Vector2d transformDirection(double x, double y, Vector2d dest)

Meta