Esempio n. 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);
Esempio n. 2
0
 public static bool ApproximateEquals(this Circle2d a, Circle2d b)
 => ApproximateEquals(a, b, Constant <double> .PositiveTinyValue);
Esempio n. 3
0
 public bool Equals(Circle2d other)
 => Center.Equals(other.Center) && Radius.Equals(other.Radius);