Exemple #1
0
                /// <summary>
                /// Add a b-spline with control points sampling the curves in `curveTags'. The
                /// density of sampling points on each curve is governed by `numIntervals'. If
                /// `tag' is positive, set the tag explicitly; otherwise a new tag is selected
                /// automatically. Return the tag of the b-spline.
                /// </summary>
                public static int AddCompoundBSpline(int[] curveTags, int numIntervals = 20, int tag = -1)
                {
                    var index = Gmsh_Warp.GmshModelGeoAddCompoundBSpline(curveTags, curveTags.LongLength, numIntervals, tag, ref Gmsh._staticreff);

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