FLImaging 7.11.27.4
FLImagingFoundation/FLQuad3.h
1#pragma once
2
8
9#include "FLFigure3.h"
10#include "FLPoint3.h"
11
13namespace FLImaging
14{
16 namespace Foundation
17 {
23 template<typename T>
24 class FL_EXPORT CFLQuad3 : public CFLFigure3
25 {
26 public:
32
38
43 virtual ~CFLQuad3();
44
46
77 CFLQuad3(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1, int32_t x2, int32_t y2, int32_t z2, int32_t x3, int32_t y3, int32_t z3);
78 CFLQuad3(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1, int64_t x2, int64_t y2, int64_t z2, int64_t x3, int64_t y3, int64_t z3);
79 CFLQuad3(float x0, float y0, float z0, float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3);
80 CFLQuad3(double x0, double y0, double z0, double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3);
82
84
101 CFLQuad3(const Base::TPoint3<float>& tpPoint0, const Base::TPoint3<float>& tpPoint1, const Base::TPoint3<float>& tpPoint2, const Base::TPoint3<float>& tpPoint3);
102 CFLQuad3(const Base::TPoint3<double>& tpPoint0, const Base::TPoint3<double>& tpPoint1, const Base::TPoint3<double>& tpPoint2, const Base::TPoint3<double>& tpPoint3);
103 CFLQuad3(const Base::TPoint3<float>* pTpPoint0, const Base::TPoint3<float>* pTpPoint1, const Base::TPoint3<float>* pTpPoint2, const Base::TPoint3<float>* pTpPoint3);
104 CFLQuad3(const Base::TPoint3<double>* pTpPoint0, const Base::TPoint3<double>* pTpPoint1, const Base::TPoint3<double>* pTpPoint2, const Base::TPoint3<double>* pTpPoint3);
106
108
125 CFLQuad3(const CFLPoint3<float>& flpPoint0, const CFLPoint3<float>& flpPoint1, const CFLPoint3<float>& flpPoint2, const CFLPoint3<float>& flpPoint3);
126 CFLQuad3(const CFLPoint3<double>& flpPoint0, const CFLPoint3<double>& flpPoint1, const CFLPoint3<double>& flpPoint2, const CFLPoint3<double>& flpPoint3);
127 CFLQuad3(const CFLPoint3<float>* pFlpPoint0, const CFLPoint3<float>* pFlpPoint1, const CFLPoint3<float>* pFlpPoint2, const CFLPoint3<float>* pFlpPoint3);
128 CFLQuad3(const CFLPoint3<double>* pFlpPoint0, const CFLPoint3<double>* pFlpPoint1, const CFLPoint3<double>* pFlpPoint2, const CFLPoint3<double>* pFlpPoint3);
130
132
148
150
159 CFLQuad3(const CFLQuad3<float>& flqQuad);
160 CFLQuad3(const CFLQuad3<double>& flqQuad);
161 CFLQuad3(const CFLQuad3<float>* pFlqQuad);
162 CFLQuad3(const CFLQuad3<double>* pFlqQuad);
164
166
182
184
195 CFLQuad3(const CFLQuad<float>& flqQuad);
196 CFLQuad3(const CFLQuad<double>& flqQuad);
197 CFLQuad3(const CFLQuad<float>* pFlqQuad);
198 CFLQuad3(const CFLQuad<double>* pFlqQuad);
200
202
213 CFLQuad3(const CFLFigure& flf);
214 CFLQuad3(const CFLFigure* pFlf);
216
218
234
236
247 const CFLQuad3<T>& operator=(const CFLQuad3<float>& flqQuad);
248 const CFLQuad3<T>& operator=(const CFLQuad3<double>& flqQuad);
250
252
268
270
283 const CFLQuad3<T>& operator=(const CFLQuad<float>& flqQuad);
284 const CFLQuad3<T>& operator=(const CFLQuad<double>& flqQuad);
286
298 const CFLQuad3<T>& operator+=(const double& value);
299
301
314 const CFLQuad3<T>& operator+=(const CFLPoint3<float>& flpPoint);
315 const CFLQuad3<T>& operator+=(const CFLPoint3<double>& flpPoint);
317
319
335
347 const CFLQuad3<T>& operator-=(const double& value);
348
350
363 const CFLQuad3<T>& operator-=(const CFLPoint3<float>& flpPoint);
364 const CFLQuad3<T>& operator-=(const CFLPoint3<double>& flpPoint);
366
368
384
396 const CFLQuad3<T>& operator*=(const double& value);
397
399
412 const CFLQuad3<T>& operator*=(const CFLPoint3<float>& flpPoint);
413 const CFLQuad3<T>& operator*=(const CFLPoint3<double>& flpPoint);
415
417
433
445 const CFLQuad3<T>& operator/=(const double& value);
446
448
461 const CFLQuad3<T>& operator/=(const CFLPoint3<float>& flpPoint);
462 const CFLQuad3<T>& operator/=(const CFLPoint3<double>& flpPoint);
464
466
482
494 CFLQuad3<T> operator+(const double& value) const;
495
497
513
515
528 CFLQuad3<T> operator+(const CFLPoint3<float>& flpPoint) const;
531
543 CFLQuad3<T> operator-(const double& value) const;
544
546
562
564
577 CFLQuad3<T> operator-(const CFLPoint3<float>& flpPoint) const;
580
592 CFLQuad3<T> operator*(const double& value) const;
593
595
611
613
626 CFLQuad3<T> operator*(const CFLPoint3<float>& flpPoint) const;
629
641 CFLQuad3<T> operator/(const double& value) const;
642
644
660
662
675 CFLQuad3<T> operator/(const CFLPoint3<float>& flpPoint) const;
678
689
703 friend CFLQuad3<T> operator+(const double& value, const CFLQuad3<T>& quad)
704 {
705 CFLQuad3<T> t(quad);
706 t += value;
707 return t;
708 }
709
723 friend CFLQuad3<T> operator-(const double& value, const CFLQuad3<T>& quad)
724 {
725 CFLQuad3<T> t(quad);
726 t *= -1.;
727 t += value;
728 return t;
729 }
730
744 friend CFLQuad3<T> operator*(const double& value, const CFLQuad3<T>& quad)
745 {
746 CFLQuad3<T> t(quad);
747 t *= value;
748 return t;
749 }
750
764 friend CFLQuad3<T> operator/(const double& value, const CFLQuad3<T>& quad)
765 {
766 CFLQuad3<T> t;
767
768 t.flpPoints[0].x = (T)(value / quad.flpPoints[0].x);
769 t.flpPoints[0].y = (T)(value / quad.flpPoints[0].y);
770 t.flpPoints[0].z = (T)(value / quad.flpPoints[0].z);
771 t.flpPoints[1].x = (T)(value / quad.flpPoints[1].x);
772 t.flpPoints[1].y = (T)(value / quad.flpPoints[1].y);
773 t.flpPoints[1].z = (T)(value / quad.flpPoints[1].z);
774 t.flpPoints[2].x = (T)(value / quad.flpPoints[2].x);
775 t.flpPoints[2].y = (T)(value / quad.flpPoints[2].y);
776 t.flpPoints[2].z = (T)(value / quad.flpPoints[2].z);
777 t.flpPoints[3].x = (T)(value / quad.flpPoints[3].x);
778 t.flpPoints[3].y = (T)(value / quad.flpPoints[3].y);
779 t.flpPoints[3].z = (T)(value / quad.flpPoints[3].z);
780
781 return t;
782 }
783
785
820 virtual const CResult Set(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1, int32_t x2, int32_t y2, int32_t z2, int32_t x3, int32_t y3, int32_t z3);
821 virtual const CResult Set(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1, int64_t x2, int64_t y2, int64_t z2, int64_t x3, int64_t y3, int64_t z3);
822 virtual const CResult Set(float x0, float y0, float z0, float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3);
823 virtual const CResult Set(double x0, double y0, double z0, double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3);
825
827
848 virtual const CResult Set(const Base::TPoint3<float>& tpPoint0, const Base::TPoint3<float>& tpPoint1, const Base::TPoint3<float>& tpPoint2, const Base::TPoint3<float>& tpPoint3);
849 virtual const CResult Set(const Base::TPoint3<double>& tpPoint0, const Base::TPoint3<double>& tpPoint1, const Base::TPoint3<double>& tpPoint2, const Base::TPoint3<double>& tpPoint3);
850 virtual const CResult Set(const Base::TPoint3<float>* pTpPoint0, const Base::TPoint3<float>* pTpPoint1, const Base::TPoint3<float>* pTpPoint2, const Base::TPoint3<float>* pTpPoint3);
851 virtual const CResult Set(const Base::TPoint3<double>* pTpPoint0, const Base::TPoint3<double>* pTpPoint1, const Base::TPoint3<double>* pTpPoint2, const Base::TPoint3<double>* pTpPoint3);
853
855
876 virtual const CResult Set(const CFLPoint3<float>& flpPoint0, const CFLPoint3<float>& flpPoint1, const CFLPoint3<float>& flpPoint2, const CFLPoint3<float>& flpPoint3);
877 virtual const CResult Set(const CFLPoint3<double>& flpPoint0, const CFLPoint3<double>& flpPoint1, const CFLPoint3<double>& flpPoint2, const CFLPoint3<double>& flpPoint3);
878 virtual const CResult Set(const CFLPoint3<float>* pFlpPoint0, const CFLPoint3<float>* pFlpPoint1, const CFLPoint3<float>* pFlpPoint2, const CFLPoint3<float>* pFlpPoint3);
879 virtual const CResult Set(const CFLPoint3<double>* pFlpPoint0, const CFLPoint3<double>* pFlpPoint1, const CFLPoint3<double>* pFlpPoint2, const CFLPoint3<double>* pFlpPoint3);
881
883
898 virtual const CResult Set(const Base::TQuad3<float>& tqQuad);
899 virtual const CResult Set(const Base::TQuad3<double>& tqQuad);
901
903
918 virtual const CResult Set(const Base::TQuad3<float>* pTqQuad);
919 virtual const CResult Set(const Base::TQuad3<double>* pTqQuad);
921
923
936 virtual const CResult Set(const CFLQuad3<float>& flqQuad);
937 virtual const CResult Set(const CFLQuad3<double>& flqQuad);
938 virtual const CResult Set(const CFLQuad3<float>* pFlqQuad);
939 virtual const CResult Set(const CFLQuad3<double>* pFlqQuad);
941
943
958 virtual const CResult Set(const Base::TQuad<float>& tqQuad);
959 virtual const CResult Set(const Base::TQuad<double>& tqQuad);
960 virtual const CResult Set(const Base::TQuad<float>* pTqQuad);
961 virtual const CResult Set(const Base::TQuad<double>* pTqQuad);
963
965
980 virtual const CResult Set(const CFLQuad<float>& flqQuad);
981 virtual const CResult Set(const CFLQuad<double>& flqQuad);
982 virtual const CResult Set(const CFLQuad<float>* pFlqQuad);
983 virtual const CResult Set(const CFLQuad<double>* pFlqQuad);
985
986 virtual const CResult Set(const CFLFigure& flf) override;
987 virtual const CResult Set(const CFLFigure* pFlf) override;
988
989 virtual void Clear() override;
990
991 virtual EFigureDeclType GetDeclType() const override;
992 virtual EFigureTemplateType GetTemplateType() const override;
993
994 virtual bool IsValid() const override;
995 virtual bool IsFigureValid() const override;
996
997 virtual const CResult MakeFigureInvalid() override;
998
1000 virtual bool IsSpecEqual(const CFLFigure* pFlfRhs, EFigureSpecCompareType eSpecType = EFigureSpecCompareType_Coordinates) const override;
1001
1002 using CFLFigure::Swap;
1003 virtual const CResult Swap(CFLFigure* pFlfRight) override;
1004
1006 virtual const CResult GetCenterOfGravity(double& x, double& y, double& z) const override;
1007
1009 virtual const CResult GetCenterOfVertices(double& x, double& y, double& z) const override;
1010
1011 using CFLFigure3::Offset;
1012 virtual const CResult Offset(double x, double y, double z) override;
1013
1015 virtual const CResult Multiply(double x, double y, double z) override;
1016
1017 using CFLFigure3::Rotate;
1018 virtual const CResult Rotate(const CFLGeometry3DQuaternion<float>* pQuat, const CFLPoint3<float>* pFlp3Pivot = nullptr) override;
1019 virtual const CResult Rotate(const CFLGeometry3DQuaternion<double>* pQuat, const CFLPoint3<double>* pFlp3Pivot = nullptr) override;
1020
1021 using CFLFigure3::Scale;
1022 virtual const CResult Scale(double f64PivotX, double f64PivotY, double f64PivotZ, double f64ScaleX, double f64ScaleY, double f64ScaleZ) override;
1023
1025 virtual const CResult Transform(const CMatrix<float>* pMatTransform) override;
1026 virtual const CResult Transform(const CMatrix<double>* pMatTransform) override;
1027
1029 virtual const CResult GetBoundingBox(double& f64MinX, double& f64MinY, double& f64MinZ, double& f64MaxX, double& f64MaxY, double& f64MaxZ) const override;
1030 virtual const CResult GetBoundingBox(float& f32MinX, float& f32MinY, float& f32MinZ, float& f32MaxX, float& f32MaxY, float& f32MaxZ) const override;
1031
1032 virtual const CResult ReverseSequence() override;
1033
1047 virtual const CResult ChangeOriginIndex(int64_t i64IndexToBeOrigin);
1048
1049
1050 protected:
1051 virtual CFLPoint<double> GetCenterOfGravity() const override;
1052
1053 SupportToDuplicateObject(CFLQuad3<T>, *this);
1054 DeclareGetClassType();
1055 };
1056
1057 typedef CFLQuad3<float> CFLQuad3F;
1058 typedef CFLQuad3<double> CFLQuad3D;
1059 }
1060}
3차원 점을 표현하는 간략화된 클래스
Definition FLImagingBase/TPoint3.h:37
사각형을 표현하는 간략화된 클래스
Definition FLImagingBase/TQuad3.h:38
사각형을 표현하는 간략화된 클래스
Definition FLImagingBase/TQuad.h:34
FLImaging 모듈의 수행 결과 객체
Definition FLImagingBase/ResultsDef.h:1739
virtual const CResult Offset(double x, double y) override
virtual const CResult Transform(const CMatrixFor3DTransform< float > &matTransform)
변환 행렬을 사용하여 객체를 변환합니다.
virtual const CResult GetCenterOfVertices(double &x, double &y, double &z) const
virtual const CResult Multiply(double x, double y) override
virtual const CResult Scale(double f64Scale) override
객체의 AABB(Axis-Aligned Bounding Box) 중심점을 기준으로 스케일 변환을 적용합니다.
virtual const CResult GetBoundingBox(Base::TPoint3< float > &tp3Min, Base::TPoint3< float > &tp3Max) const
바운딩 박스(AABB)를 얻어옵니다.
virtual const CResult GetCenterOfGravity(double &x, double &y) const override
virtual const CResult Rotate(const CFLGeometry3DQuaternion< float > &quat, const CFLPoint3< float > &flp3Pivot)
지정된 회전 중심점을 기준으로 객체를 쿼터니언을 이용해 회전시킵니다.
도형을 표현하는 클래스의 기저 클래스
Definition FLImagingFoundation/FLFigure.h:27
virtual bool IsSpecEqual(const CFLFigure &flfRhs, EFigureSpecCompareType eSpecType=EFigureSpecCompareType_Coordinates) const
virtual const CResult Swap(CFLFigure &flfRight)
사원수를 표현하는 클래스
Definition FLImagingFoundation/FLGeometry3DQuaternion.h:30
3차원 점을 표현하는 클래스
Definition FLImagingFoundation/FLPoint3.h:40
Ty z
Definition FLImagingFoundation/FLPoint3.h:58
Ty x
Definition FLImagingFoundation/FLPoint3.h:46
Ty y
Definition FLImagingFoundation/FLPoint3.h:52
점을 표현하는 클래스
Definition FLImagingFoundation/FLPoint.h:24
3차원 사변형을 표현하는 클래스
Definition FLImagingFoundation/FLQuad3.h:25
friend CFLQuad3< T > operator*(const double &value, const CFLQuad3< T > &quad)
사변형의 각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
Definition FLImagingFoundation/FLQuad3.h:744
CFLQuad3< T > operator+(const CFLPoint3< double > &flpPoint) const
이동 연산자[offset]
CFLQuad3(const CFLPoint3< double > &flpPoint0, const CFLPoint3< double > &flpPoint1, const CFLPoint3< double > &flpPoint2, const CFLPoint3< double > &flpPoint3)
초기화 생성자
CFLQuad3< T > operator-(const Base::TPoint3< float > &tpPoint) const
이동 연산자[offset]
CFLQuad3(const CFLQuad3< float > *pFlqQuad)
복사 생성자
const CFLQuad3< T > & operator/=(const Base::TPoint3< double > &tpPoint)
사변형의 각 정점의 x,y,z 값에 매개변수를 나누는 연산자
const CFLQuad3< T > & operator-=(const double &value)
이동 연산자[offset]
CFLQuad3(const Base::TQuad3< float > *pTqQuad)
초기화 생성자로, TQuad3의 각 정점으로 CFLQuad3 초기화
const CFLQuad3< T > & operator=(const Base::TQuad3< float > &tqQuad)
대입 연산자
virtual const CResult Set(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1, int64_t x2, int64_t y2, int64_t z2, int64_t x3, int64_t y3, int64_t z3)
파라미터 설정 함수
CFLQuad3< T > operator-(const CFLPoint3< double > &flpPoint) const
이동 연산자[offset]
CFLQuad3< T > operator+(const Base::TPoint3< double > &tpPoint) const
이동 연산자[offset]
virtual const CResult Set(const Base::TQuad< double > &tqQuad)
파라미터 설정 함수로, TQuad의 각 정점(z = 0)으로 CFLQuad3 설정
const CFLQuad3< T > & operator=(const Base::TQuad3< double > &tqQuad)
대입 연산자
virtual EFigureDeclType GetDeclType() const override
CFLQuad3< T > operator+(const CFLPoint3< float > &flpPoint) const
이동 연산자[offset]
CFLPoint3< float > flpPoints[4]
Definition FLImagingFoundation/FLQuad3.h:31
virtual const CResult Set(const Base::TQuad3< float > &tqQuad)
파라미터 설정 함수로, TQuad3의 각 정점으로 CFLQuad3 설정
const CFLQuad3< T > & operator=(const Base::TQuad< float > &tqQuad)
대입 연산자
virtual const CResult Set(const Base::TQuad< float > *pTqQuad)
파라미터 설정 함수로, TQuad의 각 정점(z = 0)으로 CFLQuad3 설정
virtual const CResult MakeFigureInvalid() override
Figure를 유효하지 않은 Figure로 만듦. (예를 들어, 점의 좌표를 Invalid한 x, y로 설정)
CFLQuad3< T > operator-(const CFLPoint3< float > &flpPoint) const
이동 연산자[offset]
const CFLQuad3< T > & operator/=(const double &value)
사변형의 각 정점의 x,y,z 값에 매개변수를 나누는 연산자
const CFLQuad3< T > & operator=(const CFLQuad< double > &flqQuad)
대입 연산자
virtual const CResult Set(const CFLQuad< float > &flqQuad)
파라미터 설정 함수로, CFLQuad의 각 정점(z = 0)으로 CFLQuad3 설정
CFLQuad3< T > operator+(const double &value) const
이동 연산자[offset]
CFLQuad3(const Base::TQuad3< float > &tqQuad)
초기화 생성자로, TQuad3의 각 정점으로 CFLQuad3 초기화
virtual const CResult ReverseSequence() override
순서를 반대방향으로 바꾸는 함수
virtual const CResult Offset(double x, double y, double z) override
virtual const CResult Rotate(const CFLGeometry3DQuaternion< double > *pQuat, const CFLPoint3< double > *pFlp3Pivot=nullptr) override
객체를 쿼터니언을 이용해 회전시킵니다. 회전 중심점이 nullptr인 경우 객체의 AABB(Axis-Aligned Bounding Box) 중심점을 회전 중심으로 사용합니다.
virtual const CResult Set(const Base::TQuad3< double > *pTqQuad)
파라미터 설정 함수로, TQuad3의 각 정점으로 CFLQuad3 설정
CFLQuad3(const Base::TQuad3< double > *pTqQuad)
초기화 생성자로, TQuad3의 각 정점으로 CFLQuad3 초기화
virtual const CResult ChangeOriginIndex(int64_t i64IndexToBeOrigin)
모양은 유지한 상태로 시작 정점을 변경하는 함수
friend CFLQuad3< T > operator-(const double &value, const CFLQuad3< T > &quad)
이동 연산자[offset]
Definition FLImagingFoundation/FLQuad3.h:723
CFLQuad3(const Base::TQuad< float > &tqQuad)
초기화 생성자로, TQuad의 각 정점(z = 0)으로 CFLQuad3 초기화
CFLQuad3(const CFLQuad< float > *pFlqQuad)
초기화 생성자로, CFLQuad의 각 정점(z = 0)으로 CFLQuad3 초기화
CFLQuad3(const Base::TQuad< double > &tqQuad)
초기화 생성자로, TQuad의 각 정점(z = 0)으로 CFLQuad3 초기화
virtual void Clear() override
모든 내부 변수를 초기화하고 모든 3D 꼭짓점 좌표를 0으로 리셋합니다.
virtual const CResult Scale(double f64PivotX, double f64PivotY, double f64PivotZ, double f64ScaleX, double f64ScaleY, double f64ScaleZ) override
지정된 중심점을 기준으로 객체에 대해 스케일 변환을 적용합니다.
CFLQuad3(const CFLQuad3< double > &flqQuad)
복사 생성자
CFLQuad3< T > operator+(const Base::TPoint3< float > &tpPoint) const
이동 연산자[offset]
CFLQuad3(const CFLPoint3< float > &flpPoint0, const CFLPoint3< float > &flpPoint1, const CFLPoint3< float > &flpPoint2, const CFLPoint3< float > &flpPoint3)
초기화 생성자
CFLQuad3< T > operator*(const double &value) const
사변형의 각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
virtual const CResult Set(const Base::TQuad< float > &tqQuad)
파라미터 설정 함수로, TQuad의 각 정점(z = 0)으로 CFLQuad3 설정
virtual const CResult Set(const Base::TQuad3< double > &tqQuad)
파라미터 설정 함수로, TQuad3의 각 정점으로 CFLQuad3 설정
CFLQuad3< T > operator*(const CFLPoint3< float > &flpPoint) const
사변형의 각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
const CFLQuad3< T > & operator*=(const CFLPoint3< double > &flpPoint)
사변형의 각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
virtual const CResult Set(const CFLPoint3< double > *pFlpPoint0, const CFLPoint3< double > *pFlpPoint1, const CFLPoint3< double > *pFlpPoint2, const CFLPoint3< double > *pFlpPoint3)
파라미터 설정 함수
const CFLQuad3< T > & operator-=(const CFLPoint3< double > &flpPoint)
이동 연산자[offset]
virtual const CResult Set(const CFLQuad3< double > &flqQuad)
파라미터 설정 함수
virtual const CResult Set(const CFLQuad3< float > &flqQuad)
파라미터 설정 함수
const CFLQuad3< T > & operator/=(const Base::TPoint3< float > &tpPoint)
사변형의 각 정점의 x,y,z 값에 매개변수를 나누는 연산자
CFLQuad3(const CFLPoint3< float > *pFlpPoint0, const CFLPoint3< float > *pFlpPoint1, const CFLPoint3< float > *pFlpPoint2, const CFLPoint3< float > *pFlpPoint3)
초기화 생성자
const CFLQuad3< T > & operator+=(const double &value)
이동 연산자[offset]
const CFLQuad3< T > & operator=(const Base::TQuad< double > &tqQuad)
대입 연산자
virtual const CResult Set(const CFLPoint3< double > &flpPoint0, const CFLPoint3< double > &flpPoint1, const CFLPoint3< double > &flpPoint2, const CFLPoint3< double > &flpPoint3)
파라미터 설정 함수
CFLQuad3(const Base::TPoint3< double > &tpPoint0, const Base::TPoint3< double > &tpPoint1, const Base::TPoint3< double > &tpPoint2, const Base::TPoint3< double > &tpPoint3)
초기화 생성자
virtual bool IsValid() const override
virtual const CResult Set(const Base::TPoint3< double > &tpPoint0, const Base::TPoint3< double > &tpPoint1, const Base::TPoint3< double > &tpPoint2, const Base::TPoint3< double > &tpPoint3)
파라미터 설정 함수
virtual const CResult Set(const Base::TPoint3< double > *pTpPoint0, const Base::TPoint3< double > *pTpPoint1, const Base::TPoint3< double > *pTpPoint2, const Base::TPoint3< double > *pTpPoint3)
파라미터 설정 함수
virtual const CResult Set(const CFLFigure &flf) override
CFLQuad3(float x0, float y0, float z0, float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3)
초기화 생성자
const CFLQuad3< T > & operator=(const CFLQuad3< float > &flqQuad)
대입 연산자
CFLQuad3< T > operator-(const Base::TPoint3< double > &tpPoint) const
이동 연산자[offset]
virtual const CResult Set(const Base::TQuad3< float > *pTqQuad)
파라미터 설정 함수로, TQuad3의 각 정점으로 CFLQuad3 설정
const CFLQuad3< T > & operator-=(const CFLPoint3< float > &flpPoint)
이동 연산자[offset]
virtual bool IsFigureValid() const override
const CFLQuad3< T > & operator-=(const Base::TPoint3< float > &tpPoint)
이동 연산자[offset]
CFLQuad3< T > operator*(const Base::TPoint3< float > &tpPoint) const
사변형의 각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
const CFLQuad3< T > & operator*=(const double &value)
사변형의 각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
const CFLQuad3< T > & operator*=(const Base::TPoint3< double > &tpPoint)
사변형의 각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
const CFLQuad3< T > & operator/=(const CFLPoint3< float > &flpPoint)
사변형의 각 정점의 x,y,z 값에 매개변수를 나누는 연산자
const CFLQuad3< T > & operator/=(const CFLPoint3< double > &flpPoint)
사변형의 각 정점의 x,y,z 값에 매개변수를 나누는 연산자
CFLQuad3< T > operator*(const Base::TPoint3< double > &tpPoint) const
사변형의 각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
virtual const CResult GetCenterOfVertices(double &x, double &y, double &z) const override
virtual const CResult Set(const CFLPoint3< float > &flpPoint0, const CFLPoint3< float > &flpPoint1, const CFLPoint3< float > &flpPoint2, const CFLPoint3< float > &flpPoint3)
파라미터 설정 함수
virtual const CResult Transform(const CMatrix< float > *pMatTransform) override
변환 행렬(4x4 또는 3x3)을 사용하여 객체를 변환합니다.
CFLQuad3(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1, int64_t x2, int64_t y2, int64_t z2, int64_t x3, int64_t y3, int64_t z3)
초기화 생성자
const CFLQuad3< T > & operator+=(const Base::TPoint3< float > &tpPoint)
이동 연산자[offset]
virtual const CResult Swap(CFLFigure *pFlfRight) override
CFLQuad3< T > operator/(const Base::TPoint3< double > &tpPoint) const
사변형의 각 정점의 x, y, z 값을 매개변수로 나누는 연산자
const CFLQuad3< T > & operator+=(const CFLPoint3< double > &flpPoint)
이동 연산자[offset]
CFLQuad3(const CFLFigure *pFlf)
초기화 생성자로, Figure 의 DeclType 에 맞는 Set() 함수를 호출합니다.
CFLQuad3< T > operator*(const CFLPoint3< double > &flpPoint) const
사변형의 각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
virtual const CResult Set(const CFLQuad< float > *pFlqQuad)
파라미터 설정 함수로, CFLQuad의 각 정점(z = 0)으로 CFLQuad3 설정
CFLQuad3(const CFLQuad< double > *pFlqQuad)
초기화 생성자로, CFLQuad의 각 정점(z = 0)으로 CFLQuad3 초기화
CFLQuad3(const CFLFigure &flf)
초기화 생성자로, Figure 의 DeclType 에 맞는 Set() 함수를 호출합니다.
const CFLQuad3< T > & operator+=(const Base::TPoint3< double > &tpPoint)
이동 연산자[offset]
virtual const CResult Set(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1, int32_t x2, int32_t y2, int32_t z2, int32_t x3, int32_t y3, int32_t z3)
파라미터 설정 함수
CFLQuad3< T > operator/(const CFLPoint3< double > &flpPoint) const
사변형의 각 정점의 x, y, z 값을 매개변수로 나누는 연산자
virtual const CResult Set(const Base::TPoint3< float > *pTpPoint0, const Base::TPoint3< float > *pTpPoint1, const Base::TPoint3< float > *pTpPoint2, const Base::TPoint3< float > *pTpPoint3)
파라미터 설정 함수
const CFLQuad3< T > & operator*=(const CFLPoint3< float > &flpPoint)
사변형의 각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
virtual const CResult Set(const CFLQuad3< double > *pFlqQuad)
파라미터 설정 함수
CFLQuad3(const Base::TPoint3< double > *pTpPoint0, const Base::TPoint3< double > *pTpPoint1, const Base::TPoint3< double > *pTpPoint2, const Base::TPoint3< double > *pTpPoint3)
초기화 생성자
virtual const CResult GetCenterOfGravity(double &x, double &y, double &z) const override
3차원 객체의 무게 중심 좌표를 획득합니다.
virtual const CResult Set(const Base::TQuad< double > *pTqQuad)
파라미터 설정 함수로, TQuad의 각 정점(z = 0)으로 CFLQuad3 설정
CFLQuad3(const CFLQuad3< float > &flqQuad)
복사 생성자
CFLQuad3< T > operator/(const Base::TPoint3< float > &tpPoint) const
사변형의 각 정점의 x, y, z 값을 매개변수로 나누는 연산자
CFLQuad3(const Base::TPoint3< float > &tpPoint0, const Base::TPoint3< float > &tpPoint1, const Base::TPoint3< float > &tpPoint2, const Base::TPoint3< float > &tpPoint3)
초기화 생성자
CFLQuad3(const Base::TQuad3< double > &tqQuad)
초기화 생성자로, TQuad3의 각 정점으로 CFLQuad3 초기화
CFLQuad3(const CFLQuad3< double > *pFlqQuad)
복사 생성자
const CFLQuad3< T > & operator=(const CFLQuad< float > &flqQuad)
대입 연산자
const CFLQuad3< T > & operator=(const CFLQuad3< double > &flqQuad)
대입 연산자
virtual const CResult Set(const CFLPoint3< float > *pFlpPoint0, const CFLPoint3< float > *pFlpPoint1, const CFLPoint3< float > *pFlpPoint2, const CFLPoint3< float > *pFlpPoint3)
파라미터 설정 함수
CFLQuad3(const CFLQuad< double > &flqQuad)
초기화 생성자로, CFLQuad의 각 정점(z = 0)으로 CFLQuad3 초기화
CFLQuad3< T > operator-() const
해당 객체의 x, y, z 값의 부호를 반전시킨 객체를 반환하는 연산자
CFLQuad3< T > operator/(const CFLPoint3< float > &flpPoint) const
사변형의 각 정점의 x, y, z 값을 매개변수로 나누는 연산자
virtual const CResult Set(const CFLQuad< double > *pFlqQuad)
파라미터 설정 함수로, CFLQuad의 각 정점(z = 0)으로 CFLQuad3 설정
CFLQuad3< T > operator-(const double &value) const
이동 연산자[offset]
virtual const CResult Set(const CFLQuad3< float > *pFlqQuad)
파라미터 설정 함수
CFLQuad3(const Base::TQuad< double > *pTqQuad)
초기화 생성자로, TQuad의 각 정점(z = 0)으로 CFLQuad3 초기화
CFLQuad3(const CFLQuad< float > &flqQuad)
초기화 생성자로, CFLQuad의 각 정점(z = 0)으로 CFLQuad3 초기화
virtual const CResult Rotate(const CFLGeometry3DQuaternion< float > *pQuat, const CFLPoint3< float > *pFlp3Pivot=nullptr) override
객체를 쿼터니언을 이용해 회전시킵니다. 회전 중심점이 nullptr인 경우 객체의 AABB(Axis-Aligned Bounding Box) 중심점을 회전 중심으로 사용합니다.
const CFLQuad3< T > & operator+=(const CFLPoint3< float > &flpPoint)
이동 연산자[offset]
virtual EFigureTemplateType GetTemplateType() const override
virtual const CResult Multiply(double x, double y, double z) override
virtual bool IsSpecEqual(const CFLFigure *pFlfRhs, EFigureSpecCompareType eSpecType=EFigureSpecCompareType_Coordinates) const override
CFLQuad3(const Base::TQuad< float > *pTqQuad)
초기화 생성자로, TQuad의 각 정점(z = 0)으로 CFLQuad3 초기화
CFLQuad3(const Base::TPoint3< float > *pTpPoint0, const Base::TPoint3< float > *pTpPoint1, const Base::TPoint3< float > *pTpPoint2, const Base::TPoint3< float > *pTpPoint3)
초기화 생성자
const CFLQuad3< T > & operator-=(const Base::TPoint3< double > &tpPoint)
이동 연산자[offset]
CFLQuad3(const CFLPoint3< double > *pFlpPoint0, const CFLPoint3< double > *pFlpPoint1, const CFLPoint3< double > *pFlpPoint2, const CFLPoint3< double > *pFlpPoint3)
초기화 생성자
virtual const CResult GetBoundingBox(float &f32MinX, float &f32MinY, float &f32MinZ, float &f32MaxX, float &f32MaxY, float &f32MaxZ) const override
바운딩 박스(AABB)를 얻어옵니다.
virtual const CResult Set(const CFLFigure *pFlf) override
friend CFLQuad3< T > operator+(const double &value, const CFLQuad3< T > &quad)
이동 연산자[offset]
Definition FLImagingFoundation/FLQuad3.h:703
virtual const CResult Set(float x0, float y0, float z0, float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3)
파라미터 설정 함수
virtual const CResult Set(const Base::TPoint3< float > &tpPoint0, const Base::TPoint3< float > &tpPoint1, const Base::TPoint3< float > &tpPoint2, const Base::TPoint3< float > &tpPoint3)
파라미터 설정 함수
virtual const CResult Transform(const CMatrix< double > *pMatTransform) override
변환 행렬(4x4 또는 3x3)을 사용하여 객체를 변환합니다.
virtual CFLPoint< double > GetCenterOfGravity() const override
virtual const CResult Set(const CFLQuad< double > &flqQuad)
파라미터 설정 함수로, CFLQuad의 각 정점(z = 0)으로 CFLQuad3 설정
virtual const CResult Set(double x0, double y0, double z0, double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3)
파라미터 설정 함수
friend CFLQuad3< T > operator/(const double &value, const CFLQuad3< T > &quad)
사변형의 각 정점의 x, y, z 값을 매개변수로 나누는 연산자
Definition FLImagingFoundation/FLQuad3.h:764
virtual const CResult GetBoundingBox(double &f64MinX, double &f64MinY, double &f64MinZ, double &f64MaxX, double &f64MaxY, double &f64MaxZ) const override
바운딩 박스(AABB)를 얻어옵니다.
const CFLQuad3< T > & operator*=(const Base::TPoint3< float > &tpPoint)
사변형의 각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
CFLQuad3< T > operator/(const double &value) const
사변형의 각 정점의 x, y, z 값을 매개변수로 나누는 연산자
CFLQuad3(double x0, double y0, double z0, double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3)
초기화 생성자
CFLQuad3(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1, int32_t x2, int32_t y2, int32_t z2, int32_t x3, int32_t y3, int32_t z3)
초기화 생성자
사변형을 표현하는 클래스
Definition FLImagingFoundation/FLQuad.h:24
행렬을 표현하는 클래스
Definition FLImagingFoundation/Matrix.h:79
Definition FLImagingFoundation/AlgorithmBase.h:16
EFigureDeclType
도형의 타입
Definition FLImagingFoundation/DefinitionsFigure.h:33
EFigureTemplateType
도형의 변수 자료형
Definition FLImagingFoundation/DefinitionsFigure.h:434
EFigureSpecCompareType
Definition FLImagingFoundation/DefinitionsFigure.h:3649
@ EFigureSpecCompareType_Coordinates
Definition FLImagingFoundation/DefinitionsFigure.h:3654