/// <summary> /// コンストラクター /// </summary> /// <param name="a">A</param> /// <param name="b">B</param> public FloatLine(FloatPoint2D a, FloatPoint2D b) { Initialize(); A.X = a.X; A.Y = a.Y; B.X = b.X; B.Y = b.Y; }
/// <summary> /// 初期化 /// </summary> private void Initialize() { A = new FloatPoint2D(); B = new FloatPoint2D(); }