예제 #1
0
                /// <summary>
                /// Add a plane surface defined by one or more curve loops `wireTags'. The
                /// first curve loop defines the exterior contour; additional curve loop
                /// define holes. If `tag' is positive, set the tag explicitly; otherwise a
                /// new tag is selected automatically. Return the tag of the surface.
                /// </summary>
                public static int AddPlaneSurface(int[] wireTags, int tag = -1)
                {
                    var index = Gmsh_Warp.GmshModelGeoAddPlaneSurface(wireTags, wireTags.LongLength, tag, ref Gmsh._staticreff);

                    Gmsh.CheckException(MethodBase.GetCurrentMethod().MethodHandle);
                    return(index);
                }