xlifepp::subdivision – Functions – R#
rotationMatrix#
rotInPlane#
-
Point xlifepp::subdivision::rotInPlane(const Point &P, const real_t ct, const real_t st, const Point &A, const Vect &U)#
-
Rotation of the point P by the angle theta (given by their cosine ct and sine st) around the axis defined by the point A and the unitary vector U in the plane defined by the point P and the normal unitary vector U.
rotation of the current point around the axis defined by the point A and the unitary vector U, in the plane orthogonal to U
rotOnSph#
-
Point xlifepp::subdivision::rotOnSph(const Point &P1, const Point &P2, const int k, const int n)#
-
Rotation of P1 by the angle alpha = k/n * ang(P1,O,P2) in the plane (P1,O,P2).
rotation of P1 by the angle k/n * ang(P1, O, P2)
P1 and P2 are assumed to be lying onto the sphere, centered at the origin 0.