Exemple #1
0
 /// <summary>
 /// Checks if two arcs are equals ( it checks agains swapped from-to too )
 /// </summary>
 public bool EqualsTol(double tolLen, double tolRad, Arc3D other)
 {
     if (!Center.EqualsTol(tolLen, other.Center))
     {
         return(false);
     }
     if (!Radius.EqualsTol(tolLen, other.Radius))
     {
         return(false);
     }
     if (!Segment.EqualsTol(tolLen, other.Segment))
     {
         return(false);
     }
     return(true);
 }