Exemple #1
0
                /// <summary>
                /// Add a spline (Catmull-Rom) going through 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 spline.
                /// </summary>
                public static int AddCompoundSpline(int[] curveTags, int numIntervals = 5, int tag = -1)
                {
                    var index = Gmsh_Warp.GmshModelGeoAddCompoundSpline(curveTags, curveTags.LongLength, numIntervals, tag, ref Gmsh._staticreff);

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