From 12c02f064db12d6d94063bf6dd9e4eb80f4252b8 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 월, 11 10월 2021 15:30:00 +0900 Subject: [PATCH] Ongoing60 #3662 CF AOI Review 전설비 알람 발생 조치 - Review History File Mapping 해제 - Review Inner History 다운 현상 예외처리 추가 - Review End 시 Review 다운 현상 예외처리 추가 --- ReviewHistory/include/akSTL/akVector.h | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/ReviewHistory/include/akSTL/akVector.h b/ReviewHistory/include/akSTL/akVector.h new file mode 100644 index 0000000..7ee2918 --- /dev/null +++ b/ReviewHistory/include/akSTL/akVector.h @@ -0,0 +1,45 @@ +#pragma once + +#include "akSTLLinker.h" +#include "akVectorT.h" + +//#define CakPointToCPoint(akPoint) CPoint(akPoint.x, akPoint.y) +//#define CPointToCakPoint(point) CakPoint(point.x, point.y) + + +class AKSTL_DLLSPEC akVector3d : public CakVectorT<double> +{ +public: + + akVector3d(){}; + virtual ~akVector3d(){}; + + akVector3d(const double& X, const double& Y, const double& Z) + { + x=X,y=Y,z=Z; + }; + + akVector3d operator*(double& a) + { + akVector3d returnval; + + returnval.x = x * a; + returnval.y = y * a; + returnval.z = z * a; + + return returnval; + }; + + akVector3d operator *(akVector3d &vec) + { + akVector3d vc; + vc.x = y*vec.z - z*vec.y; + vc.y = z*vec.x - x*vec.z; + vc.z = x*vec.y - y*vec.x; + return vc; + } + + + + +}; -- Gitblit v1.9.3