예제 #1
0
  @Override
  public int compareTo(Arc a) {

    if (this.getAngle() < a.getAngle()) {
      return -1;
    } else if (this.getAngle() > a.getAngle()) {
      return 1;
    }
    return 0;
  }
예제 #2
0
 public boolean isColineaire(Arc a) {
   if (this.getAngle() == a.getAngle()) {
     return true;
   } else {
     return false;
   }
 }