示例#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;
 }