示例#1
0
                /// <summary>
                /// Rotate the model entities `dimTags' of `angle' radians around the axis of
                /// revolution defined by the point (`x', `y', `z') and the direction (`ax',
                /// `ay', `az').
                /// </summary>
                public static void Rotate(ValueTuple <int, int>[] dimTags, double x, double y, double z, double ax, double ay, double az, double angle)
                {
                    var list = dimTags.ToIntArray();

                    Gmsh_Warp.GmshModelGeoRotate(list, list.LongLength, x, y, z, ax, ay, az, angle, ref Gmsh._staticreff);
                    Gmsh.CheckException(MethodBase.GetCurrentMethod().MethodHandle);
                }