336 CFLLine3(
double x0,
double y0,
double z0,
double x1,
double y1,
double z1);
358 CFLLine3(
float x0,
float y0,
float z0,
float x1,
float y1,
float z1);
380 CFLLine3(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1);
402 CFLLine3(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1);
853 virtual const CResult Set(
double x0,
double y0,
double z0,
double x1,
double y1,
double z1);
878 virtual const CResult Set(
float x0,
float y0,
float z0,
float x1,
float y1,
float z1);
903 virtual const CResult Set(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1);
928 virtual const CResult Set(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1);
1233 virtual const CResult Scale(
double f64PivotX,
double f64PivotY,
double f64PivotZ,
double f64ScaleX,
double f64ScaleY,
double f64ScaleZ)
override;
1240 virtual const CResult GetBoundingBox(
double& f64MinX,
double& f64MinY,
double& f64MinZ,
double& f64MaxX,
double& f64MaxY,
double& f64MaxZ)
const override;
1241 virtual const CResult GetBoundingBox(
float& f32MinX,
float& f32MinY,
float& f32MinZ,
float& f32MaxX,
float& f32MaxY,
float& f32MaxZ)
const override;
2169 DeclareGetClassType();
Template type array class.
Definition FLArray.h:71
Simplified class representing a 3D line.
Definition TLine3.h:38
Simplified class representing a line.
Definition TLine.h:38
Simplified class representing a 3-D point.
Definition TPoint3.h:37
FLImaging module execution result object.
Definition ResultsDef.h:1704
A class representing quaternion.
Definition FLGeometry3DQuaternion.h:30
A class representing a line 3d.
Definition FLLine3.h:28
virtual const CResult Set(const CFLFigure &flf) override
virtual const CResult Set(const Base::TLine3< double > &rhs)
Parameter setting function.
CFLLine3< T > operator+(const CFLPoint3< double > &flpPoint) const
Offset operator.
CFLLine3< T > operator-(const double &value) const
Offset operator.
CFLLine3(const Base::TLine< double > &rhs)
copy constructor
friend CFLLine3< T > operator/(const double &value, const CFLLine3< T > &fll)
An operator that divides the x, y, z values of center into parameters.
Definition FLLine3.h:2153
virtual const CResult Set(const Base::TLine< float > *pRhs)
Parameter setting function.
virtual const CResult Set(const CFLPointArray3< double > &flpa3)
Parameter setting function.
virtual const CResult Rotate(const CFLGeometry3DQuaternion< float > *pQuat, const CFLPoint3< float > *pFlp3Pivot=nullptr) override
virtual const CResult Set(const CFLLine3< float > &rhs)
Parameter setting function.
virtual double GetPositionOnLine(const CFLPoint3< T > &flp) const
virtual const CResult Set(const CFLPointArray3< float > &flpa3)
Parameter setting function.
const CFLLine3< T > & operator/=(const double &value)
An operator that divides the x,y,z values of center.
CFLLine3(const Base::TPoint3< float > &tp0, const Base::TPoint3< float > &tp1)
Initializer.
CFLLine3(const CFLPointArray3< float > &flpa3)
Initializer.
CFLLine3(double x0, double y0, double z0, double x1, double y1, double z1)
Initializer.
const CFLLine3< T > & operator-=(const double &value)
Offset operator.
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)
A function that fits the line with the shape most similar to the points.
const CFLLine3< T > & operator+=(const CFLPoint3< double > &flpPoint)
Offset operator.
virtual const CResult Fit(const Base::CFLArray< Base::TPoint3< float > > &flaPoints, int64_t i64OutlierThresholdCount=0, double f64OutlierThreshold=3., Base::CFLArray< int64_t > *pFlaOutlierIndices=nullptr)
A function that fits the line with the shape most similar to the points.
CFLLine3(const Base::TPoint3< float > *pTp0, const Base::TPoint3< float > *pTp1)
Initializer.
const CFLLine3< T > & operator/=(const Base::TPoint3< double > &tpPoint)
An operator that divides the x,y,z values of center.
const CFLLine3< T > & operator/=(const CFLPoint3< double > &flpPoint)
An operator that divides the x,y,z values of center.
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)
Parameter setting function.
CFLLine3(const Base::TLine< float > &rhs)
copy constructor
CFLLine3< T > operator+(const Base::TPoint3< float > &tpPoint) const
Offset operator.
CFLLine3(const CFLPoint3< float > *pFlp0, const CFLPoint3< float > *pFlp1)
Initializer.
virtual void Clear() override
Clear an object's variable.
virtual const CResult GetSamplingPointsOnSegment(double f64SamplingDistance, CFLPointArray3< T > &flpaResult) const
Get point information moving by the set length.
CFLLine3< T > operator-(const CFLPoint3< float > &flpPoint) const
Offset operator.
virtual const CResult Set(const CFLPoint3< float > *pFlp0, const CFLPoint3< float > *pFlp1)
Parameter setting function.
virtual CFLPoint3< T > GetPointOnLine(double f64T) const
Returns the point according to the T value on the straight line.
virtual const CResult Set(const Base::TPoint3< double > &tp0, const Base::TPoint3< double > &tp1)
Parameter setting function.
virtual const CResult Set(const Base::TPoint3< float > *pTp0, const Base::TPoint3< float > *pTp1)
Parameter setting function.
CFLLine3(const Base::TLine< double > *pRhs)
copy constructor
const CFLLine3< T > & operator*=(const double &value)
An operator that multiplies the x,y,z values of center.
virtual const CResult Set(const CFLPointArray3< float > *pFlpa3)
Parameter setting function.
CFLPoint3< float > flpPoints[2]
Definition FLLine3.h:34
const CFLLine3< T > & operator=(const CFLLine3< float > &rhs)
Assignment operator.
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)
A function that fits the line with the shape most similar to the points.
CFLLine3(const Base::TLine3< float > *pRhs)
copy constructor
const CFLLine3< T > & operator+=(const CFLPoint3< float > &flpPoint)
Offset operator.
bool operator!=(const CFLLine3< float > &flsp) const
Comparison operator.
CFLLine3< T > operator-(const CFLPoint3< double > &flpPoint) const
Offset operator.
virtual const CResult GetSamplingPointsOnSegment(double f64SamplingDistance, CFLPointArray3< T > *pFlpaResult) const
Get point information moving by the set length.
const CFLLine3< T > & operator*=(const Base::TPoint3< float > &tpPoint)
An operator that multiplies the x,y,z values of center.
virtual const CResult Set(const Base::TLine< double > &rhs)
Parameter setting function.
CFLLine3< T > operator*(const double &value) const
An operator that multiplies the x,y and z values of center by a parameter.
virtual const CResult Fit(const CFLPointArray3< float > &flpaPoints, int64_t i64OutlierThresholdCount=0, double f64OutlierThreshold=3., Base::CFLArray< int64_t > *pFlaOutlierIndices=nullptr)
A function that fits the line with the shape most similar to the points.
virtual const CResult Set(const Base::TPoint3< double > *pTp0, const Base::TPoint3< double > *pTp1)
Parameter setting function.
CFLLine3< T > operator+(const Base::TPoint3< double > &tpPoint) const
Offset operator.
CFLLine3(const CFLLine3< float > *pRhs)
copy constructor
const CFLLine3< T > & operator*=(const CFLPoint3< float > &flpPoint)
An operator that multiplies the x,y,z values of center.
virtual const CResult Set(float x0, float y0, float z0, float x1, float y1, float z1)
Parameter setting function.
virtual const CResult GetPositionOnLine(const CFLPoint3< T > &flp, double &f64T) const
CFLLine3< T > operator-(const Base::TPoint3< double > &tpPoint) const
Offset operator.
CFLLine3< T > operator/(const CFLPoint3< double > &flpPoint) const
An operator that divides the x,y and z values of center by a parameter.
CFLLine3(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1)
Initializer.
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)
Parameter setting function.
virtual const CResult GetBoundingBox(double &f64MinX, double &f64MinY, double &f64MinZ, double &f64MaxX, double &f64MaxY, double &f64MaxZ) const override
Returns the bounding box (AABB).
CFLLine3(const Base::TLine3< double > *pRhs)
copy constructor
CFLLine3(const CFLPoint3< double > &flp0, const CFLPoint3< double > &flp1)
Initializer.
virtual const CResult Set(const CFLLine3< double > &rhs)
Parameter setting function.
CFLLine3< T > operator*(const Base::TPoint3< float > &tpPoint) const
An operator that multiplies the x,y and z values of center by a parameter.
virtual const CResult GetBoundingBox(float &f32MinX, float &f32MinY, float &f32MinZ, float &f32MaxX, float &f32MaxY, float &f32MaxZ) const override
Returns the bounding box (AABB).
friend CFLLine3< T > operator*(const double &value, const CFLLine3< T > &fll)
An operator that multiplies the x, y, and z values of center.
Definition FLLine3.h:2133
CFLLine3< T > operator-(const Base::TPoint3< float > &tpPoint) const
Offset operator.
CFLLine3(const CFLFigure *pFlf)
Initializer.
CFLLine3(const CFLLine3< float > &rhs)
copy constructor
virtual const CResult Fit(const CFLPointArray3< float > *pFlpaPoints, int64_t i64OutlierThresholdCount=0, double f64OutlierThreshold=3., Base::CFLArray< int64_t > *pFlaOutlierIndices=nullptr)
A function that fits the line with the shape most similar to the points.
const CFLLine3< T > & operator-=(const Base::TPoint3< double > &tpPoint)
Offset operator.
friend CFLLine3< T > operator+(const double &value, const CFLLine3< T > &fll)
Offset operator.
Definition FLLine3.h:2092
virtual const CResult Rotate(const CFLGeometry3DQuaternion< double > *pQuat, const CFLPoint3< double > *pFlp3Pivot=nullptr) override
CFLLine3< T > operator/(const Base::TPoint3< double > &tpPoint) const
An operator that divides the x,y and z values of center by a parameter.
const CFLLine3< T > & operator/=(const Base::TPoint3< float > &tpPoint)
An operator that divides the x,y,z values of center.
virtual const CResult GetCenterOfGravity(double &x, double &y, double &z) const override
Get the center of gravity (geometric center) of the 3D object.
CFLLine3< T > operator+(const CFLPoint3< float > &flpPoint) const
Offset operator.
friend CFLLine3< T > operator-(const double &value, const CFLLine3< T > &fll)
Offset operator.
Definition FLLine3.h:2112
virtual const CResult Set(const CFLPointArray3< double > *pFlpa3)
Parameter setting function.
virtual const CResult Set(const Base::TLine3< float > &rhs)
Parameter setting function.
CFLLine3< T > operator*(const CFLPoint3< double > &flpPoint) const
An operator that multiplies the x,y and z values of center by a parameter.
bool operator!=(const CFLLine3< double > &flsp) const
Comparison operator.
virtual EFigureDeclType GetDeclType() const override
CFLLine3< T > operator-() const
An operator that returns a point with the signs of x, y and z values inverted.
const CFLLine3< T > & operator*=(const CFLPoint3< double > &flpPoint)
An operator that multiplies the x,y,z values of center.
virtual const CResult Fit(const CFLPointArray3< double > *pFlpaPoints, int64_t i64OutlierThresholdCount=0, double f64OutlierThreshold=3., Base::CFLArray< int64_t > *pFlaOutlierIndices=nullptr)
A function that fits the line with the shape most similar to the points.
virtual const CResult Set(const Base::TLine< float > &rhs)
Parameter setting function.
virtual const CResult Set(const CFLPoint3< float > &flp0, const CFLPoint3< float > &flp1)
Parameter setting function.
CFLLine3(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1)
Initializer.
CFLLine3(const CFLPointArray3< float > *pFlpa3)
Initializer.
virtual CFLPoint3< double > GetCenter3D() const override
CFLLine3(const CFLLine3< double > *pRhs)
copy constructor
const CFLLine3< T > & operator-=(const Base::TPoint3< float > &tpPoint)
Offset operator.
const CFLLine3< T > & operator=(const CFLLine3< double > &rhs)
Assignment operator.
virtual CFLPoint< double > GetCenterOfGravity() const override
CFLLine3(const Base::TLine< float > *pRhs)
copy constructor
virtual const CResult Multiply(double x, double y, double z) override
CFLLine3(const CFLLine3< double > &rhs)
copy constructor
virtual const CResult Set(const CFLPoint3< double > &flp0, const CFLPoint3< double > &flp1)
Parameter setting function.
CFLLine3(const Base::TLine3< double > &rhs)
copy constructor
const CFLLine3< T > & operator/=(const CFLPoint3< float > &flpPoint)
An operator that divides the x,y,z values of center.
CFLLine3(float x0, float y0, float z0, float x1, float y1, float z1)
Initializer.
virtual const CResult Transform(const CMatrix< float > *pMatTransform) override
Transforms the object.
virtual const CResult Set(const CFLPoint3< double > *pFlp0, const CFLPoint3< double > *pFlp1)
Parameter setting function.
const CFLLine3< T > & operator+=(const double &value)
Offset operator.
virtual const CResult Set(const Base::TLine< double > *pRhs)
Parameter setting function.
CFLLine3(const CFLFigure &flf)
Initializer.
CFLLine3(const Base::TPoint3< double > *pTp0, const Base::TPoint3< double > *pTp1)
Initializer.
virtual double GetPositionOnLine(const CFLPoint3< T > *pFlp) const
bool operator==(const CFLLine3< double > &flsp) const
Comparison operator.
CFLLine3(const CFLPoint3< double > *pFlp0, const CFLPoint3< double > *pFlp1)
Initializer.
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
An operator that divides the x,y and z values of center by a parameter.
virtual const CResult GetCenterOfVertices(double &x, double &y, double &z) const override
CFLLine3< T > operator*(const CFLPoint3< float > &flpPoint) const
An operator that multiplies the x,y and z values of center by a parameter.
const CFLLine3< T > & operator-=(const CFLPoint3< double > &flpPoint)
Offset operator.
const CFLLine3< T > & operator-=(const CFLPoint3< float > &flpPoint)
Offset operator.
virtual const CResult Set(const Base::TLine3< float > *pRhs)
Parameter setting function.
const CFLLine3< T > & operator*=(const Base::TPoint3< double > &tpPoint)
An operator that multiplies the x,y,z values of center.
virtual const CResult Set(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1)
Parameter setting function.
const CFLLine3< T > & operator+=(const Base::TPoint3< float > &tpPoint)
Offset operator.
CFLLine3< T > operator/(const Base::TPoint3< float > &tpPoint) const
An operator that divides the x,y and z values of center by a parameter.
virtual const CResult Set(const CFLLine3< float > *pRhs)
Parameter setting function.
virtual const CResult GetPositionOnLine(double f64X, double f64Y, double f64Z, double &f64T) const
CFLLine3(const Base::TLine3< float > &rhs)
copy constructor
virtual const CResult Set(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1)
Parameter setting function.
virtual const CResult GetSamplingPointsOnSegment(double f64SamplingDistance, CFLFigureArray &flfaResult) const override
Get point information moving by the set length.
const CFLLine3< T > & operator+=(const Base::TPoint3< double > &tpPoint)
Offset operator.
virtual const CResult GetSamplingPointsOnSegment(double f64SamplingDistance, CFLFigureArray *pFlfaResult) const override
Get point information moving by the set length.
virtual CFLPoint3< T > GetUnitVector() const
Function to get the unit vector of a straight line.
CFLLine3(const CFLPointArray3< double > &flpa3)
Initializer.
CFLLine3(const CFLPointArray3< double > *pFlpa3)
Initializer.
bool operator==(const CFLLine3< float > &flsp) const
Comparison operator.
virtual const CResult Set(const Base::TLine3< double > *pRhs)
Parameter setting function.
virtual const CResult Set(const CFLLine3< double > *pRhs)
Parameter setting function.
CFLLine3(const Base::TPoint3< double > &tp0, const Base::TPoint3< double > &tp1)
Initializer.
CFLLine3< T > operator/(const CFLPoint3< float > &flpPoint) const
An operator that divides the x,y and z values of center by a parameter.
CFLLine3< T > operator*(const Base::TPoint3< double > &tpPoint) const
An operator that multiplies the x,y and z values of center by a parameter.
CFLLine3< T > operator+(const double &value) const
Offset operator.
virtual const CResult Transform(const CMatrix< double > *pMatTransform) override
Transforms the object.
virtual const CResult Fit(const Base::CFLArray< Base::TPoint3< double > > *pFlaPoints, int64_t i64OutlierThresholdCount=0, double f64OutlierThreshold=3., Base::CFLArray< int64_t > *pFlaOutlierIndices=nullptr)
A function that fits the line with the shape most similar to the points.
virtual const CResult Fit(const Base::CFLArray< Base::TPoint3< float > > *pFlaPoints, int64_t i64OutlierThresholdCount=0, double f64OutlierThreshold=3., Base::CFLArray< int64_t > *pFlaOutlierIndices=nullptr)
A function that fits the line with the shape most similar to the points.
CFLLine3(const CFLPoint3< float > &flp0, const CFLPoint3< float > &flp1)
Initializer.
A class representing a 3D point.
Definition FLPoint3.h:40
A base class representing array of 3d point.
Definition FLPointArray3.h:24
A class representing a point.
Definition FLPoint.h:24
A class representing matrix.
Definition Matrix.h:79
Definition AlgorithmBase.h:16
EFigureDeclType
Declare type of figure.
Definition DefinitionsFigure.h:33
EFigureTemplateType
Template type of figure.
Definition DefinitionsFigure.h:423
EFigureSpecCompareType
Definition DefinitionsFigure.h:3579
@ EFigureSpecCompareType_Coordinates
Definition DefinitionsFigure.h:3584