예제 #1
0
 public Line(Dot dotA, Dot dotB)
 {
     Name      = $"Line {this.GetHashCode()}";
     this.DotA = dotA;
     this.DotB = dotB;
 }
예제 #2
0
 public Circle(Dot _center, float _radius)
 {
     Center = _center;
     Radius = _radius;
 }
예제 #3
0
 public Line()
 {
     Name = $"Line {this.GetHashCode()}";
     DotA = new Dot();
     DotB = new Dot();
 }
예제 #4
0
 public Circle(float _radius)
 {
     Center = new Dot();
     Radius = _radius;
 }