Ejemplo n.º 1
0
        public string BasisBladeName(int grade, int index, BasisBladeFormat nameFormat)
        {
            switch (nameFormat)
            {
            case BasisBladeFormat.Canonical:
                return(BasisBladeName(grade, index));

            case BasisBladeFormat.BinaryIndexed:
                return(GMacMathUtils.BasisBladeBinaryIndexedName(VSpaceDimension, grade, index));

            case BasisBladeFormat.GradePlusIndex:
                return(GMacMathUtils.BasisBladeGradeIndexName(grade, index));

            default:
                return(GMacMathUtils.BasisBladeIndexedName(grade, index));
            }
        }