示例#1
0
        public int CompareTo(Polyline other)
        {
            double d1 = MathUtile.Longueur(this.Collection);
            double d2 = MathUtile.Longueur(other.Collection);

            return(d1.CompareTo(d2));
        }
示例#2
0
 public bool Equals(Polyline other)
 {
     if (other == null)
     {
         return(false);
     }
     return(MathUtile.Longueur(this.Collection).Equals(MathUtile.Longueur(other.Collection)));
 }