complexType AffineTransform
diagram mapping_p428.png
namespace http://www.mapinfo.com/midev/service/common/v1
children tns:HorizontalScale tns:VerticalShear tns:HorizontalShear tns:VerticalScale tns:HorizontalTranslation tns:VerticalTranslation
used by
element AffineTransform
annotation
documentation
An affine transformation of the two dimensional plane. Points that are collinear before the transformation are still collinear afterwards. Ratios of distances between collinear points are preserved by the transformation. The transformation has six parameters:
a - horizontal scale
b - horizontal shear
c - horizontal translation
d - vertical shear
e - vertical scale
f - vertical translation
A point (x, y) is transformed to the point (ax + by + c, dx + ey + f).The transformation can be expressed as matrix multiplication:
--     --  --   --     --           --
| a b c |  |  x  |     | ax + by + c |
| d e f |  |  y  |  =  | dx + ey + f |
--     --  |  1  |     --           --
   --   --
or:
--     --  --   --     --           --
| x y 1 |  | a d |     | ax + by + c |
--     --  | b e |  =  | dx + ey + f |
           | c f |     --           --
           --   --

element AffineTransform/HorizontalScale
diagram mapping_p429.png
namespace http://www.mapinfo.com/midev/service/common/v1
type xsd:double
properties
content simple
annotation
documentation
Value a in the affine transform equation. The Scale simply expands or shrinks all distances by a constant amount in a horizontal direction. The Scale is the only transformation that will change the area.

element AffineTransform/VerticalShear
diagram mapping_p430.png
namespace http://www.mapinfo.com/midev/service/common/v1
type xsd:double
properties
content simple
annotation
documentation
Value d in the affine transform equation. The Shear is the transformation in which all points along a given line remain fixed, while other points are shifted parallel to the line in a vertical direction by a distance proportional to their perpendicular distance.

element AffineTransform/HorizontalShear
diagram mapping_p431.png
namespace http://www.mapinfo.com/midev/service/common/v1
type xsd:double
properties
content simple
annotation
documentation
Value b in the affine transform equation. The Shear is the transformation in which all points along a given line remain fixed, while other points are shifted parallel to the line in a horizontal direction by a distance proportional to their perpendicular distance.

element AffineTransform/VerticalScale
diagram mapping_p432.png
namespace http://www.mapinfo.com/midev/service/common/v1
type xsd:double
properties
content simple
annotation
documentation
Value e in the affine transform equation. The Scale simply expands or shrinks all distances by a constant amount in a vertical direction. The Scale is the only transformation that will change the area.

element AffineTransform/HorizontalTranslation
diagram mapping_p433.png
namespace http://www.mapinfo.com/midev/service/common/v1
type xsd:double
properties
content simple
annotation
documentation
Value c in the affine transform equation. The Translation consists of a constant offset with no rotation or distortion in the horizontal direction.

element AffineTransform/VerticalTranslation
diagram mapping_p434.png
namespace http://www.mapinfo.com/midev/service/common/v1
type xsd:double
properties
content simple
annotation
documentation
Value f in the affine transform equation. The Translation consists of a constant offset with no rotation or distortion in the vertical direction.


© 2007, 2020 Precisely. All rights reserved. support.precisely.com