-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLRL_CoordinateConversionMatrices.h
43 lines (37 loc) · 1.12 KB
/
LRL_CoordinateConversionMatrices.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef COORDINATECONVERSIONMATRICES_H
#define COORDINATECONVERSIONMATRICES_H
#include "MatMN.h"
/*
From HJB
G6toD7:matrix([1,0,0,0,0,0],[0,1,0,0,0,0],[0,0,1,0,0,0],[1,1,1,1,1,1],[0,1,1,1,0,0],[1,0,1,0,1,0],[1,1,0,0,0,1]);
D7toG6:matrix([1,0,0,0,0,0,0],[0,1,0,0,0,0,0],[0,0,1,0,0,0,0],[0,-1,-1,0,1,0,0],[-1,0,-1,0,0,1,0],[-1,-1,0,0,0,0,1]);
G6toD7:matrix("1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 1 1 1 1 1 0 1 1 1 0 0 1 0 1 0 1 0 1 1 0 0 0 1" );
D7toG6:matrix("1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 -1 -1 0 1 0 0 -1 0 -1 0 0 1 0 -1 -1 0 0 0 0 1");
G6to7:matrix(
[1,0,0,0,0,0],
[0,1,0,0,0,0],
[0,0,1,0,0,0],
[1,1,1,1,1,1],
[0,1,1,1,0,0],
[1,0,1,0,1,0],
[1,1,0,0,0,1]);
G7to6:matrix(
[1,0,0,0,0,0,0],
[0,1,0,0,0,0,0],
[0,0,1,0,0,0,0],
[0,-1,-1,0,1,0,0],
[-1,0,-1,0,0,1,0],
[-1,-1,0,0,0,0,1]);
*/
class LRL_CoordinateConversionMatrices {
public:
LRL_CoordinateConversionMatrices();
public:
static MatMN S6_FROM_G6;
static MatMN G6_FROM_S6;
static MatMN G6_FROM_D7;
static MatMN D7_FROM_G6;
static MatMN S6_FROM_D7;
static MatMN D7_FROM_S6;
};
#endif // COORDINATECONVERSIONMATRICES_H