FLImaging 7.11.27.4
FLImagingFoundation/FLTriangle3.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 CFLTriangle3 : public CFLFigure3
25 {
26 public:
32
38
43 virtual ~CFLTriangle3();
44
46
71 CFLTriangle3(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);
72 CFLTriangle3(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);
73 CFLTriangle3(float x0, float y0, float z0, float x1, float y1, float z1, float x2, float y2, float z2);
74 CFLTriangle3(double x0, double y0, double z0, double x1, double y1, double z1, double x2, double y2, double z2);
76
78
93 CFLTriangle3(const Base::TPoint3<float>& tpPoint0, const Base::TPoint3<float>& tpPoint1, const Base::TPoint3<float>& tpPoint2);
94 CFLTriangle3(const Base::TPoint3<double>& tpPoint0, const Base::TPoint3<double>& tpPoint1, const Base::TPoint3<double>& tpPoint2);
95 CFLTriangle3(const Base::TPoint3<float>* pTpPoint0, const Base::TPoint3<float>* pTpPoint1, const Base::TPoint3<float>* pTpPoint2);
96 CFLTriangle3(const Base::TPoint3<double>* pTpPoint0, const Base::TPoint3<double>* pTpPoint1, const Base::TPoint3<double>* pTpPoint2);
98
100
115 CFLTriangle3(const CFLPoint3<float>& flpPoint0, const CFLPoint3<float>& flpPoint1, const CFLPoint3<float>& flpPoint2);
116 CFLTriangle3(const CFLPoint3<double>& flpPoint0, const CFLPoint3<double>& flpPoint1, const CFLPoint3<double>& flpPoint2);
117 CFLTriangle3(const CFLPoint3<float>* pFlpPoint0, const CFLPoint3<float>* pFlpPoint1, const CFLPoint3<float>* pFlpPoint2);
118 CFLTriangle3(const CFLPoint3<double>* pFlpPoint0, const CFLPoint3<double>* pFlpPoint1, const CFLPoint3<double>* pFlpPoint2);
120
122
136
138
154
156
170
172
186
188
204
216 const CFLTriangle3<T>& operator+=(const double& value);
217
219
235
237
253
265 const CFLTriangle3<T>& operator-=(const double& value);
266
268
284
286
302
314 const CFLTriangle3<T>& operator*=(const double& value);
315
317
333
335
351
363 const CFLTriangle3<T>& operator/=(const double& value);
364
366
382
384
400
412 CFLTriangle3<T> operator+(const double& value) const;
413
415
431
433
449
461 CFLTriangle3<T> operator-(const double& value) const;
462
464
480
482
498
510 CFLTriangle3<T> operator*(const double& value) const;
511
513
529
531
547
559 CFLTriangle3<T> operator/(const double& value) const;
560
562
578
580
596
607
621 friend CFLTriangle3<T> operator+(const double& value, const CFLTriangle3<T>& fltTri)
622 {
623 CFLTriangle3<T> t(fltTri);
624 t += value;
625 return t;
626 }
627
641 friend CFLTriangle3<T> operator-(const double& value, const CFLTriangle3<T>& fltTri)
642 {
643 CFLTriangle3<T> t(fltTri);
644 t *= -1.;
645 t += value;
646 return t;
647 }
648
662 friend CFLTriangle3<T> operator*(const double& value, const CFLTriangle3<T>& fltTri)
663 {
664 CFLTriangle3<T> t(fltTri);
665 t *= value;
666 return t;
667 }
668
682 friend CFLTriangle3<T> operator/(const double& value, const CFLTriangle3<T>& fltTri)
683 {
685
686 t.flpPoints[0].x = (T)(value / fltTri.flpPoints[0].x);
687 t.flpPoints[0].y = (T)(value / fltTri.flpPoints[0].y);
688 t.flpPoints[0].z = (T)(value / fltTri.flpPoints[0].z);
689 t.flpPoints[1].x = (T)(value / fltTri.flpPoints[1].x);
690 t.flpPoints[1].y = (T)(value / fltTri.flpPoints[1].y);
691 t.flpPoints[1].z = (T)(value / fltTri.flpPoints[1].z);
692 t.flpPoints[2].x = (T)(value / fltTri.flpPoints[2].x);
693 t.flpPoints[2].y = (T)(value / fltTri.flpPoints[2].y);
694 t.flpPoints[2].z = (T)(value / fltTri.flpPoints[2].z);
695
696 return t;
697 }
698
700
729 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);
730 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);
731 virtual const CResult Set(float x0, float y0, float z0, float x1, float y1, float z1, float x2, float y2, float z2);
732 virtual const CResult Set(double x0, double y0, double z0, double x1, double y1, double z1, double x2, double y2, double z2);
734
736
755 virtual const CResult Set(const Base::TPoint3<float>& tpPoint0, const Base::TPoint3<float>& tpPoint1, const Base::TPoint3<float>& tpPoint2);
756 virtual const CResult Set(const Base::TPoint3<double>& tpPoint0, const Base::TPoint3<double>& tpPoint1, const Base::TPoint3<double>& tpPoint2);
757 virtual const CResult Set(const Base::TPoint3<float>* pTpPoint0, const Base::TPoint3<float>* pTpPoint1, const Base::TPoint3<float>* pTpPoint2);
758 virtual const CResult Set(const Base::TPoint3<double>* pTpPoint0, const Base::TPoint3<double>* pTpPoint1, const Base::TPoint3<double>* pTpPoint2);
760
762
781 virtual const CResult Set(const CFLPoint3<float>& flpPoint0, const CFLPoint3<float>& flpPoint1, const CFLPoint3<float>& flpPoint2);
782 virtual const CResult Set(const CFLPoint3<double>& flpPoint0, const CFLPoint3<double>& flpPoint1, const CFLPoint3<double>& flpPoint2);
783 virtual const CResult Set(const CFLPoint3<float>* pFlpPoint0, const CFLPoint3<float>* pFlpPoint1, const CFLPoint3<float>* pFlpPoint2);
784 virtual const CResult Set(const CFLPoint3<double>* pFlpPoint0, const CFLPoint3<double>* pFlpPoint1, const CFLPoint3<double>* pFlpPoint2);
786
788
801 virtual const CResult Set(const CFLTriangle3<float>& fltTri);
802 virtual const CResult Set(const CFLTriangle3<double>& fltTri);
803 virtual const CResult Set(const CFLTriangle3<float>* pFltTri);
804 virtual const CResult Set(const CFLTriangle3<double>* pFltTri);
806
808
823 virtual const CResult Set(const Base::TTriangle3<float>& tt);
824 virtual const CResult Set(const Base::TTriangle3<double>& tt);
825 virtual const CResult Set(const Base::TTriangle3<float>* pTt);
826 virtual const CResult Set(const Base::TTriangle3<double>* pTt);
828
829 virtual const CResult Set(const CFLFigure& flf) override;
830 virtual const CResult Set(const CFLFigure* pFlf) override;
831
832 virtual void Clear() override;
833
834 virtual EFigureDeclType GetDeclType() const override;
835 virtual EFigureTemplateType GetTemplateType() const override;
836
837 virtual bool IsValid() const override;
838 virtual bool IsFigureValid() const override;
839
840 virtual const CResult MakeFigureInvalid() override;
841
843 virtual bool IsSpecEqual(const CFLFigure* pFlfRhs, EFigureSpecCompareType eSpecType = EFigureSpecCompareType_Coordinates) const override;
844
845 using CFLFigure::Swap;
846 virtual const CResult Swap(CFLFigure* pFlfRight) override;
847
849 virtual const CResult GetCenterOfGravity(double& x, double& y, double& z) const override;
850
852 virtual const CResult GetCenterOfVertices(double& x, double& y, double& z) const override;
853
854 using CFLFigure3::Offset;
855 virtual const CResult Offset(double x, double y, double z) override;
856
858 virtual const CResult Multiply(double x, double y, double z) override;
859
860 using CFLFigure3::Rotate;
861 virtual const CResult Rotate(const CFLGeometry3DQuaternion<float>* pQuat, const CFLPoint3<float>* pFlp3Pivot = nullptr) override;
862 virtual const CResult Rotate(const CFLGeometry3DQuaternion<double>* pQuat, const CFLPoint3<double>* pFlp3Pivot = nullptr) override;
863
864 using CFLFigure3::Scale;
865 virtual const CResult Scale(double f64PivotX, double f64PivotY, double f64PivotZ, double f64ScaleX, double f64ScaleY, double f64ScaleZ) override;
866
868 virtual const CResult Transform(const CMatrix<float>* pMatTransform) override;
869 virtual const CResult Transform(const CMatrix<double>* pMatTransform) override;
870
872 virtual const CResult GetBoundingBox(double& f64MinX, double& f64MinY, double& f64MinZ, double& f64MaxX, double& f64MaxY, double& f64MaxZ) const override;
873 virtual const CResult GetBoundingBox(float& f32MinX, float& f32MinY, float& f32MinZ, float& f32MaxX, float& f32MaxY, float& f32MaxZ) const override;
874
875 virtual const CResult ReverseSequence() override;
876
890 virtual const CResult ChangeOriginIndex(int64_t i64IndexToBeOrigin);
891
892
893 protected:
894 virtual CFLPoint<double> GetCenterOfGravity() const override;
895
896 SupportToDuplicateObject(CFLTriangle3<T>, *this);
897 DeclareGetClassType();
898 };
899
900 typedef CFLTriangle3<float> CFLTriangle3F;
901 typedef CFLTriangle3<double> CFLTriangle3D;
902 }
903}
3차원 점을 표현하는 간략화된 클래스
Definition FLImagingBase/TPoint3.h:37
삼각형을 표현하는 간략화된 클래스
Definition FLImagingBase/TTriangle3.h:38
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/FLTriangle3.h:25
const CFLTriangle3< T > & operator/=(const CFLPoint3< float > &flpPoint)
삼각형의 각 정점의 x,y,z 값에 매개변수를 나누는 연산자
virtual const CResult GetBoundingBox(double &f64MinX, double &f64MinY, double &f64MinZ, double &f64MaxX, double &f64MaxY, double &f64MaxZ) const override
바운딩 박스(AABB)를 얻어옵니다.
CFLTriangle3< T > operator-(const CFLPoint3< double > &flpPoint) const
이동 연산자[offset]
const CFLTriangle3< T > & operator-=(const CFLPoint3< double > &flpPoint)
이동 연산자[offset]
virtual const CResult Set(const CFLTriangle3< float > &fltTri)
파라미터 설정 함수
virtual const CResult Set(const Base::TTriangle3< float > *pTt)
파라미터 설정 함수
virtual const CResult MakeFigureInvalid() override
Figure를 유효하지 않은 Figure로 만듦. (예를 들어, 점의 좌표를 Invalid한 x, y로 설정)
virtual const CResult Scale(double f64PivotX, double f64PivotY, double f64PivotZ, double f64ScaleX, double f64ScaleY, double f64ScaleZ) override
지정된 중심점을 기준으로 객체에 대해 스케일 변환을 적용합니다.
const CFLTriangle3< T > & operator*=(const CFLPoint3< float > &flpPoint)
삼각형의 각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
CFLTriangle3(const Base::TTriangle3< float > *pTt)
초기화 생성자
const CFLTriangle3< T > & operator-=(const double &value)
이동 연산자[offset]
CFLTriangle3< T > operator/(const double &value) const
삼각형의 각 정점의 x, y, z 값을 매개변수로 나누는 연산자
virtual const CResult Set(const CFLPoint3< float > &flpPoint0, const CFLPoint3< float > &flpPoint1, const CFLPoint3< float > &flpPoint2)
파라미터 설정 함수
CFLTriangle3(const CFLTriangle3< double > &fltTri)
복사 생성자
CFLTriangle3(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)
초기화 생성자
virtual const CResult Transform(const CMatrix< double > *pMatTransform) override
변환 행렬(4x4 또는 3x3)을 사용하여 객체를 변환합니다.
CFLTriangle3< T > operator*(const CFLPoint3< double > &flpPoint) const
삼각형의 각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
CFLTriangle3(const CFLPoint3< float > &flpPoint0, const CFLPoint3< float > &flpPoint1, const CFLPoint3< float > &flpPoint2)
초기화 생성자
virtual const CResult Set(double x0, double y0, double z0, double x1, double y1, double z1, double x2, double y2, double z2)
파라미터 설정 함수
const CFLTriangle3< T > & operator+=(const Base::TPoint3< double > &tpPoint)
이동 연산자[offset]
virtual const CResult Set(const Base::TPoint3< double > *pTpPoint0, const Base::TPoint3< double > *pTpPoint1, const Base::TPoint3< double > *pTpPoint2)
파라미터 설정 함수
const CFLTriangle3< T > & operator/=(const double &value)
삼각형의 각 정점의 x,y,z 값에 매개변수를 나누는 연산자
virtual const CResult Set(const Base::TPoint3< double > &tpPoint0, const Base::TPoint3< double > &tpPoint1, const Base::TPoint3< double > &tpPoint2)
파라미터 설정 함수
CFLTriangle3(const Base::TTriangle3< double > *pTt)
초기화 생성자
CFLTriangle3(const CFLPoint3< double > *pFlpPoint0, const CFLPoint3< double > *pFlpPoint1, const CFLPoint3< double > *pFlpPoint2)
초기화 생성자
virtual EFigureTemplateType GetTemplateType() const override
CFLTriangle3< T > operator-(const Base::TPoint3< double > &tpPoint) const
이동 연산자[offset]
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)
파라미터 설정 함수
virtual const CResult ReverseSequence() override
순서를 반대방향으로 바꾸는 함수
virtual const CResult Set(const CFLPoint3< double > &flpPoint0, const CFLPoint3< double > &flpPoint1, const CFLPoint3< double > &flpPoint2)
파라미터 설정 함수
CFLTriangle3< T > operator+(const CFLPoint3< float > &flpPoint) const
이동 연산자[offset]
virtual const CResult Set(float x0, float y0, float z0, float x1, float y1, float z1, float x2, float y2, float z2)
파라미터 설정 함수
CFLTriangle3(const Base::TPoint3< float > *pTpPoint0, const Base::TPoint3< float > *pTpPoint1, const Base::TPoint3< float > *pTpPoint2)
초기화 생성자
virtual const CResult GetCenterOfVertices(double &x, double &y, double &z) const override
virtual EFigureDeclType GetDeclType() const override
CFLTriangle3(const Base::TTriangle3< double > &tt)
초기화 생성자
CFLTriangle3< T > operator*(const CFLPoint3< float > &flpPoint) const
삼각형의 각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
virtual void Clear() override
모든 내부 변수를 초기화하고 모든 3D 꼭짓점 좌표를 0으로 리셋합니다.
virtual const CResult Set(const CFLTriangle3< double > *pFltTri)
파라미터 설정 함수
CFLTriangle3(const Base::TPoint3< double > *pTpPoint0, const Base::TPoint3< double > *pTpPoint1, const Base::TPoint3< double > *pTpPoint2)
초기화 생성자
friend CFLTriangle3< T > operator+(const double &value, const CFLTriangle3< T > &fltTri)
이동 연산자[offset]
Definition FLImagingFoundation/FLTriangle3.h:621
CFLTriangle3< T > operator/(const CFLPoint3< float > &flpPoint) const
삼각형의 각 정점의 x, y, z 값을 매개변수로 나누는 연산자
const CFLTriangle3< T > & operator-=(const Base::TPoint3< double > &tpPoint)
이동 연산자[offset]
CFLTriangle3< T > operator*(const Base::TPoint3< double > &tpPoint) const
삼각형의 각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
const CFLTriangle3< T > & operator=(const Base::TTriangle3< double > &ttTri)
대입 연산자
CFLTriangle3< T > operator+(const CFLPoint3< double > &flpPoint) const
이동 연산자[offset]
CFLTriangle3< T > operator/(const Base::TPoint3< float > &tpPoint) const
삼각형의 각 정점의 x, y, z 값을 매개변수로 나누는 연산자
virtual const CResult Set(const Base::TPoint3< float > &tpPoint0, const Base::TPoint3< float > &tpPoint1, const Base::TPoint3< float > &tpPoint2)
파라미터 설정 함수
const CFLTriangle3< T > & operator=(const Base::TTriangle3< float > &ttTri)
대입 연산자
CFLTriangle3(const CFLTriangle3< float > *pFltTri)
복사 생성자
virtual const CResult Multiply(double x, double y, double z) override
const CFLTriangle3< T > & operator+=(const CFLPoint3< float > &flpPoint)
이동 연산자[offset]
virtual const CResult Set(const CFLPoint3< double > *pFlpPoint0, const CFLPoint3< double > *pFlpPoint1, const CFLPoint3< double > *pFlpPoint2)
파라미터 설정 함수
virtual const CResult Set(const CFLTriangle3< double > &fltTri)
파라미터 설정 함수
virtual CFLPoint< double > GetCenterOfGravity() const override
CFLTriangle3(const Base::TPoint3< double > &tpPoint0, const Base::TPoint3< double > &tpPoint1, const Base::TPoint3< double > &tpPoint2)
초기화 생성자
virtual const CResult Offset(double x, double y, double z) override
const CFLTriangle3< T > & operator/=(const Base::TPoint3< float > &tpPoint)
삼각형의 각 정점의 x,y,z 값에 매개변수를 나누는 연산자
const CFLTriangle3< T > & operator*=(const Base::TPoint3< double > &tpPoint)
삼각형의 각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
const CFLTriangle3< T > & operator+=(const CFLPoint3< double > &flpPoint)
이동 연산자[offset]
CFLTriangle3< T > operator-() const
해당 객체의 x, y, z 값의 부호를 반전시킨 객체를 반환하는 연산자
CFLTriangle3(const CFLPoint3< double > &flpPoint0, const CFLPoint3< double > &flpPoint1, const CFLPoint3< double > &flpPoint2)
초기화 생성자
const CFLTriangle3< T > & operator+=(const Base::TPoint3< float > &tpPoint)
이동 연산자[offset]
virtual const CResult Rotate(const CFLGeometry3DQuaternion< double > *pQuat, const CFLPoint3< double > *pFlp3Pivot=nullptr) override
객체를 쿼터니언을 이용해 회전시킵니다. 회전 중심점이 nullptr인 경우 객체의 AABB(Axis-Aligned Bounding Box) 중심점을 회전 중심으로 사용합니다.
CFLTriangle3< T > operator+(const Base::TPoint3< float > &tpPoint) const
이동 연산자[offset]
virtual const CResult Rotate(const CFLGeometry3DQuaternion< float > *pQuat, const CFLPoint3< float > *pFlp3Pivot=nullptr) override
객체를 쿼터니언을 이용해 회전시킵니다. 회전 중심점이 nullptr인 경우 객체의 AABB(Axis-Aligned Bounding Box) 중심점을 회전 중심으로 사용합니다.
CFLTriangle3< T > operator-(const CFLPoint3< float > &flpPoint) const
이동 연산자[offset]
virtual const CResult Set(const CFLTriangle3< float > *pFltTri)
파라미터 설정 함수
const CFLTriangle3< T > & operator=(const CFLTriangle3< float > &fltTri)
대입 연산자
CFLTriangle3< T > operator/(const Base::TPoint3< double > &tpPoint) const
삼각형의 각 정점의 x, y, z 값을 매개변수로 나누는 연산자
const CFLTriangle3< T > & operator=(const CFLTriangle3< double > &fltTri)
대입 연산자
CFLTriangle3(const CFLTriangle3< float > &fltTri)
복사 생성자
friend CFLTriangle3< T > operator/(const double &value, const CFLTriangle3< T > &fltTri)
삼각형의 각 정점의 x, y, z 값을 매개변수로 나누는 연산자
Definition FLImagingFoundation/FLTriangle3.h:682
virtual const CResult Set(const CFLFigure &flf) override
const CFLTriangle3< T > & operator*=(const double &value)
삼각형의 각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
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)
파라미터 설정 함수
CFLTriangle3(const CFLPoint3< float > *pFlpPoint0, const CFLPoint3< float > *pFlpPoint1, const CFLPoint3< float > *pFlpPoint2)
초기화 생성자
CFLPoint3< float > flpPoints[3]
Definition FLImagingFoundation/FLTriangle3.h:31
CFLTriangle3(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)
초기화 생성자
virtual bool IsValid() const override
CFLTriangle3< T > operator+(const Base::TPoint3< double > &tpPoint) const
이동 연산자[offset]
virtual const CResult Transform(const CMatrix< float > *pMatTransform) override
변환 행렬(4x4 또는 3x3)을 사용하여 객체를 변환합니다.
const CFLTriangle3< T > & operator/=(const Base::TPoint3< double > &tpPoint)
삼각형의 각 정점의 x,y,z 값에 매개변수를 나누는 연산자
CFLTriangle3< T > operator/(const CFLPoint3< double > &flpPoint) const
삼각형의 각 정점의 x, y, z 값을 매개변수로 나누는 연산자
CFLTriangle3(const CFLTriangle3< double > *pFltTri)
복사 생성자
const CFLTriangle3< T > & operator-=(const Base::TPoint3< float > &tpPoint)
이동 연산자[offset]
CFLTriangle3< T > operator-(const double &value) const
이동 연산자[offset]
virtual const CResult Set(const CFLFigure *pFlf) override
CFLTriangle3< T > operator-(const Base::TPoint3< float > &tpPoint) const
이동 연산자[offset]
virtual const CResult ChangeOriginIndex(int64_t i64IndexToBeOrigin)
모양은 유지한 상태로 시작 정점을 변경하는 함수
virtual const CResult Set(const Base::TPoint3< float > *pTpPoint0, const Base::TPoint3< float > *pTpPoint1, const Base::TPoint3< float > *pTpPoint2)
파라미터 설정 함수
CFLTriangle3< T > operator*(const double &value) const
삼각형의 각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
CFLTriangle3< T > operator*(const Base::TPoint3< float > &tpPoint) const
삼각형의 각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
CFLTriangle3(float x0, float y0, float z0, float x1, float y1, float z1, float x2, float y2, float z2)
초기화 생성자
virtual const CResult GetBoundingBox(float &f32MinX, float &f32MinY, float &f32MinZ, float &f32MaxX, float &f32MaxY, float &f32MaxZ) const override
바운딩 박스(AABB)를 얻어옵니다.
virtual bool IsFigureValid() const override
CFLTriangle3(const Base::TPoint3< float > &tpPoint0, const Base::TPoint3< float > &tpPoint1, const Base::TPoint3< float > &tpPoint2)
초기화 생성자
virtual bool IsSpecEqual(const CFLFigure *pFlfRhs, EFigureSpecCompareType eSpecType=EFigureSpecCompareType_Coordinates) const override
CFLTriangle3(const CFLFigure &flf)
초기화 생성자로, Figure 의 DeclType 에 맞는 Set() 함수를 호출합니다.
virtual const CResult Set(const Base::TTriangle3< double > &tt)
파라미터 설정 함수
CFLTriangle3(const CFLFigure *pFlf)
초기화 생성자로, Figure 의 DeclType 에 맞는 Set() 함수를 호출합니다.
virtual const CResult Set(const Base::TTriangle3< double > *pTt)
파라미터 설정 함수
virtual const CResult Set(const CFLPoint3< float > *pFlpPoint0, const CFLPoint3< float > *pFlpPoint1, const CFLPoint3< float > *pFlpPoint2)
파라미터 설정 함수
virtual const CResult GetCenterOfGravity(double &x, double &y, double &z) const override
3차원 객체의 무게 중심 좌표를 획득합니다.
CFLTriangle3(const Base::TTriangle3< float > &tt)
초기화 생성자
CFLTriangle3< T > operator+(const double &value) const
이동 연산자[offset]
virtual const CResult Swap(CFLFigure *pFlfRight) override
friend CFLTriangle3< T > operator*(const double &value, const CFLTriangle3< T > &fltTri)
삼각형의 각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
Definition FLImagingFoundation/FLTriangle3.h:662
CFLTriangle3(double x0, double y0, double z0, double x1, double y1, double z1, double x2, double y2, double z2)
초기화 생성자
const CFLTriangle3< T > & operator*=(const Base::TPoint3< float > &tpPoint)
삼각형의 각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
const CFLTriangle3< T > & operator+=(const double &value)
이동 연산자[offset]
const CFLTriangle3< T > & operator*=(const CFLPoint3< double > &flpPoint)
삼각형의 각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
const CFLTriangle3< T > & operator-=(const CFLPoint3< float > &flpPoint)
이동 연산자[offset]
friend CFLTriangle3< T > operator-(const double &value, const CFLTriangle3< T > &fltTri)
이동 연산자[offset]
Definition FLImagingFoundation/FLTriangle3.h:641
virtual const CResult Set(const Base::TTriangle3< float > &tt)
파라미터 설정 함수
const CFLTriangle3< T > & operator/=(const CFLPoint3< double > &flpPoint)
삼각형의 각 정점의 x,y,z 값에 매개변수를 나누는 연산자
행렬을 표현하는 클래스
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