Creates a thick triangle from 2 2-dimensional vectors, 1 3-dimensional center vector and 3 Euler-angles.
The parameter htriangle determines the thickness of the triangle. For phi_ = theta_= psi_ = 0 the thickness corresponds to the extension in z-direction.
The parameters x,y,z determine the 1. corner of the triangle. The Euler-rotations are also performed with respect to this corner.
(x,y,z) can also be interpreted as a center of a coordinate system.
The 2. corner is determined by (xa_ + x, ya_ + y). The 3. corner is determined by (xb_ + x, yb_ + y).
The ordering does not matter!! The angles phi_, theta_ and psi_ can be declared in degrees and represent Euler-angles.
The Center (x,y,z) specifies the center of the Euler-rotations
The Euler-rotations occur in the following order:
phi_:..........Rotation around z-axis...................................x -> x'......y -> y'.......z -> z
theta_:......Rotation around the rotated x-axis (x'):.........x'-> x'......y' -> y''......z -> z'
psi_:..........Rotation around z'-axis:.................................x'-> x''......y''-> y'''.....z'-> z'