FLImaging 7.11.27.4
FLImagingFoundation/FLCylinder3.h
1#pragma once
2
8
9#include "FLFigure3.h"
10#include "FLCircle3.h"
11
13namespace FLImaging
14{
16 namespace Foundation
17 {
23 template<typename T>
24 class FL_EXPORT CFLCylinder3 : public CFLFigure3
25 {
26 public:
32
38
44
49 virtual ~CFLCylinder3();
50
52
66
68
80 CFLCylinder3(const CFLFigure* pFlf);
82
84
97 CFLCylinder3(const CFLCircle3<float>& flcBase, double f64Height);
98 CFLCylinder3(const CFLCircle3<float>* pFlcBase, double f64Height);
99 CFLCylinder3(const CFLCircle3<double>& flcBase, double f64Height);
100 CFLCylinder3(const CFLCircle3<double>* pFlcBase, double f64Height);
102
104
117 virtual const CResult Set(const CFLCylinder3<float>& flcy);
118 virtual const CResult Set(const CFLCylinder3<float>* pFlcy);
119 virtual const CResult Set(const CFLCylinder3<double>& flcy);
120 virtual const CResult Set(const CFLCylinder3<double>* pFlcy);
122
123 virtual const CResult Set(const CFLFigure& flf) override;
124 virtual const CResult Set(const CFLFigure* pFlf) override;
125
127
144 virtual const CResult Set(const CFLCircle3<float>& flcBase, double f64Height);
145 virtual const CResult Set(const CFLCircle3<float>* pFlcBase, double f64Height);
146 virtual const CResult Set(const CFLCircle3<double>& flcBase, double f64Height);
147 virtual const CResult Set(const CFLCircle3<double>* pFlcBase, double f64Height);
149
161 virtual const CFLPoint3<T> GetTopCenter() const;
162
174 virtual const CFLPoint3<T> GetBottomCenter() const;
175
177
190 virtual bool Contains(const Base::TPoint3<float>& tp3) const;
191 virtual bool Contains(const Base::TPoint3<float>* pTp3) const;
192 virtual bool Contains(const Base::TPoint3<double>& tp3) const;
193 virtual bool Contains(const Base::TPoint3<double>* pTp3) const;
195
197
210 virtual bool Contains(const CFLPoint3<float>& flp3) const;
211 virtual bool Contains(const CFLPoint3<float>* pFlp3) const;
212 virtual bool Contains(const CFLPoint3<double>& flp3) const;
213 virtual bool Contains(const CFLPoint3<double>* pFlp3) const;
215
217
238 virtual const CResult Contains(const Base::CFLArray<Base::TPoint3<float>>& flaVertices, Base::CFLArray<int32_t>& flaResult, bool bClearResult = true) const;
239 virtual const CResult Contains(const Base::CFLArray<Base::TPoint3<double>>& flaVertices, Base::CFLArray<int32_t>& flaResult, bool bClearResult = true) const;
240 virtual const CResult Contains(const Base::CFLArray<Base::TPoint3<float>>* pFlaVertices, Base::CFLArray<int32_t>& flaResult, bool bClearResult = true) const;
241 virtual const CResult Contains(const Base::CFLArray<Base::TPoint3<double>>* pFlaVertices, Base::CFLArray<int32_t>& flaResult, bool bClearResult = true) const;
243
245
268 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;
269 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;
270 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;
271 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;
273
275
290 virtual bool IsCollision(const Base::TPoint3<float>& tp3Begin, const Base::TPoint3<float>& tp3End) const;
291 virtual bool IsCollision(const Base::TPoint3<float>* pTp3Begin, const Base::TPoint3<float>* pTp3End) const;
292 virtual bool IsCollision(const Base::TPoint3<double>& tp3Begin, const Base::TPoint3<double>& tp3End) const;
293 virtual bool IsCollision(const Base::TPoint3<double>* pTp3Begin, const Base::TPoint3<double>* pTp3End) const;
295
297
312 virtual bool IsCollision(const CFLPoint3<float>& flp3Begin, const CFLPoint3<float>& flp3End) const;
313 virtual bool IsCollision(const CFLPoint3<float>* pFlp3Begin, const CFLPoint3<float>* pFlp3End) const;
314 virtual bool IsCollision(const CFLPoint3<double>& flp3Begin, const CFLPoint3<double>& flp3End) const;
315 virtual bool IsCollision(const CFLPoint3<double>* pFlp3Begin, const CFLPoint3<double>* pFlp3End) const;
317
318 virtual void Clear() override;
319
320 virtual EFigureDeclType GetDeclType() const override;
321 virtual EFigureTemplateType GetTemplateType() const override;
322
324 virtual bool IsSpecEqual(const CFLFigure* pFlfRhs, EFigureSpecCompareType eSpecType = EFigureSpecCompareType_Coordinates) const override;
325
326 using CFLFigure::Swap;
327 virtual const CResult Swap(CFLFigure* pFlfRight) override;
328
329 virtual double GetArea() const override;
330 virtual double GetVolume() const override;
331 virtual double GetHeight() const override;
332
333 using CFLFigure3::Offset;
334 virtual const CResult Offset(double x, double y, double z) override;
335
337 virtual const CResult Multiply(double x, double y, double z) override;
338
340 virtual const CResult GetCenterOfGravity(double& x, double& y, double& z) const override;
341
343 virtual const CResult GetCenterOfVertices(double& x, double& y, double& z) const override;
344
346
360
372 const CFLCylinder3<T>& operator+=(const double& value);
373
375
391
393
409
421 const CFLCylinder3<T>& operator-=(const double& value);
422
424
440
442
458
470 const CFLCylinder3<T>& operator*=(const double& value);
471
473
489
491
507
519 const CFLCylinder3<T>& operator/=(const double& value);
520
522
538
540
556
568 CFLCylinder3<T> operator+(const double& value) const;
569
571
587
589
605
617 CFLCylinder3<T> operator-(const double& value) const;
618
620
636
638
654
666 CFLCylinder3<T> operator*(const double& value) const;
667
669
685
687
703
715 CFLCylinder3<T> operator/(const double& value) const;
716
718
734
736
752
763
777 friend CFLCylinder3<T> operator+(const double& value, const CFLCylinder3<T>& flcy)
778 {
779 CFLCylinder3<T> t(flcy);
780 t += value;
781 return t;
782 }
783
797 friend CFLCylinder3<T> operator-(const double& value, const CFLCylinder3<T>& flcy)
798 {
799 CFLCylinder3<T> t(flcy);
800 t *= -1.;
801 t += value;
802 return t;
803 }
804
818 friend CFLCylinder3<T> operator*(const double& value, const CFLCylinder3<T>& flcy)
819 {
820 CFLCylinder3<T> t(flcy);
821 t *= value;
822 return t;
823 }
824
838 friend CFLCylinder3<T> operator/(const double& value, const CFLCylinder3<T>& flcy)
839 {
840 CFLCylinder3<T> flcyResult(flcy);
841 flcyResult.flcBase.flpCenter = value / flcy.flcBase.flpCenter;
842 return flcyResult;
843 }
844
845 using CFLFigure3::Rotate;
846 virtual const CResult Rotate(const CFLGeometry3DQuaternion<float>* pQuat, const CFLPoint3<float>* pFlp3Pivot = nullptr) override;
847 virtual const CResult Rotate(const CFLGeometry3DQuaternion<double>* pQuat, const CFLPoint3<double>* pFlp3Pivot = nullptr) override;
848
849 using CFLFigure3::Scale;
850 virtual const CResult Scale(double f64PivotX, double f64PivotY, double f64PivotZ, double f64ScaleX, double f64ScaleY, double f64ScaleZ) override;
851
853 virtual const CResult Transform(const CMatrix<float>* pMatTransform) override;
854 virtual const CResult Transform(const CMatrix<double>* pMatTransform) override;
855
857 virtual const CResult GetBoundingBox(double& f64MinX, double& f64MinY, double& f64MinZ, double& f64MaxX, double& f64MaxY, double& f64MaxZ) const override;
858 virtual const CResult GetBoundingBox(float& f32MinX, float& f32MinY, float& f32MinZ, float& f32MaxX, float& f32MaxY, float& f32MaxZ) const override;
859
860
861 SupportToDuplicateObject(CFLCylinder3<T>, *this);
862 DeclareGetClassType();
863 };
864
865 typedef CFLCylinder3<float> CFLCylinder3F;
866 typedef CFLCylinder3<double> CFLCylinder3D;
867 }
868}
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/FLCylinder3.h:25
virtual bool IsCollision(const CFLPoint3< double > *pFlp3Begin, const CFLPoint3< double > *pFlp3End) const
이 객체와 3D 선분 객체가 충돌하는지 여부를 반환합니다.
virtual bool IsCollision(const Base::TPoint3< double > *pTp3Begin, const Base::TPoint3< double > *pTp3End) const
이 객체와 3D 선분 객체가 충돌하는지 여부를 반환합니다.
const CFLCylinder3< T > & operator+=(const CFLPoint3< float > &flpPoint)
이동 연산자[offset]
const CFLCylinder3< T > & operator/=(const double &value)
각 정점의 x,y,z 값에 매개변수를 나누는 연산자
virtual const CResult Rotate(const CFLGeometry3DQuaternion< float > *pQuat, const CFLPoint3< float > *pFlp3Pivot=nullptr) override
객체를 쿼터니언을 이용해 회전시킵니다. 회전 중심점이 nullptr인 경우 객체의 AABB(Axis-Aligned Bounding Box) 중심점을 회전 중심으로 사용합니다.
const CFLCylinder3< T > & operator+=(const double &value)
이동 연산자[offset]
virtual bool Contains(const CFLPoint3< float > &flp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
const CFLCylinder3< T > & operator*=(const CFLPoint3< double > &flpPoint)
각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
CFLCircle3< float > flcBase
Definition FLImagingFoundation/FLCylinder3.h:31
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< float > > *pFlaVertices, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
이 원기둥의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
virtual const CResult Set(const CFLFigure &flf) 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
이 원기둥의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
CFLCylinder3< T > operator+(const Base::TPoint3< double > &tpPoint) const
이동 연산자[offset]
CFLCylinder3(const CFLCylinder3< double > &rhs)
복사 생성자
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
이 원기둥의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
CFLCylinder3< T > operator*(const Base::TPoint3< float > &tpPoint) const
각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
virtual bool Contains(const Base::TPoint3< float > &tp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
CFLCylinder3< T > operator-(const CFLPoint3< double > &flpPoint) const
이동 연산자[offset]
virtual EFigureDeclType GetDeclType() const override
CFLCylinder3(const CFLCircle3< double > &flcBase, double f64Height)
초기화 생성자
const CFLCylinder3< T > & operator-=(const Base::TPoint3< double > &tpPoint)
이동 연산자[offset]
friend CFLCylinder3< T > operator-(const double &value, const CFLCylinder3< T > &flcy)
이동 연산자[offset]
Definition FLImagingFoundation/FLCylinder3.h:797
CFLCylinder3< T > operator*(const Base::TPoint3< double > &tpPoint) const
각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
virtual bool IsCollision(const Base::TPoint3< float > &tp3Begin, const Base::TPoint3< float > &tp3End) const
이 객체와 3D 선분 객체가 충돌하는지 여부를 반환합니다.
CFLCylinder3< T > operator+(const Base::TPoint3< float > &tpPoint) const
이동 연산자[offset]
const CFLCylinder3< T > & operator=(const CFLCylinder3< double > &rhs)
대입 연산자
CFLCylinder3(const CFLCylinder3< float > *pRhs)
복사 생성자
CFLCylinder3< T > operator*(const double &value) const
각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
virtual const CResult Set(const CFLCircle3< double > &flcBase, double f64Height)
파라미터 설정 함수
const CFLCylinder3< T > & operator=(const CFLCylinder3< float > &rhs)
대입 연산자
CFLCylinder3< T > operator/(const Base::TPoint3< double > &tpPoint) const
각 정점의 x, y, z 값을 매개변수로 나누는 연산자
CFLCylinder3< T > operator-(const Base::TPoint3< double > &tpPoint) const
이동 연산자[offset]
CFLCylinder3(const CFLFigure *pFlf)
초기화 생성자
const CFLCylinder3< T > & operator*=(const CFLPoint3< float > &flpPoint)
각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
const CFLCylinder3< T > & operator/=(const Base::TPoint3< float > &tpPoint)
각 정점의 x,y,z 값에 매개변수를 나누는 연산자
CFLCylinder3< T > operator/(const double &value) const
각 정점의 x, y, z 값을 매개변수로 나누는 연산자
CFLCylinder3< T > operator-(const CFLPoint3< float > &flpPoint) const
이동 연산자[offset]
virtual const CResult GetCenterOfVertices(double &x, double &y, double &z) const override
const CFLCylinder3< T > & operator+=(const Base::TPoint3< double > &tpPoint)
이동 연산자[offset]
CFLCylinder3< T > operator+(const double &value) const
이동 연산자[offset]
virtual bool Contains(const Base::TPoint3< double > &tp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
const CFLCylinder3< T > & operator-=(const CFLPoint3< double > &flpPoint)
이동 연산자[offset]
CFLCylinder3(const CFLCylinder3< double > *pRhs)
복사 생성자
const CFLCylinder3< T > & operator+=(const Base::TPoint3< float > &tpPoint)
이동 연산자[offset]
virtual const CFLPoint3< T > GetBottomCenter() const
원기둥의 밑면 중심점(기준 중심점)을 구합니다.
CFLCylinder3(const CFLCircle3< double > *pFlcBase, double f64Height)
초기화 생성자
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
이 원기둥의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
const CFLCylinder3< T > & operator*=(const Base::TPoint3< float > &tpPoint)
각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
virtual const CResult Set(const CFLCylinder3< float > *pFlcy)
파라미터 설정 함수
friend CFLCylinder3< T > operator/(const double &value, const CFLCylinder3< T > &flcy)
각 정점의 x, y, z 값을 매개변수로 나누는 연산자
Definition FLImagingFoundation/FLCylinder3.h:838
CFLCylinder3< T > operator*(const CFLPoint3< double > &flpPoint) const
각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
virtual const CResult Set(const CFLCircle3< double > *pFlcBase, double f64Height)
파라미터 설정 함수
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< float > > &flaVertices, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
이 원기둥의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
virtual const CFLPoint3< T > GetTopCenter() const
원기둥의 윗면 중심점을 구합니다.
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< double > > &flaVertices, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
이 원기둥의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
virtual bool IsCollision(const Base::TPoint3< double > &tp3Begin, const Base::TPoint3< double > &tp3End) const
이 객체와 3D 선분 객체가 충돌하는지 여부를 반환합니다.
CFLCylinder3< T > operator-(const Base::TPoint3< float > &tpPoint) const
이동 연산자[offset]
CFLCylinder3< T > operator/(const Base::TPoint3< float > &tpPoint) const
각 정점의 x, y, z 값을 매개변수로 나누는 연산자
virtual bool Contains(const Base::TPoint3< double > *pTp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
virtual const CResult Set(const CFLCircle3< float > &flcBase, double f64Height)
파라미터 설정 함수
const CFLCylinder3< T > & operator-=(const Base::TPoint3< float > &tpPoint)
이동 연산자[offset]
virtual bool IsCollision(const CFLPoint3< double > &flp3Begin, const CFLPoint3< double > &flp3End) const
이 객체와 3D 선분 객체가 충돌하는지 여부를 반환합니다.
virtual const CResult Set(const CFLFigure *pFlf) override
virtual const CResult Swap(CFLFigure *pFlfRight) override
virtual bool Contains(const CFLPoint3< float > *pFlp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
virtual const CResult Offset(double x, double y, double z) override
virtual void Clear() override
모든 내부 변수를 초기화하고 모든 3D 꼭짓점 좌표를 0으로 리셋합니다.
float tHeight
Definition FLImagingFoundation/FLCylinder3.h:37
const CFLCylinder3< T > & operator*=(const double &value)
각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
friend CFLCylinder3< T > operator+(const double &value, const CFLCylinder3< T > &flcy)
이동 연산자[offset]
Definition FLImagingFoundation/FLCylinder3.h:777
virtual const CResult Set(const CFLCylinder3< double > &flcy)
파라미터 설정 함수
CFLCylinder3< T > operator+(const CFLPoint3< float > &flpPoint) const
이동 연산자[offset]
const CFLCylinder3< T > & operator*=(const Base::TPoint3< double > &tpPoint)
각 정점의 x,y,z 값에 매개변수를 곱하는 연산자
virtual const CResult Multiply(double x, double y, double z) override
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
이 원기둥의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
const CFLCylinder3< T > & operator/=(const Base::TPoint3< double > &tpPoint)
각 정점의 x,y,z 값에 매개변수를 나누는 연산자
virtual bool IsSpecEqual(const CFLFigure *pFlfRhs, EFigureSpecCompareType eSpecType=EFigureSpecCompareType_Coordinates) const override
virtual const CResult GetCenterOfGravity(double &x, double &y, double &z) const override
3차원 객체의 무게 중심 좌표를 획득합니다.
virtual bool IsCollision(const Base::TPoint3< float > *pTp3Begin, const Base::TPoint3< float > *pTp3End) const
이 객체와 3D 선분 객체가 충돌하는지 여부를 반환합니다.
CFLCylinder3< T > operator*(const CFLPoint3< float > &flpPoint) const
각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
CFLCylinder3< T > operator/(const CFLPoint3< float > &flpPoint) const
각 정점의 x, y, z 값을 매개변수로 나누는 연산자
CFLCylinder3(const CFLCylinder3< float > &rhs)
복사 생성자
CFLCylinder3< T > operator/(const CFLPoint3< double > &flpPoint) const
각 정점의 x, y, z 값을 매개변수로 나누는 연산자
const CFLCylinder3< T > & operator+=(const CFLPoint3< double > &flpPoint)
이동 연산자[offset]
virtual const CResult Set(const CFLCylinder3< double > *pFlcy)
파라미터 설정 함수
virtual double GetArea() const override
virtual const CResult Transform(const CMatrix< float > *pMatTransform) override
변환 행렬(4x4 또는 3x3)을 사용하여 객체를 변환합니다.
friend CFLCylinder3< T > operator*(const double &value, const CFLCylinder3< T > &flcy)
각 정점의 x, y, z 값에 매개변수를 곱하는 연산자
Definition FLImagingFoundation/FLCylinder3.h:818
virtual const CResult Set(const CFLCircle3< float > *pFlcBase, double f64Height)
파라미터 설정 함수
const CFLCylinder3< T > & operator/=(const CFLPoint3< double > &flpPoint)
각 정점의 x,y,z 값에 매개변수를 나누는 연산자
virtual const CResult Rotate(const CFLGeometry3DQuaternion< double > *pQuat, const CFLPoint3< double > *pFlp3Pivot=nullptr) override
객체를 쿼터니언을 이용해 회전시킵니다. 회전 중심점이 nullptr인 경우 객체의 AABB(Axis-Aligned Bounding Box) 중심점을 회전 중심으로 사용합니다.
CFLCylinder3(const CFLCircle3< float > &flcBase, double f64Height)
초기화 생성자
virtual bool Contains(const CFLPoint3< double > *pFlp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
virtual bool Contains(const Base::TPoint3< float > *pTp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
virtual bool IsCollision(const CFLPoint3< float > &flp3Begin, const CFLPoint3< float > &flp3End) const
이 객체와 3D 선분 객체가 충돌하는지 여부를 반환합니다.
virtual const CResult Scale(double f64PivotX, double f64PivotY, double f64PivotZ, double f64ScaleX, double f64ScaleY, double f64ScaleZ) override
지정된 중심점을 기준으로 객체에 대해 스케일 변환을 적용합니다.
virtual double GetHeight() const override
const CFLCylinder3< T > & operator/=(const CFLPoint3< float > &flpPoint)
각 정점의 x,y,z 값에 매개변수를 나누는 연산자
CFLCylinder3(const CFLCircle3< float > *pFlcBase, double f64Height)
초기화 생성자
const CFLCylinder3< T > & operator-=(const double &value)
이동 연산자[offset]
virtual const CResult GetBoundingBox(float &f32MinX, float &f32MinY, float &f32MinZ, float &f32MaxX, float &f32MaxY, float &f32MaxZ) const override
바운딩 박스(AABB)를 얻어옵니다.
virtual bool IsCollision(const CFLPoint3< float > *pFlp3Begin, const CFLPoint3< float > *pFlp3End) const
이 객체와 3D 선분 객체가 충돌하는지 여부를 반환합니다.
const CFLCylinder3< T > & operator-=(const CFLPoint3< float > &flpPoint)
이동 연산자[offset]
virtual double GetVolume() const override
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< double > > *pFlaVertices, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
이 원기둥의 내부에 위치하는 정점의 인덱스 배열을 반환합니다.
virtual const CResult Set(const CFLCylinder3< float > &flcy)
파라미터 설정 함수
CFLCylinder3< T > operator-() const
해당 객체의 x, y, z 값의 부호를 반전시킨 객체를 반환하는 연산자
CFLCylinder3(const CFLFigure &flf)
초기화 생성자
virtual const CResult GetBoundingBox(double &f64MinX, double &f64MinY, double &f64MinZ, double &f64MaxX, double &f64MaxY, double &f64MaxZ) const override
바운딩 박스(AABB)를 얻어옵니다.
CFLCylinder3< T > operator+(const CFLPoint3< double > &flpPoint) const
이동 연산자[offset]
virtual EFigureTemplateType GetTemplateType() const override
virtual const CResult Transform(const CMatrix< double > *pMatTransform) override
변환 행렬(4x4 또는 3x3)을 사용하여 객체를 변환합니다.
virtual bool Contains(const CFLPoint3< double > &flp3) const
정점이 이 객체의 내부에 있는지 여부를 반환합니다.
CFLCylinder3< T > operator-(const double &value) const
이동 연산자[offset]
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/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