예제 #1
0
                /// <summary>
                /// Add an ellipse arc (strictly smaller than Pi) between the two points
                /// `startTag' and `endTag', with center `centerTag' and major axis point
                /// `majorTag'. 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 ellipse
                /// arc.
                /// </summary>
                public static int AddEllipseArc(int startTag, int centerTag, int majorTag, int endTag, int tag = -1, double nx = 0, double ny = 0, double nz = 0)
                {
                    var index = Gmsh_Warp.GmshModelGeoAddEllipseArc(startTag, centerTag, majorTag, endTag, tag, nx, ny, nz, ref Gmsh._staticreff);

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