Exemplo n.º 1
0
        public Transformation(ATN.Utils.MathExt.Numerical.Coordinate pos, Rotation rm, string order = "xyz")
        {
            position = pos;

            rotationMatrix = rm.ToRotationMatrices(order);

            hasMatrix = true;
        }
Exemplo n.º 2
0
        public Transformation(ATN.Utils.MathExt.Numerical.Coordinate pos, RotationMatrix rm)
        {
            position = pos;

            rotationMatrix = rm;

            hasMatrix = true;
        }
Exemplo n.º 3
0
        public Transformation(double X, double Y, double Z, double Phi, double Teta, double Psi, string order = "xyz")
        {
            position = new ATN.Utils.MathExt.Numerical.Coordinate(X, Y, Z);
            rotation = new ATN.Utils.MathExt.Numerical.Rotation(Phi, Teta, Psi);

            rotationMatrix = new RotationMatrix(rotation, order);

            hasEuler  = true;
            hasMatrix = true;
        }