示例#1
0
 /// <summary>
 /// Combines this affine transfor with the other.
 /// <remarks>
 /// The result of the combined transformation is equivalent to the result
 /// of successive application of transformations. Preferable to use this
 /// form of combination, not ConcatenatedTransform, because
 /// ConcatenatedTransform applies each transformation consistently, and
 /// CombineWith method calculates the resulting transformation matrix.
 /// </remarks>
 /// </summary>
 /// <param name="other">An affine transform to combine</param>
 public void CombineWith(Affine other)
 {
     _matrix = _matrix.Multiply(other._matrix);
     if (_inverseMatrix != null)
     {
         _inverseMatrix = _matrix.GetInverseMatrix();
     }
 }