public void TestConvexHullExtendedRounded() { List <PointF> extendedHull = ConvexHullModified.ExtendHull(globalHull, omega); bool[,] field = ConvexHullModified.GetRoundedFieldFilling(bmpX, bmpY, omega, globalHull, extendedHull); PrintHullMathCoords(field, "FieldFillingExtendedRounded.jpg"); }
public void TestConvexHullExtendedRoundedMassive() { string homeFolder = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); ParsePoints(homeFolder + "\\convex_hull_db.txt"); List <PointF> hull = ConvexHull.GetConvexHull(globalHullMassive); List <PointF> extendedHull = ConvexHullModified.ExtendHull(hull, omega); bool[,] field = ConvexHullModified.GetRoundedFieldFilling(bmpX, bmpY, omega, hull, extendedHull); PrintHullMathCoords(field, "FieldFillingExtendedRounded.jpg"); }