예제 #1
0
                /// <summary>
                /// Add a Bezier curve with `pointTags' control points. If `tag' is positive,
                /// set the tag explicitly; otherwise a new tag is selected automatically.
                /// Return the tag of the Bezier curve.
                /// </summary>
                public static int AddBezier(int[] pointTags, int tag = -1)
                {
                    var index = Gmsh_Warp.GmshModelGeoAddBezier(pointTags, pointTags.LongLength, tag, ref Gmsh._staticreff);

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