DistanceFunction.cs 506 B

1234567891011
  1. namespace Dbscan
  2. {
  3. /// <summary>
  4. /// Represents a method that calculates the distance between two <see cref="T:Dbscan.IPointData" /> objects.
  5. /// </summary>
  6. /// <param name="p1">An object representing the first point.</param>
  7. /// <param name="p2">An object representing the second point.</param>
  8. /// <returns>The distance between points <paramref name="p1" /> and <paramref name="p2" />.</returns>
  9. public delegate double DistanceFunction(in IPointData p1, in IPointData p2);
  10. }