FLImaging 7.11.27.4
FLImagingFoundation/FLCone3.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 CFLCone3 : public CFLFigure3
25 {
26 public:
32
38
44
50
56
61 virtual ~CFLCone3();
62
64
78
80
91 CFLCone3(const CFLFigure& flf);
92 CFLCone3(const CFLFigure* pFlf);
94
96
113 CFLCone3(const CFLPoint3<T>& flpTopCenter, double f64TopRadius, const CFLPoint3<T>& flpBottomCenter, double f64BottomRadius);
114 CFLCone3(const CFLPoint3<T>* pFlpTopCenter, double f64TopRadius, const CFLPoint3<T>* pFlpBottomCenter, double f64BottomRadius);
116
118
131 virtual const CResult Set(const CFLCone3<float>& flCone3);
132 virtual const CResult Set(const CFLCone3<double>& flCone3);
133 virtual const CResult Set(const CFLCone3<float>* pFlCone3);
134 virtual const CResult Set(const CFLCone3<double>* pFlCone3);
136
138
151 virtual const CResult Set(const CFLCircle3<float>& flCircle3);
152 virtual const CResult Set(const CFLCircle3<double>& flCircle3);
153 virtual const CResult Set(const CFLCircle3<float>* pFlCircle3);
154 virtual const CResult Set(const CFLCircle3<double>* pFlCircle3);
156
157 virtual const CResult Set(const CFLFigure& flf) override;
158 virtual const CResult Set(const CFLFigure* pFlf) override;
159
161
182 virtual const CResult Set(const CFLPoint3<T>& flpTopCenter, double f64TopRadius, const CFLPoint3<T>& flpBottomCenter, double f64BottomRadius);
183 virtual const CResult Set(const CFLPoint3<T>* pFlpTopCenter, double f64TopRadius, const CFLPoint3<T>* pFlpBottomCenter, double f64BottomRadius);
185
187
200 virtual bool Contains(const Base::TPoint3<float>& tp3) const;
201 virtual bool Contains(const Base::TPoint3<double>& tp3) const;
202 virtual bool Contains(const Base::TPoint3<float>* pTp3) const;
203 virtual bool Contains(const Base::TPoint3<double>* pTp3) const;
205
207
220 virtual bool Contains(const CFLPoint3<float>& flp3) const;
221 virtual bool Contains(const CFLPoint3<double>& flp3) const;
222 virtual bool Contains(const CFLPoint3<float>* pFlp3) const;
223 virtual bool Contains(const CFLPoint3<double>* pFlp3) const;
225
227
248 virtual const CResult Contains(const Base::CFLArray<Base::TPoint3<float>>& flaVertices, Base::CFLArray<int32_t>& flaResult, bool bClearResult = true) const;
249 virtual const CResult Contains(const Base::CFLArray<Base::TPoint3<double>>& flaVertices, Base::CFLArray<int32_t>& flaResult, bool bClearResult = true) const;
250 virtual const CResult Contains(const Base::CFLArray<Base::TPoint3<float>>* pFlaVertices, Base::CFLArray<int32_t>& flaResult, bool bClearResult = true) const;
251 virtual const CResult Contains(const Base::CFLArray<Base::TPoint3<double>>* pFlaVertices, Base::CFLArray<int32_t>& flaResult, bool bClearResult = true) const;
253
255
278 virtual const CResult Contains(const Base::CFLArray<Base::TPoint3<float>>& flaVertices, const Base::CFLArray<int32_t>& flaTargetIndex, Base::CFLArray<int32_t>& flaResult, bool bClearResult = true) const;
279 virtual const CResult Contains(const Base::CFLArray<Base::TPoint3<double>>& flaVertices, const Base::CFLArray<int32_t>& flaTargetIndex, Base::CFLArray<int32_t>& flaResult, bool bClearResult = true) const;
280 virtual const CResult Contains(const Base::CFLArray<Base::TPoint3<float>>* pFlaVertices, const Base::CFLArray<int32_t>& flaTargetIndex, Base::CFLArray<int32_t>& flaResult, bool bClearResult = true) const;
281 virtual const CResult Contains(const Base::CFLArray<Base::TPoint3<double>>* pFlaVertices, const Base::CFLArray<int32_t>& flaTargetIndex, Base::CFLArray<int32_t>& flaResult, bool bClearResult = true) const;
283
285
298 virtual bool IsCollision(const Base::TPoint3<float>& tp3Begin, const Base::TPoint3<float>& tp3End) const;
299 virtual bool IsCollision(const Base::TPoint3<double>& tp3Begin, const Base::TPoint3<double>& tp3End) const;
300 virtual bool IsCollision(const Base::TPoint3<float>* pTp3Begin, const Base::TPoint3<float>* pTp3End) const;
301 virtual bool IsCollision(const Base::TPoint3<double>* pTp3Begin, const Base::TPoint3<double>* pTp3End) const;
303
305
318 virtual bool IsCollision(const CFLPoint3<float>& flp3Begin, const CFLPoint3<float>& flp3End) const;
319 virtual bool IsCollision(const CFLPoint3<double>& flp3Begin, const CFLPoint3<double>& flp3End) const;
320 virtual bool IsCollision(const CFLPoint3<float>* pFlp3Begin, const CFLPoint3<float>* pFlp3End) const;
321 virtual bool IsCollision(const CFLPoint3<double>* pFlp3Begin, const CFLPoint3<double>* pFlp3End) const;
323
324 virtual void Clear() override;
325
326 virtual EFigureDeclType GetDeclType() const override;
327 virtual EFigureTemplateType GetTemplateType() const override;
328
330 virtual bool IsSpecEqual(const CFLFigure* pFlfRhs, EFigureSpecCompareType eSpecType = EFigureSpecCompareType_Coordinates) const override;
331
332 using CFLFigure::Swap;
333 virtual const CResult Swap(CFLFigure* pFlfRight) override;
334
335 virtual double GetArea() const override;
336 virtual double GetVolume() const override;
337
347 virtual double GetHeight() const override;
348
349 using CFLFigure3::Offset;
350 virtual const CResult Offset(double x, double y, double z) override;
351
353 virtual const CResult Multiply(double x, double y, double z) override;
354
356 virtual const CResult GetCenterOfGravity(double& x, double& y, double& z) const override;
357
359 virtual const CResult GetCenterOfVertices(double& x, double& y, double& z) const override;
360
362
376
388 const CFLCone3<T>& operator+=(const double& value);
389
391
404 const CFLCone3<T>& operator+=(const CFLPoint3<float>& flpPoint);
405 const CFLCone3<T>& operator+=(const CFLPoint3<double>& flpPoint);
407
409
425
437 const CFLCone3<T>& operator-=(const double& value);
438
440
453 const CFLCone3<T>& operator-=(const CFLPoint3<float>& flpPoint);
454 const CFLCone3<T>& operator-=(const CFLPoint3<double>& flpPoint);
456
458
474
486 const CFLCone3<T>& operator*=(const double& value);
487
489
502 const CFLCone3<T>& operator*=(const CFLPoint3<float>& flpPoint);
503 const CFLCone3<T>& operator*=(const CFLPoint3<double>& flpPoint);
505
507
523
535 const CFLCone3<T>& operator/=(const double& value);
536
538
551 const CFLCone3<T>& operator/=(const CFLPoint3<float>& flpPoint);
552 const CFLCone3<T>& operator/=(const CFLPoint3<double>& flpPoint);
554
556
572
584 CFLCone3<T> operator+(const double& value) const;
585
587
603
605
618 CFLCone3<T> operator+(const CFLPoint3<float>& flpPoint) const;
621
633 CFLCone3<T> operator-(const double& value) const;
634
636
652
654
667 CFLCone3<T> operator-(const CFLPoint3<float>& flpPoint) const;
670
682 CFLCone3<T> operator*(const double& value) const;
683
685
701
703
716 CFLCone3<T> operator*(const CFLPoint3<float>& flpPoint) const;
719
731 CFLCone3<T> operator/(const double& value) const;
732
734
750
752
765 CFLCone3<T> operator/(const CFLPoint3<float>& flpPoint) const;
768
779
793 friend CFLCone3<T> operator+(const double& value, const CFLCone3<T>& flCone3)
794 {
795 CFLCone3<T> t(flCone3);
796 t += value;
797 return t;
798 }
799
813 friend CFLCone3<T> operator-(const double& value, const CFLCone3<T>& flCone3)
814 {
815 CFLCone3<T> t(flCone3);
816 t *= -1.;
817 t += value;
818 return t;
819 }
820
834 friend CFLCone3<T> operator*(const double& value, const CFLCone3<T>& flCone3)
835 {
836 CFLCone3<T> t(flCone3);
837 t *= value;
838 return t;
839 }
840
854 friend CFLCone3<T> operator/(const double& value, const CFLCone3<T>& flCone3)
855 {
856 CFLCone3<T> t;
857 t.flpTopCenter = value / flCone3.flpTopCenter;
858 t.flpBottomCenter = value / flCone3.flpBottomCenter;
859 return t;
860 }
861
862 using CFLFigure3::Rotate;
863 virtual const CResult Rotate(const CFLGeometry3DQuaternion<float>* pQuat, const CFLPoint3<float>* pFlp3Pivot = nullptr) override;
864 virtual const CResult Rotate(const CFLGeometry3DQuaternion<double>* pQuat, const CFLPoint3<double>* pFlp3Pivot = nullptr) override;
865
866 using CFLFigure3::Scale;
867 virtual const CResult Scale(double f64PivotX, double f64PivotY, double f64PivotZ, double f64ScaleX, double f64ScaleY, double f64ScaleZ) override;
868
870 virtual const CResult Transform(const CMatrix<float>* pMatTransform) override;
871 virtual const CResult Transform(const CMatrix<double>* pMatTransform) override;
872
874 virtual const CResult GetBoundingBox(double& f64MinX, double& f64MinY, double& f64MinZ, double& f64MaxX, double& f64MaxY, double& f64MaxZ) const override;
875 virtual const CResult GetBoundingBox(float& f32MinX, float& f32MinY, float& f32MinZ, float& f32MaxX, float& f32MaxY, float& f32MaxZ) const override;
876
877 protected:
878 virtual CFLPoint<double> GetCenterOfGravity() const override;
879
880 SupportToDuplicateObject(CFLCone3<T>, *this);
881 DeclareGetClassType();
882 };
883
884 typedef CFLCone3<float> CFLCone3F;
885 typedef CFLCone3<double> CFLCone3D;
886 }
887}
Template type 의 배열 클래스.
Definition FLArray.h:71
3차원 점을 표현하는 간략화된 클래스
Definition FLImagingBase/TPoint3.h:37
FLImaging 모듈의 수행 결과 객체
Definition FLImagingBase/ResultsDef.h:1739
3차원 공간상의 원을 나타내는 클래스입니다.
Definition FLImagingFoundation/FLCircle3.h:26
원형 단면을 가지는 원뿔 또는 원뿔대를 표현하는 클래스
Definition FLImagingFoundation/FLCone3.h:25
virtual EFigureTemplateType GetTemplateType() const override
CFLCone3(const CFLPoint3< T > &flpTopCenter, double f64TopRadius, const CFLPoint3< T > &flpBottomCenter, double f64BottomRadius)
초기화 생성자
friend CFLCone3< T > operator-(const double &value, const CFLCone3< T > &flCone3)
이동 연산자[offset]
Definition FLImagingFoundation/FLCone3.h:813
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< double > > &flaVertices, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
이 절두체의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
virtual const CResult Set(const CFLCircle3< float > &flCircle3)
파라미터 설정 함수
CFLCone3< T > operator/(const CFLPoint3< double > &flpPoint) const
각 정점의 x, y, z 값을 매개변수로 나누는 연산자
const CFLCone3< T > & operator/=(const Base::TPoint3< double > &tpPoint)
각 정점의 x,y,z 값에 매개변수를 나누는 연산자
CFLCone3< T > operator*(const CFLPoint3< double > &flpPoint) const
각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
CFLCone3(const CFLCone3< float > *pRhs)
복사 생성자
CFLCone3< T > operator*(const Base::TPoint3< float > &tpPoint) const
각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
virtual bool IsCollision(const CFLPoint3< float > &flp3Begin, const CFLPoint3< float > &flp3End) const
float tTopRadius
Definition FLImagingFoundation/FLCone3.h:31
virtual const CResult Set(const CFLCone3< float > *pFlCone3)
파라미터 설정 함수
virtual bool IsCollision(const Base::TPoint3< double > *pTp3Begin, const Base::TPoint3< double > *pTp3End) const
const CFLCone3< T > & operator/=(const CFLPoint3< float > &flpPoint)
각 정점의 x,y,z 값에 매개변수를 나누는 연산자
CFLCone3< T > operator-(const Base::TPoint3< double > &tpPoint) const
이동 연산자[offset]
virtual const CResult Scale(double f64PivotX, double f64PivotY, double f64PivotZ, double f64ScaleX, double f64ScaleY, double f64ScaleZ) override
지정된 중심점을 기준으로 객체에 대해 스케일 변환을 적용합니다.
virtual bool IsCollision(const Base::TPoint3< double > &tp3Begin, const Base::TPoint3< double > &tp3End) const
virtual const CResult Rotate(const CFLGeometry3DQuaternion< float > *pQuat, const CFLPoint3< float > *pFlp3Pivot=nullptr) override
객체를 쿼터니언을 이용해 회전시킵니다. 회전 중심점이 nullptr인 경우 객체의 AABB(Axis-Aligned Bounding Box) 중심점을 회전 중심으로 사용합니다.
CFLPoint3< float > flpBottomCenter
Definition FLImagingFoundation/FLCone3.h:49
virtual bool IsSpecEqual(const CFLFigure *pFlfRhs, EFigureSpecCompareType eSpecType=EFigureSpecCompareType_Coordinates) const override
const CFLCone3< T > & operator*=(const Base::TPoint3< double > &tpPoint)
각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< double > > *pFlaVertices, const Base::CFLArray< int32_t > &flaTargetIndex, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
이 절두체의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
CFLCone3(const CFLCone3< float > &rhs)
복사 생성자
float tBottomRadius
Definition FLImagingFoundation/FLCone3.h:37
virtual const CResult Multiply(double x, double y, double z) override
virtual const CResult Set(const CFLCircle3< double > *pFlCircle3)
파라미터 설정 함수
friend CFLCone3< T > operator+(const double &value, const CFLCone3< T > &flCone3)
이동 연산자[offset]
Definition FLImagingFoundation/FLCone3.h:793
CFLCone3< T > operator*(const double &value) const
각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
CFLCone3< T > operator*(const CFLPoint3< float > &flpPoint) const
각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
virtual EFigureDeclType GetDeclType() const override
virtual bool IsCollision(const Base::TPoint3< float > &tp3Begin, const Base::TPoint3< float > &tp3End) const
CFLPoint3< float > flpTopCenter
Definition FLImagingFoundation/FLCone3.h:43
virtual double GetVolume() const override
virtual const CResult Transform(const CMatrix< double > *pMatTransform) override
변환 행렬(4x4 또는 3x3)을 사용하여 객체를 변환합니다.
virtual void Clear() override
모든 내부 변수를 초기화하고 모든 3D 꼭짓점 좌표를 0으로 리셋합니다.
CFLCone3< T > operator-(const double &value) const
이동 연산자[offset]
CFLCone3< T > operator/(const Base::TPoint3< float > &tpPoint) const
각 정점의 x, y, z 값을 매개변수로 나누는 연산자
virtual bool Contains(const CFLPoint3< double > *pFlp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
virtual const CResult Set(const CFLPoint3< T > &flpTopCenter, double f64TopRadius, const CFLPoint3< T > &flpBottomCenter, double f64BottomRadius)
파라미터 설정 함수
friend CFLCone3< T > operator*(const double &value, const CFLCone3< T > &flCone3)
각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
Definition FLImagingFoundation/FLCone3.h:834
CFLCone3< T > operator/(const double &value) const
각 정점의 x, y, z 값을 매개변수로 나누는 연산자
CFLCone3(const CFLCone3< double > *pRhs)
복사 생성자
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< double > > &flaVertices, const Base::CFLArray< int32_t > &flaTargetIndex, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
이 절두체의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
virtual double GetArea() const override
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< float > > *pFlaVertices, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
이 절두체의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
friend CFLCone3< T > operator/(const double &value, const CFLCone3< T > &flCone3)
각 정점의 x, y, z 값을 매개변수로 나누는 연산자
Definition FLImagingFoundation/FLCone3.h:854
virtual const CResult Set(const CFLCone3< double > *pFlCone3)
파라미터 설정 함수
CFLCone3< T > operator-(const CFLPoint3< float > &flpPoint) const
이동 연산자[offset]
CFLCone3< T > operator+(const Base::TPoint3< double > &tpPoint) const
이동 연산자[offset]
const CFLCone3< T > & operator=(const CFLCone3< float > &rhs)
대입 연산자
CFLCone3< T > operator+(const double &value) const
이동 연산자[offset]
virtual bool Contains(const Base::TPoint3< double > &tp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
const CFLCone3< T > & operator-=(const CFLPoint3< float > &flpPoint)
이동 연산자[offset]
CFLCone3< T > operator-() const
해당 객체의 x, y, z 값의 부호를 반전시킨 객체를 반환하는 연산자
CFLCone3(const CFLFigure &flf)
초기화 생성자
const CFLCone3< T > & operator-=(const CFLPoint3< double > &flpPoint)
이동 연산자[offset]
const CFLCone3< T > & operator-=(const Base::TPoint3< float > &tpPoint)
이동 연산자[offset]
const CFLCone3< T > & operator+=(const Base::TPoint3< float > &tpPoint)
이동 연산자[offset]
virtual bool IsCollision(const CFLPoint3< double > *pFlp3Begin, const CFLPoint3< double > *pFlp3End) const
virtual const CResult Swap(CFLFigure *pFlfRight) override
const CFLCone3< T > & operator-=(const Base::TPoint3< double > &tpPoint)
이동 연산자[offset]
const CFLCone3< T > & operator/=(const CFLPoint3< double > &flpPoint)
각 정점의 x,y,z 값에 매개변수를 나누는 연산자
CFLCone3(const CFLFigure *pFlf)
초기화 생성자
CFLCone3< T > operator+(const Base::TPoint3< float > &tpPoint) const
이동 연산자[offset]
CFLCone3< T > operator-(const CFLPoint3< double > &flpPoint) const
이동 연산자[offset]
virtual bool IsCollision(const CFLPoint3< float > *pFlp3Begin, const CFLPoint3< float > *pFlp3End) const
const CFLCone3< T > & operator+=(const Base::TPoint3< double > &tpPoint)
이동 연산자[offset]
CFLCone3(const CFLCone3< double > &rhs)
복사 생성자
virtual const CResult Set(const CFLPoint3< T > *pFlpTopCenter, double f64TopRadius, const CFLPoint3< T > *pFlpBottomCenter, double f64BottomRadius)
파라미터 설정 함수
const CFLCone3< T > & operator+=(const double &value)
이동 연산자[offset]
virtual const CResult Set(const CFLFigure &flf) override
virtual const CResult Set(const CFLCone3< float > &flCone3)
파라미터 설정 함수
virtual bool Contains(const Base::TPoint3< float > *pTp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
virtual const CResult GetBoundingBox(double &f64MinX, double &f64MinY, double &f64MinZ, double &f64MaxX, double &f64MaxY, double &f64MaxZ) const override
바운딩 박스(AABB)를 얻어옵니다.
virtual const CResult Rotate(const CFLGeometry3DQuaternion< double > *pQuat, const CFLPoint3< double > *pFlp3Pivot=nullptr) override
객체를 쿼터니언을 이용해 회전시킵니다. 회전 중심점이 nullptr인 경우 객체의 AABB(Axis-Aligned Bounding Box) 중심점을 회전 중심으로 사용합니다.
CFLCone3< T > operator/(const CFLPoint3< float > &flpPoint) const
각 정점의 x, y, z 값을 매개변수로 나누는 연산자
const CFLCone3< T > & operator*=(const double &value)
각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
CFLCone3(const CFLPoint3< T > *pFlpTopCenter, double f64TopRadius, const CFLPoint3< T > *pFlpBottomCenter, double f64BottomRadius)
초기화 생성자
const CFLCone3< T > & operator*=(const CFLPoint3< double > &flpPoint)
각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< double > > *pFlaVertices, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
이 절두체의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
const CFLCone3< T > & operator-=(const double &value)
이동 연산자[offset]
virtual bool IsCollision(const CFLPoint3< double > &flp3Begin, const CFLPoint3< double > &flp3End) const
virtual const CResult Offset(double x, double y, double z) override
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< float > > *pFlaVertices, const Base::CFLArray< int32_t > &flaTargetIndex, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
이 절두체의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
virtual const CResult Set(const CFLFigure *pFlf) override
virtual double GetHeight() const override
원뿔 또는 원뿔대의 높이 벡터의 크기를 반환합니다.
CFLCone3< T > operator+(const CFLPoint3< float > &flpPoint) const
이동 연산자[offset]
CFLCone3< T > operator*(const Base::TPoint3< double > &tpPoint) const
각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
virtual const CResult Set(const CFLCone3< double > &flCone3)
파라미터 설정 함수
const CFLCone3< T > & operator=(const CFLCone3< double > &rhs)
대입 연산자
virtual const CResult GetCenterOfGravity(double &x, double &y, double &z) const override
3차원 객체의 무게 중심 좌표를 획득합니다.
virtual const CResult Set(const CFLCircle3< double > &flCircle3)
파라미터 설정 함수
CFLCone3< T > operator-(const Base::TPoint3< float > &tpPoint) const
이동 연산자[offset]
const CFLCone3< T > & operator/=(const double &value)
각 정점의 x,y,z 값에 매개변수를 나누는 연산자
CFLCone3< T > operator/(const Base::TPoint3< double > &tpPoint) const
각 정점의 x, y, z 값을 매개변수로 나누는 연산자
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< float > > &flaVertices, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
이 절두체의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
const CFLCone3< T > & operator+=(const CFLPoint3< float > &flpPoint)
이동 연산자[offset]
virtual bool Contains(const CFLPoint3< float > &flp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
CFLCone3< T > operator+(const CFLPoint3< double > &flpPoint) const
이동 연산자[offset]
virtual CFLPoint< double > GetCenterOfGravity() const override
virtual const CResult Set(const CFLCircle3< float > *pFlCircle3)
파라미터 설정 함수
virtual bool Contains(const CFLPoint3< float > *pFlp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
virtual const CResult Transform(const CMatrix< float > *pMatTransform) override
변환 행렬(4x4 또는 3x3)을 사용하여 객체를 변환합니다.
virtual bool IsCollision(const Base::TPoint3< float > *pTp3Begin, const Base::TPoint3< float > *pTp3End) const
const CFLCone3< T > & operator+=(const CFLPoint3< double > &flpPoint)
이동 연산자[offset]
virtual bool Contains(const Base::TPoint3< float > &tp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
const CFLCone3< T > & operator*=(const Base::TPoint3< float > &tpPoint)
각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< float > > &flaVertices, const Base::CFLArray< int32_t > &flaTargetIndex, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
이 절두체의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
virtual const CResult GetBoundingBox(float &f32MinX, float &f32MinY, float &f32MinZ, float &f32MaxX, float &f32MaxY, float &f32MaxZ) const override
바운딩 박스(AABB)를 얻어옵니다.
virtual bool Contains(const CFLPoint3< double > &flp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
const CFLCone3< T > & operator*=(const CFLPoint3< float > &flpPoint)
각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
const CFLCone3< T > & operator/=(const Base::TPoint3< float > &tpPoint)
각 정점의 x,y,z 값에 매개변수를 나누는 연산자
virtual bool Contains(const Base::TPoint3< double > *pTp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
virtual const CResult GetCenterOfVertices(double &x, double &y, double &z) const override
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
점을 표현하는 클래스
Definition FLImagingFoundation/FLPoint.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