fCraft.FuncDrawOperation.GetVarArray C# (CSharp) Method

GetVarArray() private static method

private static GetVarArray ( ValueAxis axis ) : IEnumerable
axis ValueAxis
return IEnumerable
        private static IEnumerable<string> GetVarArray( ValueAxis axis )
        {
            switch ( axis ) {
                case ValueAxis.Z:
                    return new string[] { "x", "y" };
                case ValueAxis.Y:
                    return new string[] { "x", "z" };
                case ValueAxis.X:
                    return new string[] { "y", "z" };
            }
            throw new ArgumentException( "Unknown value axis direction " + axis + ". This software is not released for use in spaces with dimension higher than three." );
        }