FLImaging 7.11.27.4
FLImagingFoundation/FLLine3.h
1#pragma once
2
8
9#include "FLFigure3.h"
10#include "FLPoint3.h"
11
13namespace FLImaging
14{
16 namespace Foundation
17 {
18 template<typename T>
19 class FL_EXPORT CFLPointArray3;
20
26 template<typename T>
27 class FL_EXPORT CFLLine3 : public CFLFigure3
28 {
29 public:
35
41
46 virtual ~CFLLine3();
47
49
63
65
81
83
99
101
114 CFLLine3(const CFLPoint3<float>& flp0, const CFLPoint3<float>& flp1);
116 CFLLine3(const CFLPoint3<float>* pFlp0, const CFLPoint3<float>* pFlp1);
117 CFLLine3(const CFLPoint3<double>* pFlp0, const CFLPoint3<double>* pFlp1);
119
121
139
141
161 CFLLine3(double x0, double y0, double z0, double x1, double y1, double z1);
162 CFLLine3(float x0, float y0, float z0, float x1, float y1, float z1);
163 CFLLine3(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1);
164 CFLLine3(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1);
166
168
184
186
197 CFLLine3(const CFLFigure& flf);
198 CFLLine3(const CFLFigure* pFlf);
200
202
215 virtual const CResult Set(const CFLLine3<float>& rhs);
216 virtual const CResult Set(const CFLLine3<double>& rhs);
217 virtual const CResult Set(const CFLLine3<float>* pRhs);
218 virtual const CResult Set(const CFLLine3<double>* pRhs);
220
222
237 virtual const CResult Set(const Base::TLine3<float>& rhs);
238 virtual const CResult Set(const Base::TLine3<double>& rhs);
239 virtual const CResult Set(const Base::TLine3<float>* pRhs);
240 virtual const CResult Set(const Base::TLine3<double>* pRhs);
242
244
259 virtual const CResult Set(const Base::TLine<float>& rhs);
260 virtual const CResult Set(const Base::TLine<double>& rhs);
261 virtual const CResult Set(const Base::TLine<float>* pRhs);
262 virtual const CResult Set(const Base::TLine<double>* pRhs);
264
266
283 virtual const CResult Set(const CFLPoint3<float>& flp0, const CFLPoint3<float>& flp1);
284 virtual const CResult Set(const CFLPoint3<double>& flp0, const CFLPoint3<double>& flp1);
285 virtual const CResult Set(const CFLPoint3<float>* pFlp0, const CFLPoint3<float>* pFlp1);
286 virtual const CResult Set(const CFLPoint3<double>* pFlp0, const CFLPoint3<double>* pFlp1);
288
290
307 virtual const CResult Set(const Base::TPoint3<float>& tp0, const Base::TPoint3<float>& tp1);
308 virtual const CResult Set(const Base::TPoint3<double>& tp0, const Base::TPoint3<double>& tp1);
309 virtual const CResult Set(const Base::TPoint3<float>* pTp0, const Base::TPoint3<float>* pTp1);
310 virtual const CResult Set(const Base::TPoint3<double>* pTp0, const Base::TPoint3<double>* pTp1);
312
314
337 virtual const CResult Set(double x0, double y0, double z0, double x1, double y1, double z1);
338 virtual const CResult Set(float x0, float y0, float z0, float x1, float y1, float z1);
339 virtual const CResult Set(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1);
340 virtual const CResult Set(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1);
342
344
359 virtual const CResult Set(const CFLPointArray3<double>& flpa3);
360 virtual const CResult Set(const CFLPointArray3<float>& flpa3);
361 virtual const CResult Set(const CFLPointArray3<double>* pFlpa3);
362 virtual const CResult Set(const CFLPointArray3<float>* pFlpa3);
364
365 virtual const CResult Set(const CFLFigure& flf) override;
366 virtual const CResult Set(const CFLFigure* pFlf) override;
367
369
392 virtual const CResult Fit(const Base::CFLArray<Base::TPoint3<double>>& flaPoints, int64_t i64OutlierThresholdCount = 0, double f64OutlierThreshold = 3., Base::CFLArray<int64_t>* pFlaOutlierIndices = nullptr);
393 virtual const CResult Fit(const Base::CFLArray<Base::TPoint3<float>>& flaPoints, int64_t i64OutlierThresholdCount = 0, double f64OutlierThreshold = 3., Base::CFLArray<int64_t>* pFlaOutlierIndices = nullptr);
394 virtual const CResult Fit(const Base::CFLArray<Base::TPoint3<double>>* pFlaPoints, int64_t i64OutlierThresholdCount = 0, double f64OutlierThreshold = 3., Base::CFLArray<int64_t>* pFlaOutlierIndices = nullptr);
395 virtual const CResult Fit(const Base::CFLArray<Base::TPoint3<float>>* pFlaPoints, int64_t i64OutlierThresholdCount = 0, double f64OutlierThreshold = 3., Base::CFLArray<int64_t>* pFlaOutlierIndices = nullptr);
397
399
422 virtual const CResult Fit(const CFLPointArray3<double>& flpaPoints, int64_t i64OutlierThresholdCount = 0, double f64OutlierThreshold = 3., Base::CFLArray<int64_t>* pFlaOutlierIndices = nullptr);
423 virtual const CResult Fit(const CFLPointArray3<float>& flpaPoints, int64_t i64OutlierThresholdCount = 0, double f64OutlierThreshold = 3., Base::CFLArray<int64_t>* pFlaOutlierIndices = nullptr);
424 virtual const CResult Fit(const CFLPointArray3<double>* pFlpaPoints, int64_t i64OutlierThresholdCount = 0, double f64OutlierThreshold = 3., Base::CFLArray<int64_t>* pFlaOutlierIndices = nullptr);
425 virtual const CResult Fit(const CFLPointArray3<float>* pFlpaPoints, int64_t i64OutlierThresholdCount = 0, double f64OutlierThreshold = 3., Base::CFLArray<int64_t>* pFlaOutlierIndices = nullptr);
427
428 virtual void Clear() override;
429
430 virtual EFigureDeclType GetDeclType() const override;
431 virtual EFigureTemplateType GetTemplateType() const override;
432
434 virtual bool IsSpecEqual(const CFLFigure* pFlfRhs, EFigureSpecCompareType eSpecType = EFigureSpecCompareType_Coordinates) const override;
435
436 using CFLFigure::Swap;
437 virtual const CResult Swap(CFLFigure* pFlfRight) override;
438
439 virtual double GetLength() const override;
440
441 using CFLFigure3::Offset;
442 virtual const CResult Offset(double x, double y, double z) override;
443
445 virtual const CResult Multiply(double x, double y, double z) override;
446
447 virtual CFLPoint3<double> GetCenter3D() const override;
448
450 virtual const CResult GetCenterOfGravity(double& x, double& y, double& z) const override;
451
453 virtual const CResult GetCenterOfVertices(double& x, double& y, double& z) const override;
454
455 using CFLFigure3::Rotate;
456 virtual const CResult Rotate(const CFLGeometry3DQuaternion<float>* pQuat, const CFLPoint3<float>* pFlp3Pivot = nullptr) override;
457 virtual const CResult Rotate(const CFLGeometry3DQuaternion<double>* pQuat, const CFLPoint3<double>* pFlp3Pivot = nullptr) override;
458
459 using CFLFigure3::Scale;
460 virtual const CResult Scale(double f64PivotX, double f64PivotY, double f64PivotZ, double f64ScaleX, double f64ScaleY, double f64ScaleZ) override;
461
463 virtual const CResult Transform(const CMatrix<float>* pMatTransform) override;
464 virtual const CResult Transform(const CMatrix<double>* pMatTransform) override;
465
467 virtual const CResult GetBoundingBox(double& f64MinX, double& f64MinY, double& f64MinZ, double& f64MaxX, double& f64MaxY, double& f64MaxZ) const override;
468 virtual const CResult GetBoundingBox(float& f32MinX, float& f32MinY, float& f32MinZ, float& f32MaxX, float& f32MaxY, float& f32MaxZ) const override;
469
482
483 virtual const CResult GetSamplingPointsOnSegment(double f64SamplingDistance, CFLFigureArray& flfaResult) const override;
484 virtual const CResult GetSamplingPointsOnSegment(double f64SamplingDistance, CFLFigureArray* pFlfaResult) const override;
485
487
504 virtual const CResult GetSamplingPointsOnSegment(double f64SamplingDistance, CFLPointArray3<T>& flpaResult) const;
505 virtual const CResult GetSamplingPointsOnSegment(double f64SamplingDistance, CFLPointArray3<T>* pFlpaResult) const;
507
520 virtual CFLPoint3<T> GetPointOnLine(double f64T) const;
521
539 virtual const CResult GetPositionOnLine(double f64X, double f64Y, double f64Z, double& f64T) const;
540
542
557 virtual const CResult GetPositionOnLine(const CFLPoint3<T>& flp, double& f64T) const;
558 virtual const CResult GetPositionOnLine(const CFLPoint3<T>* pFlp, double& f64T) const;
560
574 virtual double GetPositionOnLine(double f64X, double f64Y, double f64Z) const;
575
577
588 virtual double GetPositionOnLine(const CFLPoint3<T>& flp) const;
589 virtual double GetPositionOnLine(const CFLPoint3<T>* pFlp) const;
591
592
594
605 bool operator==(const CFLLine3<float>& flsp) const;
606 bool operator==(const CFLLine3<double>& flsp) const;
608
610
621 bool operator!=(const CFLLine3<float>& flsp) const;
622 bool operator!=(const CFLLine3<double>& flsp) const;
624
626
640
652 const CFLLine3<T>& operator+=(const double& value);
653
655
668 const CFLLine3<T>& operator+=(const CFLPoint3<float>& flpPoint);
669 const CFLLine3<T>& operator+=(const CFLPoint3<double>& flpPoint);
671
673
689
701 const CFLLine3<T>& operator-=(const double& value);
702
704
717 const CFLLine3<T>& operator-=(const CFLPoint3<float>& flpPoint);
718 const CFLLine3<T>& operator-=(const CFLPoint3<double>& flpPoint);
720
722
738
750 const CFLLine3<T>& operator*=(const double& value);
751
753
766 const CFLLine3<T>& operator*=(const CFLPoint3<float>& flpPoint);
767 const CFLLine3<T>& operator*=(const CFLPoint3<double>& flpPoint);
769
771
787
799 const CFLLine3<T>& operator/=(const double& value);
800
802
815 const CFLLine3<T>& operator/=(const CFLPoint3<float>& flpPoint);
816 const CFLLine3<T>& operator/=(const CFLPoint3<double>& flpPoint);
818
820
836
848 CFLLine3<T> operator+(const double& value) const;
849
851
867
869
882 CFLLine3<T> operator+(const CFLPoint3<float>& flpPoint) const;
885
897 CFLLine3<T> operator-(const double& value) const;
898
900
916
918
931 CFLLine3<T> operator-(const CFLPoint3<float>& flpPoint) const;
934
946 CFLLine3<T> operator*(const double& value) const;
947
949
965
967
980 CFLLine3<T> operator*(const CFLPoint3<float>& flpPoint) const;
983
995 CFLLine3<T> operator/(const double& value) const;
996
998
1014
1016
1032
1043
1057 friend CFLLine3<T> operator+(const double& value, const CFLLine3<T>& fll)
1058 {
1059 CFLLine3<T> t(fll);
1060 t += value;
1061 return t;
1062 }
1063
1077 friend CFLLine3<T> operator-(const double& value, const CFLLine3<T>& fll)
1078 {
1079 CFLLine3<T> t(fll);
1080 t *= -1.;
1081 t += value;
1082 return t;
1083 }
1084
1098 friend CFLLine3<T> operator*(const double& value, const CFLLine3<T>& fll)
1099 {
1100 CFLLine3<T> t(fll);
1101 t *= value;
1102 return t;
1103 }
1104
1118 friend CFLLine3<T> operator/(const double& value, const CFLLine3<T>& fll)
1119 {
1120 CFLLine3<T> t(fll);
1121 t.flpPoints[0] = value / fll.flpPoints[0];
1122 t.flpPoints[1] = value / fll.flpPoints[1];
1123 return t;
1124 }
1125
1126
1127 private:
1129
1130 protected:
1131 virtual CFLPoint<double> GetCenterOfGravity() const override;
1132
1133 SupportToDuplicateObject(CFLLine3<T>, *this);
1134 DeclareGetClassType();
1135 };
1136
1137 typedef CFLLine3<float> CFLLine3F;
1138 typedef CFLLine3<double> CFLLine3D;
1139 }
1140}
Template type 의 배열 클래스.
Definition FLArray.h:71
3차원 선을 표현하는 간략화된 클래스
Definition FLImagingBase/TLine3.h:38
선을 표현하는 간략화된 클래스
Definition FLImagingBase/TLine.h:38
3차원 점을 표현하는 간략화된 클래스
Definition FLImagingBase/TPoint3.h:37
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/FLFigureArray.h:27
도형을 표현하는 클래스의 기저 클래스
Definition FLImagingFoundation/FLFigure.h:27
virtual bool IsSpecEqual(const CFLFigure &flfRhs, EFigureSpecCompareType eSpecType=EFigureSpecCompareType_Coordinates) const
virtual const CResult GetSamplingVectorOnSegment(double f64SamplingDistance, CFLFigureArray &flfaResult) const
설정한 길이만큼 직선으로 이동하는 점 정보를 얻어옵니다
virtual const CResult Swap(CFLFigure &flfRight)
사원수를 표현하는 클래스
Definition FLImagingFoundation/FLGeometry3DQuaternion.h:30
3차원 직선을 표현하는 클래스
Definition FLImagingFoundation/FLLine3.h:28
virtual const CResult Set(const CFLFigure &flf) override
virtual const CResult Set(const Base::TLine3< double > &rhs)
파라미터 설정 함수
CFLLine3< T > operator+(const CFLPoint3< double > &flpPoint) const
이동 연산자[offset]
CFLLine3< T > operator-(const double &value) const
이동 연산자[offset]
CFLLine3(const Base::TLine< double > &rhs)
복사 생성자
friend CFLLine3< T > operator/(const double &value, const CFLLine3< T > &fll)
중심좌표의 x, y, z 값을 매개변수로 나누는 연산자
Definition FLImagingFoundation/FLLine3.h:1118
virtual const CResult Set(const Base::TLine< float > *pRhs)
파라미터 설정 함수
virtual const CResult Set(const CFLPointArray3< double > &flpa3)
파라미터 설정 함수
virtual const CResult Rotate(const CFLGeometry3DQuaternion< float > *pQuat, const CFLPoint3< float > *pFlp3Pivot=nullptr) override
객체를 쿼터니언을 이용해 회전시킵니다. 회전 중심점이 nullptr인 경우 객체의 AABB(Axis-Aligned Bounding Box) 중심점을 회전 중심으로 사용합니다.
virtual const CResult Set(const CFLLine3< float > &rhs)
파라미터 설정 함수
virtual double GetPositionOnLine(const CFLPoint3< T > &flp) const
virtual const CResult Set(const CFLPointArray3< float > &flpa3)
파라미터 설정 함수
const CFLLine3< T > & operator/=(const double &value)
중심좌표의 x,y,z 값에 매개변수를 나누는 연산자
CFLLine3(const Base::TPoint3< float > &tp0, const Base::TPoint3< float > &tp1)
초기화 생성자
CFLLine3(const CFLPointArray3< float > &flpa3)
초기화 생성자
CFLLine3(double x0, double y0, double z0, double x1, double y1, double z1)
초기화 생성자
const CFLLine3< T > & operator-=(const double &value)
이동 연산자[offset]
virtual bool IsSpecEqual(const CFLFigure *pFlfRhs, EFigureSpecCompareType eSpecType=EFigureSpecCompareType_Coordinates) const override
virtual EFigureTemplateType GetTemplateType() const override
virtual const CResult Fit(const CFLPointArray3< double > &flpaPoints, int64_t i64OutlierThresholdCount=0, double f64OutlierThreshold=3., Base::CFLArray< int64_t > *pFlaOutlierIndices=nullptr)
점들과 가장 유사한 형태의 선을 맞춰주는 함수
const CFLLine3< T > & operator+=(const CFLPoint3< double > &flpPoint)
이동 연산자[offset]
virtual const CResult Fit(const Base::CFLArray< Base::TPoint3< float > > &flaPoints, int64_t i64OutlierThresholdCount=0, double f64OutlierThreshold=3., Base::CFLArray< int64_t > *pFlaOutlierIndices=nullptr)
점들과 가장 유사한 형태의 선을 맞춰주는 함수
CFLLine3(const Base::TPoint3< float > *pTp0, const Base::TPoint3< float > *pTp1)
초기화 생성자
const CFLLine3< T > & operator/=(const Base::TPoint3< double > &tpPoint)
중심좌표의 x,y,z 값에 매개변수를 나누는 연산자
const CFLLine3< T > & operator/=(const CFLPoint3< double > &flpPoint)
중심좌표의 x,y,z 값에 매개변수를 나누는 연산자
virtual const CResult Swap(CFLFigure *pFlfRight) override
virtual double GetPositionOnLine(double f64X, double f64Y, double f64Z) const
virtual const CResult Set(const Base::TPoint3< float > &tp0, const Base::TPoint3< float > &tp1)
파라미터 설정 함수
CFLLine3(const Base::TLine< float > &rhs)
복사 생성자
CFLLine3< T > operator+(const Base::TPoint3< float > &tpPoint) const
이동 연산자[offset]
CFLLine3(const CFLPoint3< float > *pFlp0, const CFLPoint3< float > *pFlp1)
초기화 생성자
virtual void Clear() override
모든 내부 변수를 초기화하고 모든 3D 꼭짓점 좌표를 0으로 리셋합니다.
virtual const CResult GetSamplingPointsOnSegment(double f64SamplingDistance, CFLPointArray3< T > &flpaResult) const
설정한 길이만큼 이동하는 점 정보를 얻어옵니다
CFLLine3< T > operator-(const CFLPoint3< float > &flpPoint) const
이동 연산자[offset]
virtual const CResult Set(const CFLPoint3< float > *pFlp0, const CFLPoint3< float > *pFlp1)
파라미터 설정 함수
virtual CFLPoint3< T > GetPointOnLine(double f64T) const
virtual const CResult Set(const Base::TPoint3< double > &tp0, const Base::TPoint3< double > &tp1)
파라미터 설정 함수
virtual const CResult Set(const Base::TPoint3< float > *pTp0, const Base::TPoint3< float > *pTp1)
파라미터 설정 함수
CFLLine3(const Base::TLine< double > *pRhs)
복사 생성자
const CFLLine3< T > & operator*=(const double &value)
중심좌표의 x,y,z 값에 매개변수를 곱하는 연산자
virtual const CResult Set(const CFLPointArray3< float > *pFlpa3)
파라미터 설정 함수
CFLPoint3< float > flpPoints[2]
Definition FLImagingFoundation/FLLine3.h:34
const CFLLine3< T > & operator=(const CFLLine3< float > &rhs)
대입 연산자
virtual const CResult Offset(double x, double y, double z) override
virtual const CResult Fit(const Base::CFLArray< Base::TPoint3< double > > &flaPoints, int64_t i64OutlierThresholdCount=0, double f64OutlierThreshold=3., Base::CFLArray< int64_t > *pFlaOutlierIndices=nullptr)
점들과 가장 유사한 형태의 선을 맞춰주는 함수
CFLLine3(const Base::TLine3< float > *pRhs)
복사 생성자
const CFLLine3< T > & operator+=(const CFLPoint3< float > &flpPoint)
이동 연산자[offset]
bool operator!=(const CFLLine3< float > &flsp) const
비교 연산자
CFLLine3< T > operator-(const CFLPoint3< double > &flpPoint) const
이동 연산자[offset]
virtual const CResult GetSamplingPointsOnSegment(double f64SamplingDistance, CFLPointArray3< T > *pFlpaResult) const
설정한 길이만큼 이동하는 점 정보를 얻어옵니다
const CFLLine3< T > & operator*=(const Base::TPoint3< float > &tpPoint)
중심좌표의 x,y,z 값에 매개변수를 곱하는 연산자
virtual const CResult Set(const Base::TLine< double > &rhs)
파라미터 설정 함수
CFLLine3< T > operator*(const double &value) const
중심좌표의 x, y, z 값에 매개변수를 곱하는 연산자
virtual const CResult Fit(const CFLPointArray3< float > &flpaPoints, int64_t i64OutlierThresholdCount=0, double f64OutlierThreshold=3., Base::CFLArray< int64_t > *pFlaOutlierIndices=nullptr)
점들과 가장 유사한 형태의 선을 맞춰주는 함수
virtual const CResult Set(const Base::TPoint3< double > *pTp0, const Base::TPoint3< double > *pTp1)
파라미터 설정 함수
CFLLine3< T > operator+(const Base::TPoint3< double > &tpPoint) const
이동 연산자[offset]
CFLLine3(const CFLLine3< float > *pRhs)
복사 생성자
const CFLLine3< T > & operator*=(const CFLPoint3< float > &flpPoint)
중심좌표의 x,y,z 값에 매개변수를 곱하는 연산자
virtual const CResult Set(float x0, float y0, float z0, float x1, float y1, float z1)
파라미터 설정 함수
virtual const CResult GetPositionOnLine(const CFLPoint3< T > &flp, double &f64T) const
CFLLine3< T > operator-(const Base::TPoint3< double > &tpPoint) const
이동 연산자[offset]
CFLLine3< T > operator/(const CFLPoint3< double > &flpPoint) const
중심좌표의 x, y, z 값을 매개변수로 나누는 연산자
CFLLine3(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1)
초기화 생성자
virtual const CResult Scale(double f64PivotX, double f64PivotY, double f64PivotZ, double f64ScaleX, double f64ScaleY, double f64ScaleZ) override
지정된 중심점을 기준으로 객체에 대해 스케일 변환을 적용합니다.
virtual const CResult Set(double x0, double y0, double z0, double x1, double y1, double z1)
파라미터 설정 함수
virtual const CResult GetBoundingBox(double &f64MinX, double &f64MinY, double &f64MinZ, double &f64MaxX, double &f64MaxY, double &f64MaxZ) const override
바운딩 박스(AABB)를 얻어옵니다.
CFLLine3(const Base::TLine3< double > *pRhs)
복사 생성자
CFLLine3(const CFLPoint3< double > &flp0, const CFLPoint3< double > &flp1)
초기화 생성자
virtual const CResult Set(const CFLLine3< double > &rhs)
파라미터 설정 함수
CFLLine3< T > operator*(const Base::TPoint3< float > &tpPoint) const
중심좌표의 x, y, z 값에 매개변수를 곱하는 연산자
virtual const CResult GetBoundingBox(float &f32MinX, float &f32MinY, float &f32MinZ, float &f32MaxX, float &f32MaxY, float &f32MaxZ) const override
바운딩 박스(AABB)를 얻어옵니다.
friend CFLLine3< T > operator*(const double &value, const CFLLine3< T > &fll)
중심좌표의 x, y, z 값에 매개변수를 곱하는 연산자
Definition FLImagingFoundation/FLLine3.h:1098
CFLLine3< T > operator-(const Base::TPoint3< float > &tpPoint) const
이동 연산자[offset]
CFLLine3(const CFLFigure *pFlf)
초기화 생성자
CFLLine3(const CFLLine3< float > &rhs)
복사 생성자
virtual const CResult Fit(const CFLPointArray3< float > *pFlpaPoints, int64_t i64OutlierThresholdCount=0, double f64OutlierThreshold=3., Base::CFLArray< int64_t > *pFlaOutlierIndices=nullptr)
점들과 가장 유사한 형태의 선을 맞춰주는 함수
const CFLLine3< T > & operator-=(const Base::TPoint3< double > &tpPoint)
이동 연산자[offset]
friend CFLLine3< T > operator+(const double &value, const CFLLine3< T > &fll)
이동 연산자[offset]
Definition FLImagingFoundation/FLLine3.h:1057
virtual const CResult Rotate(const CFLGeometry3DQuaternion< double > *pQuat, const CFLPoint3< double > *pFlp3Pivot=nullptr) override
객체를 쿼터니언을 이용해 회전시킵니다. 회전 중심점이 nullptr인 경우 객체의 AABB(Axis-Aligned Bounding Box) 중심점을 회전 중심으로 사용합니다.
CFLLine3< T > operator/(const Base::TPoint3< double > &tpPoint) const
중심좌표의 x, y, z 값을 매개변수로 나누는 연산자
const CFLLine3< T > & operator/=(const Base::TPoint3< float > &tpPoint)
중심좌표의 x,y,z 값에 매개변수를 나누는 연산자
virtual const CResult GetCenterOfGravity(double &x, double &y, double &z) const override
3차원 객체의 무게 중심 좌표를 획득합니다.
CFLLine3< T > operator+(const CFLPoint3< float > &flpPoint) const
이동 연산자[offset]
friend CFLLine3< T > operator-(const double &value, const CFLLine3< T > &fll)
이동 연산자[offset]
Definition FLImagingFoundation/FLLine3.h:1077
virtual const CResult Set(const CFLPointArray3< double > *pFlpa3)
파라미터 설정 함수
virtual const CResult Set(const Base::TLine3< float > &rhs)
파라미터 설정 함수
CFLLine3< T > operator*(const CFLPoint3< double > &flpPoint) const
중심좌표의 x, y, z 값에 매개변수를 곱하는 연산자
bool operator!=(const CFLLine3< double > &flsp) const
비교 연산자
virtual EFigureDeclType GetDeclType() const override
CFLLine3< T > operator-() const
해당 객체의 x, y, z 값의 부호를 반전시킨 객체를 반환하는 연산자
const CFLLine3< T > & operator*=(const CFLPoint3< double > &flpPoint)
중심좌표의 x,y,z 값에 매개변수를 곱하는 연산자
virtual const CResult Fit(const CFLPointArray3< double > *pFlpaPoints, int64_t i64OutlierThresholdCount=0, double f64OutlierThreshold=3., Base::CFLArray< int64_t > *pFlaOutlierIndices=nullptr)
점들과 가장 유사한 형태의 선을 맞춰주는 함수
virtual const CResult Set(const Base::TLine< float > &rhs)
파라미터 설정 함수
virtual const CResult Set(const CFLPoint3< float > &flp0, const CFLPoint3< float > &flp1)
파라미터 설정 함수
CFLLine3(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1)
초기화 생성자
CFLLine3(const CFLPointArray3< float > *pFlpa3)
초기화 생성자
virtual CFLPoint3< double > GetCenter3D() const override
CFLLine3(const CFLLine3< double > *pRhs)
복사 생성자
const CFLLine3< T > & operator-=(const Base::TPoint3< float > &tpPoint)
이동 연산자[offset]
const CFLLine3< T > & operator=(const CFLLine3< double > &rhs)
대입 연산자
virtual CFLPoint< double > GetCenterOfGravity() const override
CFLLine3(const Base::TLine< float > *pRhs)
복사 생성자
virtual const CResult Multiply(double x, double y, double z) override
CFLLine3(const CFLLine3< double > &rhs)
복사 생성자
virtual const CResult Set(const CFLPoint3< double > &flp0, const CFLPoint3< double > &flp1)
파라미터 설정 함수
CFLLine3(const Base::TLine3< double > &rhs)
복사 생성자
const CFLLine3< T > & operator/=(const CFLPoint3< float > &flpPoint)
중심좌표의 x,y,z 값에 매개변수를 나누는 연산자
CFLLine3(float x0, float y0, float z0, float x1, float y1, float z1)
초기화 생성자
virtual const CResult Transform(const CMatrix< float > *pMatTransform) override
변환 행렬(4x4 또는 3x3)을 사용하여 객체를 변환합니다.
virtual const CResult Set(const CFLPoint3< double > *pFlp0, const CFLPoint3< double > *pFlp1)
파라미터 설정 함수
const CFLLine3< T > & operator+=(const double &value)
이동 연산자[offset]
virtual const CResult Set(const Base::TLine< double > *pRhs)
파라미터 설정 함수
CFLLine3(const CFLFigure &flf)
초기화 생성자
CFLLine3(const Base::TPoint3< double > *pTp0, const Base::TPoint3< double > *pTp1)
초기화 생성자
virtual double GetPositionOnLine(const CFLPoint3< T > *pFlp) const
bool operator==(const CFLLine3< double > &flsp) const
비교 연산자
CFLLine3(const CFLPoint3< double > *pFlp0, const CFLPoint3< double > *pFlp1)
초기화 생성자
virtual const CResult GetPositionOnLine(const CFLPoint3< T > *pFlp, double &f64T) const
virtual const CResult Set(const CFLFigure *pFlf) override
virtual double GetLength() const override
CFLLine3< T > operator/(const double &value) const
중심좌표의 x, y, z 값을 매개변수로 나누는 연산자
virtual const CResult GetCenterOfVertices(double &x, double &y, double &z) const override
CFLLine3< T > operator*(const CFLPoint3< float > &flpPoint) const
중심좌표의 x, y, z 값에 매개변수를 곱하는 연산자
const CFLLine3< T > & operator-=(const CFLPoint3< double > &flpPoint)
이동 연산자[offset]
const CFLLine3< T > & operator-=(const CFLPoint3< float > &flpPoint)
이동 연산자[offset]
virtual const CResult Set(const Base::TLine3< float > *pRhs)
파라미터 설정 함수
const CFLLine3< T > & operator*=(const Base::TPoint3< double > &tpPoint)
중심좌표의 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)
파라미터 설정 함수
const CFLLine3< T > & operator+=(const Base::TPoint3< float > &tpPoint)
이동 연산자[offset]
CFLLine3< T > operator/(const Base::TPoint3< float > &tpPoint) const
중심좌표의 x, y, z 값을 매개변수로 나누는 연산자
virtual const CResult Set(const CFLLine3< float > *pRhs)
파라미터 설정 함수
virtual const CResult GetPositionOnLine(double f64X, double f64Y, double f64Z, double &f64T) const
CFLLine3(const Base::TLine3< float > &rhs)
복사 생성자
virtual const CResult Set(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1)
파라미터 설정 함수
virtual const CResult GetSamplingPointsOnSegment(double f64SamplingDistance, CFLFigureArray &flfaResult) const override
설정한 길이만큼 이동하는 점 정보를 얻어옵니다
const CFLLine3< T > & operator+=(const Base::TPoint3< double > &tpPoint)
이동 연산자[offset]
virtual const CResult GetSamplingPointsOnSegment(double f64SamplingDistance, CFLFigureArray *pFlfaResult) const override
설정한 길이만큼 이동하는 점 정보를 얻어옵니다
virtual CFLPoint3< T > GetUnitVector() const
직선의 단위 벡터를 얻는 함수
CFLLine3(const CFLPointArray3< double > &flpa3)
초기화 생성자
CFLLine3(const CFLPointArray3< double > *pFlpa3)
초기화 생성자
bool operator==(const CFLLine3< float > &flsp) const
비교 연산자
virtual const CResult Set(const Base::TLine3< double > *pRhs)
파라미터 설정 함수
virtual const CResult Set(const CFLLine3< double > *pRhs)
파라미터 설정 함수
CFLLine3(const Base::TPoint3< double > &tp0, const Base::TPoint3< double > &tp1)
초기화 생성자
CFLLine3< T > operator/(const CFLPoint3< float > &flpPoint) const
중심좌표의 x, y, z 값을 매개변수로 나누는 연산자
CFLLine3< T > operator*(const Base::TPoint3< double > &tpPoint) const
중심좌표의 x, y, z 값에 매개변수를 곱하는 연산자
CFLLine3< T > operator+(const double &value) const
이동 연산자[offset]
virtual const CResult Transform(const CMatrix< double > *pMatTransform) override
변환 행렬(4x4 또는 3x3)을 사용하여 객체를 변환합니다.
virtual const CResult Fit(const Base::CFLArray< Base::TPoint3< double > > *pFlaPoints, int64_t i64OutlierThresholdCount=0, double f64OutlierThreshold=3., Base::CFLArray< int64_t > *pFlaOutlierIndices=nullptr)
점들과 가장 유사한 형태의 선을 맞춰주는 함수
virtual const CResult Fit(const Base::CFLArray< Base::TPoint3< float > > *pFlaPoints, int64_t i64OutlierThresholdCount=0, double f64OutlierThreshold=3., Base::CFLArray< int64_t > *pFlaOutlierIndices=nullptr)
점들과 가장 유사한 형태의 선을 맞춰주는 함수
CFLLine3(const CFLPoint3< float > &flp0, const CFLPoint3< float > &flp1)
초기화 생성자
3차원 점을 표현하는 클래스
Definition FLImagingFoundation/FLPoint3.h:40
3차원 점 배열을 표현하는 클래스
Definition FLImagingFoundation/FLPointArray3.h:24
점을 표현하는 클래스
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