GeometryClassLibraryTest.ConcavePentagon.newConcavePentagon C# (CSharp) Method

newConcavePentagon() private static method

private static newConcavePentagon ( ) : Polygon
return GeometryClassLibrary.Polygon
        private static Polygon newConcavePentagon()
        {
            Point point1 = Point.MakePointWithInches(0, 0, -1);
            Point point2 = Point.MakePointWithInches(2, 0, -1);
            Point point3 = Point.MakePointWithInches(2, 2, -1);
            Point point4 = Point.MakePointWithInches(0, 2, -1);
            Point point5 = Point.MakePointWithInches(1, 1, -1);

            Polygon concavePentagon = new Polygon(new List<Point> { point1, point2, point3, point4, point5 });
            return concavePentagon;
        }
    }