public static HCCluster FromSinglePoint(HCPoint point) { List <HCPoint> pointList = new(); pointList.Add(point); return(new(pointList)); }
public static double Euclid(HCPoint a, HCPoint b) { return(Math.Sqrt((a.X - b.X) * (a.X - b.X) + (a.Y - b.Y) * (a.Y - b.Y))); }