Ejemplo n.º 1
0
        public static Mesh2f Triangulate(Polygon2f polygon, ConformingCriteria crit = new ConformingCriteria())
        {
            var constructor = new MeshConstructor2f();

            Triangulate(polygon, constructor, crit);
            return(constructor.PopMesh());
        }
Ejemplo n.º 2
0
        public static Mesh2f Triangulate(Polygon2f polygon)
        {
            var constructor = new MeshConstructor2f();

            Triangulate(polygon, constructor);
            return(constructor.PopMesh());
        }