public int CompareTo(Polyline other) { double d1 = MathUtile.Longueur(this.Collection); double d2 = MathUtile.Longueur(other.Collection); return(d1.CompareTo(d2)); }
public bool Equals(Polyline other) { if (other == null) { return(false); } return(MathUtile.Longueur(this.Collection).Equals(MathUtile.Longueur(other.Collection))); }