Accord.Tests.Imaging.ConvexHullDefectsTest.add C# (CSharp) Method

add() private static method

private static add ( List contour, int x, int y ) : void
contour List
x int
y int
return void
        private static void add(List<IntPoint> contour, int x, int y)
        {
            var p = new IntPoint(x, y);
            if (!contour.Contains(p))
                contour.Add(p);
        }
    }
ConvexHullDefectsTest