Пример #1
0
        private void ModifyViewCubeLength(double newValue)
        {
            var newCornerPoints         = Calculations.ComputeCubeCordinates(MCS.ProjectedCubeCenter.ToVector3D(), newValue);
            var hypotheticalPlanePos    = MCS.HypotheticalCubeCenter;
            var hypotheticalPlaneNormal = -1 * MCS.DetectorPlaneNormal;
            var hypotheticalCubePoints  = Calculations.ProjectCubeCordinates(newCornerPoints, hypotheticalPlanePos, hypotheticalPlaneNormal, true);

            MCS.ModifyCubeSideLenghts(hypotheticalCubePoints, newCornerPoints);
        }