Beispiel #1
0
 /// <summary>
 /// affine�s��̊e�v�f��w�肵�Ă̏�����
 /// </summary>
 /// <param name="a"></param>
 /// <param name="b"></param>
 /// <param name="c"></param>
 /// <param name="d"></param>
 /// <param name="e"></param>
 /// <param name="f"></param>
 public Affine2D(float a, float b, float c, float d, float e, float f)
 {
     Matrix = new Matrix2D(a, b, c, d);
     Point = new Point(e, f);
 }
Beispiel #2
0
 /// <summary>
 /// �w�肳�ꂽ2�����s��ŏ�����
 /// </summary>
 /// <param name="m"></param>
 public Affine2D(Matrix2D m)
 {
     Matrix = m;
 }
Beispiel #3
0
 /// <summary>
 /// �w�肳�ꂽ2�����s��ƕ��s�ړ��Ƃŏ�����
 /// </summary>
 /// <param name="m"></param>
 /// <param name="p"></param>
 public Affine2D(Matrix2D m, Point p)
 {
     Matrix = m;
     Point = p;
 }
Beispiel #4
0
 /// <summary>
 /// �P�ʍs�� + p�ŏ�����
 /// </summary>
 /// <param name="p"></param>
 public Affine2D(Point p)
 {
     Matrix = new Matrix2D();
     Point = p;
 }
Beispiel #5
0
 /// <summary>
 /// �P�ʍs���k�{ + p�ŏ�����
 /// </summary>
 /// <param name="k"></param>
 /// <param name="p"></param>
 public Affine2D(float k, Point p)
 {
     Matrix = new Matrix2D(k);
     Point = p;
 }
Beispiel #6
0
 /// <summary>
 /// �P�ʍs��ŏ�����
 /// </summary>
 public Affine2D()
 {
     Matrix = new Matrix2D();
 }
Beispiel #7
0
 /// <summary>
 /// �P�ʍs���k�{�ŏ�����
 /// </summary>
 /// <param name="a"></param>
 public Affine2D(float k)
 {
     Matrix = new Matrix2D(k);
 }
Beispiel #8
0
 /// <summary>
 /// 行列を
 /// (k1 0)
 /// (0 k2)
 /// で初期化する。
 /// </summary>
 /// <param name="k1"></param>
 /// <param name="k2"></param>
 public Affine2D(float k1, float k2)
 {
     Matrix = new Matrix2D(k1, 0, 0, k2);
 }
Beispiel #9
0
 /// <summary>
 /// �s���
 /// (k1 0)
 /// (0 k2)
 /// �ŏ���������B
 /// </summary>
 /// <param name="k1"></param>
 /// <param name="k2"></param>
 public Affine2D(float k1, float k2)
 {
     Matrix = new Matrix2D(k1, 0, 0, k2);
 }
Beispiel #10
0
 /// <summary>
 /// 指定された2次元行列と平行移動とで初期化
 /// </summary>
 /// <param name="m"></param>
 /// <param name="p"></param>
 public Affine2D(Matrix2D m, Point p)
 {
     Matrix = m;
     Point  = p;
 }
Beispiel #11
0
 /// <summary>
 /// affine行列の各要素を指定しての初期化
 /// </summary>
 /// <param name="a"></param>
 /// <param name="b"></param>
 /// <param name="c"></param>
 /// <param name="d"></param>
 /// <param name="e"></param>
 /// <param name="f"></param>
 public Affine2D(float a, float b, float c, float d, float e, float f)
 {
     Matrix = new Matrix2D(a, b, c, d);
     Point  = new Point(e, f);
 }
Beispiel #12
0
 /// <summary>
 /// 指定された2次元行列で初期化
 /// </summary>
 /// <param name="m"></param>
 public Affine2D(Matrix2D m)
 {
     Matrix = m;
 }
Beispiel #13
0
 /// <summary>
 /// 単位行列のk倍 + pで初期化
 /// </summary>
 /// <param name="k"></param>
 /// <param name="p"></param>
 public Affine2D(float k, Point p)
 {
     Matrix = new Matrix2D(k);
     Point  = p;
 }
Beispiel #14
0
 /// <summary>
 /// 単位行列 + pで初期化
 /// </summary>
 /// <param name="p"></param>
 public Affine2D(Point p)
 {
     Matrix = new Matrix2D();
     Point  = p;
 }
Beispiel #15
0
 /// <summary>
 /// 単位行列のk倍で初期化
 /// </summary>
 /// <param name="a"></param>
 public Affine2D(float k)
 {
     Matrix = new Matrix2D(k);
 }
Beispiel #16
0
 /// <summary>
 /// 単位行列で初期化
 /// </summary>
 public Affine2D()
 {
     Matrix = new Matrix2D();
 }