Matrix3x2d.rotateAbout

Apply a rotation transformation to this matrix by rotating the given amount of radians about the specified rotation center <code>(x, y)</code>. <p> This method is equivalent to calling: <code>translate(x, y).rotate(ang).translate(-x, -y)</code> <p> If <code>M</code> is <code>this</code> matrix and <code>R</code> the rotation matrix, then the new matrix will be <code>M * R</code>. So when transforming a vector <code>v</code> with the new matrix by using <code>M * R * v</code>, the rotation will be applied first!

@see #translate(double, double) @see #rotate(double)

@param ang the angle in radians @param x the x component of the rotation center @param y the y component of the rotation center @return this

  1. Matrix3x2d rotateAbout(double ang, double x, double y)
    struct Matrix3x2d
    ref return
    rotateAbout
    (
    double ang
    ,
    double x
    ,
    double y
    )
  2. Matrix3x2d rotateAbout(double ang, double x, double y, Matrix3x2d dest)

Meta