Creating and manipulating coordinate systems

I'm looking for a generic algorithm for creating a new XYZRxRyRz coordinate system within a larger "World" coordinate system, by finding points on the edges of the new coordinate system. I *think* I could puzzle out the math eventually, but I'm sure there are smarter people who have done this before. The general concept is this: I use a sensor to find three (or more) points on the edges of an object (let's assume it's a flat square, for the sake of simplicity) -- two points on one edge, one point on an adjoining edge. I have 3D data for each point, in terms of the World coordinate system. What I want to generate from that data is a single

6DOF data set that defines where the origin of the new coordinate system lies within the World coordinate system (XYZ), and how this subsidiary coordinate system is skewed relative to the World (RxRyRz). Working code examples, web pages, even books that explain the process well, they're all good.
Reply to
David McMillan
Loading thread data ...

A useful book at an elementary level is 'A Programmer's Geometry' by Adrian Bowyer and John Woodwark (isbn 0 408 01242 0). The 'Graphics Gems' series also contains a lot of useful stuff.

Dave

Reply to
Dave

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.