Exemple #1
0
 public static bool ApproximateEquals(this Circle2d a, Circle2d b, double tolerance) =>
 ApproximateEquals(a.Center, b.Center, tolerance) &&
 ApproximateEquals(a.Radius, b.Radius, tolerance);
Exemple #2
0
 public static bool ApproximateEquals(this Circle2d a, Circle2d b)
 => ApproximateEquals(a, b, Constant <double> .PositiveTinyValue);
Exemple #3
0
 public bool Equals(Circle2d other)
 => Center.Equals(other.Center) && Radius.Equals(other.Radius);