示例#1
0
        private void PlotAxis(Interval iInterval, Interval dInterval, Interval fInterval)
        {
            xInterval = null;
            yInterval = null;
            zInterval = null;

            if (axisEnabled[Axis.x])
            {
                xInterval = GetAbsoluteElement(iInterval, dInterval, fInterval, Axis.x);
            }

            if (axisEnabled[Axis.y])
            {
                yInterval = GetAbsoluteElement(iInterval, dInterval, fInterval, Axis.y);
            }

            if (axisEnabled[Axis.z])
            {
                zInterval = GetAbsoluteElement(iInterval, dInterval, fInterval, Axis.z);
            }

            PlotUtils.SetScale(scale, xInterval, yInterval);

            AxisPlotter.Plot(parent, axisMaterial, lineMesh, PlotUtils.AxisRadius(), xInterval, yInterval,
                             zInterval);
        }