コード例 #1
0
                /// <summary>
                /// Add a cubic b-spline curve with `pointTags' control points. If `tag' is
                /// positive, set the tag explicitly; otherwise a new tag is selected
                /// automatically. Creates a periodic curve if the first and last points are
                /// the same. Return the tag of the b-spline curve.
                /// </summary>
                public static int AddBSpline(int[] pointTags, int tag = -1)
                {
                    var index = Gmsh_Warp.GmshModelGeoAddBSpline(pointTags, pointTags.LongLength, tag, ref Gmsh._staticreff);

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