Ejemplo n.º 1
0
                /// <summary>
                /// Add a circle arc (strictly smaller than Pi) between the two points with
                /// tags `startTag' and `endTag', with center `centertag'. If `tag' is
                /// positive, set the tag explicitly; otherwise a new tag is selected
                /// automatically. If (`nx', `ny', `nz') != (0, 0, 0), explicitly set the
                /// plane of the circle arc. Return the tag of the circle arc.
                /// </summary>
                public static int AddCircleArc(int startTag, int centerTag, int endTag, int tag = -1, double nx = 0, double ny = 0, double nz = 0)
                {
                    var index = Gmsh_Warp.GmshModelGeoAddCircleArc(startTag, centerTag, endTag, tag, nx, ny, nz, ref Gmsh._staticreff);

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