コード例 #1
0
        public static void CalculateAngleBetweenVectors(Vector first, Vector second, IView view)
        {
            var angle = VectorHelper.CalculateAngle(first, second);

            view.ShowAngleBetweenVectors(first, second, angle);
        }
コード例 #2
0
        public static void ExecuteScalarProduct(Vector first, Vector second, IView view)
        {
            var multiplicationResult = VectorHelper.CalculateScalarProduct(first, second);

            view.ShowResultOfScalarProduct(first, second, multiplicationResult);
        }