コード例 #1
0
 public Cylinder(Point Center, Point Edge, Point CenterTop) : base(Center, Edge)
 {
     this.CenterTop = CenterTop;
     Height         = new Distance(Center, CenterTop).distance();
     CylinderNr     = count++;
 }
コード例 #2
0
 public Triangle(Point A, Point B, Point C)
 {
     Side1 = new Distance(A, B).distance();
     Side2 = new Distance(B, C).distance();
     Side3 = new Distance(C, A).distance();
 }