Quantcast
Channel: MsSqlSpatial Work Item Rss Feed
Viewing all articles
Browse latest Browse all 20

COMMENTED FEATURE: Implement Affine function

$
0
0
Affine(geometry,float8,float8,float8,float8,float8,float8)
Applies an 2d affine transformation to the geometry. The call
                    Affine(geom, a, b, d, e, xoff, yoff)
               
represents the transformation matrix
                    /  a  b  0  xoff  \        /  a  b  xoff  \
                    |  d  e  0  yoff  |  rsp.  |  d  e  yoff  |
                    |  0  0  1  0     |        \  0  0  1     /
                    \  0  0  0  1     /
               
and the vertices are transformed as follows:
                    x' = a*x + b*y + xoff
                    y' = d*x + e*y + yoff
                    z' = z
Comments: ** Comment from web user: jocheng **

I've implemented Translate, Scale and Affine by transformation classes inherited from IMathTransform.
So if there is any interest, please give me a notice.


Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>