I´m looking for a way to move objects in POV-Ray. Let´s say, I got $n$ Points in 3D. They are all in one plane. Now I want to create a bodie with the shape of the points as its base and a given hight. At first I need to generate the shape in the origin, but I don´t know how to find the rotation and translation from there to move the object through my original points. Hope, someone can help.
Thanks in advance
Edit
For example: $A(1,1,1)$, $B(2,2,2)$ and $C(-1,-1,0)$ create a triangle. Now I want to create a prism by giving the triangle a height of $2$. In POV-Ray (as I understand) I need to generate the triangle in 2D, then give it a height, so its always "standing" on the $xy$-plane. And then I need to find a movement to bring the body back through its original points.

Given three non-collinear points $A,B,C$, make three orthogonal vectors: one is in the normal direction wrt the plane through $A,B,C$, and the other two must belong to that plane. Note that you need to take care of the sign of the normal.
Prepare a transformation matrix, which would transform this orthogonal triple into $X,Y,Z$ at the origin.
Transform vectors $A,B,C$ into $A_0,B_0,C_0$, which would then be located in $XZ$-plane.
Use $x$ and $z$ coordinates of $A_0,B_0,C_0$ to construct the boundary of the prism object.
Add the inverse transform at the end of the prism object to move it back.
Fortunately,
POV-Rayalready has convenient macros that make this procedure straightforward.This procedure can an easily adjusted to handle an arrays of $n$ points: