示例#1
0
    public static void Main(string[] args)
    {
        var sortFuncs = new SortFuncs();

        sortFuncs.SortFuncForTxtOutput = sortFuncs.Quicksort;

        sortFuncs.FillAndGetSortData();
        sortFuncs.FillAndGetSortedData();
    }
 private int _CompareTo(PolygonSplittingGraphNode other)
 {
     return(SortFuncs.SortByXThenYAscending(new Vector2(this.x, this.y), new Vector2(other.x, other.y)));
 }