示例#1
0
文件: Line.java 项目: inutard/cra
 public Line(CohoNumber A, CohoNumber B, CohoNumber C) {
   if (A.type() != B.type() || A.type() != C.type())
     throw new GeomException("Data type used for A,B,C of Line are not the same");
   this.A = A;
   this.B = B;
   this.C = C;
   this.type = A.type();
 }