"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.convert3DPlaneModeForTitles = exports.convert3DPlaneModeForLabels = exports.EAxisPlaneDrawLabelsMode = void 0;
var EAxisPlaneDrawLabelsMode;
(function (EAxisPlaneDrawLabelsMode) {
    EAxisPlaneDrawLabelsMode["Both"] = "Both";
    EAxisPlaneDrawLabelsMode["Hidden"] = "Hidden";
    /** X for ZX or XY plane, Z For ZY */
    EAxisPlaneDrawLabelsMode["LocalX"] = "LocalX";
    /** Y for ZY or XY plane, Z for ZX */
    EAxisPlaneDrawLabelsMode["LocalY"] = "LocalY";
})(EAxisPlaneDrawLabelsMode = exports.EAxisPlaneDrawLabelsMode || (exports.EAxisPlaneDrawLabelsMode = {}));
var convert3DPlaneModeForLabels = function (mode, webAssemblyContext) {
    switch (mode) {
        case EAxisPlaneDrawLabelsMode.Both:
            return webAssemblyContext.eAxisPlaneDrawLabelsMode.AxisPlaneDrawLabelsBoth;
        case EAxisPlaneDrawLabelsMode.Hidden:
            return webAssemblyContext.eAxisPlaneDrawLabelsMode.AxisPlaneDrawLabelsHidden;
        case EAxisPlaneDrawLabelsMode.LocalX:
            return webAssemblyContext.eAxisPlaneDrawLabelsMode.AxisPlaneDrawLabelsLocalX;
        case EAxisPlaneDrawLabelsMode.LocalY:
            return webAssemblyContext.eAxisPlaneDrawLabelsMode.AxisPlaneDrawLabelsLocalY;
    }
};
exports.convert3DPlaneModeForLabels = convert3DPlaneModeForLabels;
var convert3DPlaneModeForTitles = function (mode, webAssemblyContext) {
    switch (mode) {
        case EAxisPlaneDrawLabelsMode.Both:
            return webAssemblyContext.eAxisPlaneDrawTitlesMode.AxisPlaneDrawTitlesBoth;
        case EAxisPlaneDrawLabelsMode.Hidden:
            return webAssemblyContext.eAxisPlaneDrawTitlesMode.AxisPlaneDrawTitlesHidden;
        case EAxisPlaneDrawLabelsMode.LocalX:
            return webAssemblyContext.eAxisPlaneDrawTitlesMode.AxisPlaneDrawTitlesLocalX;
        case EAxisPlaneDrawLabelsMode.LocalY:
            return webAssemblyContext.eAxisPlaneDrawTitlesMode.AxisPlaneDrawTitlesLocalY;
    }
};
exports.convert3DPlaneModeForTitles = convert3DPlaneModeForTitles;
