Transforms the relative distance vector specified by
ptSrc and stores the result in
ptDst. A relative distance vector is transformed without applying the translation components of the affine transformation matrix using the following equations:
[ x' ] [ m00 m01 (m02) ] [ x ] [ m00x + m01y ] [ y' ] = [ m10 m11 (m12) ] [ y ] = [ m10x + m11y ] [ (1) ] [ (0) (0) ( 1 ) ] [ (1) ] [ (1) ]
If
ptDst is
null, a new
Point2D object is allocated and then the result of the transform is stored in this object. In either case,
ptDst, which contains the transformed point, is returned for convenience. If
ptSrc and
ptDst are the same object, the input point is correctly overwritten with the transformed point.
@param ptSrc the distance vector to be delta transformed
@param ptDst the resulting transformed distance vector
@return
ptDst, which contains the result of thetransformation.
@since 1.2