Question

Does anyone know of a graphing library for simple transformation of a point from one coordinate system to another coordinate system which is rotated by a angle and some point transformation and just for 2d? And any graphing tool for plotting and verifying the same visually?

Was it helpful?

Solution

double[3][3]

OTHER TIPS

GDAL includes pretty much every graphic transform you could ask for, and while it is big and hence takes some time to get used to, it is a great framework to move forward with.

This isn't a library, but it's a blog by someone who does this kind of thing:

http://polymathprogrammer.com/

It's got some good theory if you want to know the "behind the scenes".

The Angtigrain Geometry library contains code that can do this, and you can also go farther and use it for drawing as well, but you don't have to. You should look at the agg::trans_affine class in the agg_trans_affine.h file.

Dave

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top