Beispiel #1
0
 /// <summary>
 /// Creates a rigid transformation from a rotation matrix <paramref name="rot"/> and a (subsequent) translation <paramref name="trans"/>.
 /// </summary>
 public __e2t__(M2__s2f__ rot, __v2t__ trans)
 {
     Rot   = __r2t__.FromM2__s2f__(rot);
     Trans = trans;
 }
Beispiel #2
0
 /// <summary>
 /// Creates a rigid transformation from a trafo <paramref name="trafo"/>.
 /// </summary>
 public __e2t__(Trafo2d trafo)
 {
     Rot   = __r2t__.FromM2__s2f__((M2__s2f__)trafo.Forward);
     Trans = (__v2t__)trafo.Forward.C2.XY;
 }
Beispiel #3
0
 /// <summary>
 /// Creates a rigid transformation from a rotation <paramref name="rot"/> and a (subsequent) translation <paramref name="trans"/>.
 /// </summary>
 public __e2t__(__r2t__ rot, __v2t__ trans)
 {
     Rot   = rot;
     Trans = trans;
 }