I have been trawling through this forum but am struggling to understand the maths a bit. Currently I have a 2D plane within a 3D space and I have the coordinates for them. I want to work on this 2D plane as if it is 2D since it is easier.
From what I've read, I want to create a rotation matrix which would make z constant so it can be effectively ignored. After carrying out my 2D calculations, I could then use the inverse of the matrix and bring it back into 3D space?
My problem is with the rotation matrix, is it a combination of rotating around the X-axis and Y-axis? Apologies for my maths ignorance! It would be great if someone could explain the steps/ point me in the right direction.
Many Thanks,
Kelvin.
EDIT: Here's an example of the KML data. This shows one triangle:
Triangle A
-1.465435652058573, 53.37698311217353, 68.20299999999998
-1.465442809960414, 53.37700937634325, 69.52299999999991
-1.465399364873617, 53.37701518696172, 68.20299999999998
-1.465435652058573, 53.37698311217353, 68.20299999999998
(The reason why it has 4 points is because the first and last are repeated to indicate a closed polygon. Sorry if it is confusing!)
EDIT 2:
Simon's answer to my question seems to make sense! If anyone has problem with the Gram-Schmidt process, have a look at this Youtube video. It was very useful for me! http://www.youtube.com/watch?v=ZRRG386v6DI