1160 t.
SetCenter((
double)value, (
double)value, (
double)value);
1161 t.
Multiply((
double)flp3CenterRhs.
x ? 1. / (
double)flp3CenterRhs.
x : 1.);
1182 t.
SetCenter((
double)value, (
double)value, (
double)value);
1183 t.
Multiply((
double)flp3CenterRhs.
x ? 1. / (
double)flp3CenterRhs.
x : 1.);
1205 t.
Multiply((
double)flp3CenterRhs.
x ? 1. / (
double)flp3CenterRhs.
x : 1.);
1227 t.
Multiply((
double)flp3CenterRhs.
x ? 1. / (
double)flp3CenterRhs.
x : 1.);
1997 virtual const CResult Scale(
double f64PivotX,
double f64PivotY,
double f64PivotZ,
double f64ScaleX,
double f64ScaleY,
double f64ScaleZ)
override;
2004 virtual const CResult GetBoundingBox(
double& f64MinX,
double& f64MinY,
double& f64MinZ,
double& f64MaxX,
double& f64MaxY,
double& f64MaxZ)
const override;
2005 virtual const CResult GetBoundingBox(
float& f32MinX,
float& f32MinY,
float& f32MinZ,
float& f32MaxX,
float& f32MaxY,
float& f32MaxZ)
const override;
2014 DeclareGetClassType();
Template type array class.
Definition FLArray.h:71
Simplified class representing a 3-D point.
Definition TPoint3.h:37
FLImaging module execution result object.
Definition ResultsDef.h:1704
Represents a circle in 3D space.
Definition FLCircle3.h:26
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 circle with the shape most similar to the points.
virtual const CResult Set(const Base::CFLArray< Base::TPoint3< float > > *pFlaPoints)
Parameter setting function.
const CFLCircle3< T > & operator*=(const Base::TPoint3< float > &tpPoint)
An operator that multiplies the x,y,z values of the center point of the circle by a parameter.
const CFLCircle3< T > & operator-=(const Base::TPoint3< float > &tpPoint)
Offset operator.
virtual CFLPoint3< double > GetCenter3D() const override
virtual const CResult GetCenterOfGravity(double &x, double &y, double &z) const override
Get the center of gravity (geometric center) of the 3D object.
friend CFLCircle3< double > operator+(const double &value, const CFLCircle3< T > &circle)
Offset operator.
Definition FLCircle3.h:972
virtual const CResult SetNormalVector(const CFLPoint3< T > *pFlpNormal)
Sets the normal vector of the plane to which the circle belongs.
CFLCircle3(const CFLFigure &flf)
As an initialization constructor, call the Set() function for the DeclType of CFLFigure& flf .
virtual const CResult Set(const CFLFigure *pFlf) override
Sets this circle from a figure according to its declaration type.
CFLCircle3(const CFLPointArray3< double > &flpa3)
Initializer.
virtual void Clear() override
Clears the circle data to its default state.
virtual const CResult SetCenter(double x, double y, double z)
Sets the center coordinates of the circle.
virtual const CResult GetNormalVector(CFLPoint3< T > *pFlpNormal) const
Gets the normal vector of the plane to which the circle belongs.
const CFLCircle3< T > & operator-=(const Base::TPoint3< double > &tpPoint)
Offset operator.
virtual CFLPoint< double > GetCenter() const override
friend CFLCircle3< double > operator-(const float &value, const CFLCircle3< T > &circle)
Offset operator.
Definition FLCircle3.h:1034
const CFLCircle3< T > & operator-=(const CFLPoint3< float > &flpPoint)
Offset operator.
friend CFLCircle3< double > operator/(const float &value, const CFLCircle3< T > &circle)
division operation
Definition FLCircle3.h:1200
virtual const CResult GetNormalVector(T &x, T &y, T &z) const
Gets the normal vector of the plane to which the circle belongs.
virtual const CResult Set(const CFLPoint3< T > &flpCenter, double f64Radius, const CFLPoint3< T > &flpNormal)
Sets the radius, center point, and normal vector of the circle.
CFLCircle3< T > operator-(const double &value) const
Offset operator.
virtual const CResult Set(const CFLPoint3< T > *pFlpCenter, double f64Radius, const CFLPoint3< T > *pFlpNormal)
Sets the radius, center point, and normal vector of the circle.
CFLCircle3(const CFLPointArray3< double > *pFlpa3)
Initializer.
CFLCircle3< T > operator-(const CFLPoint3< double > &flpPoint) const
Offset operator.
const CFLCircle3< T > & operator-=(const double &value)
Offset operator.
CFLPoint3< float > flpNormal
Definition FLCircle3.h:38
CFLCircle3< T > operator+(const Base::TPoint3< float > &tpPoint) const
Offset operator.
const CFLCircle3< T > & operator=(const CFLCircle3< double > &flc3)
Assignment operator.
const CFLCircle3< T > & operator+=(const double &value)
Offset operator.
CFLCircle3< T > operator*(const CFLPoint3< double > &flpPoint) const
An operator that multiplies the x,y and z values of the center point of the circle by a parameter.
virtual const CResult SetNormalVector(T x, T y, T z)
Sets the normal vector of the plane to which the circle belongs.
virtual const CResult SetCenter(float x, float y, float z)
Sets the center coordinates of the circle.
CFLCircle3< T > operator+(const Base::TPoint3< double > &tpPoint) const
Offset operator.
CFLCircle3< T > operator/(const CFLPoint3< double > &flpPoint) const
An operator that divides the x,y and z values of the center point of the circle by a parameter.
CFLCircle3(const Base::CFLArray< Base::TPoint3< double > > &flaPoints)
Initializer.
friend CFLCircle3< double > operator/(const int32_t &value, const CFLCircle3< T > &circle)
division operation
Definition FLCircle3.h:1156
virtual const CResult Set(const CFLPointArray3< double > &flpa3)
Parameter setting function.
virtual const CResult SetRadius(T tRadius)
Function to set radius of circle.
CFLCircle3(const CFLCircle3< double > &flc3)
copy constructor
CFLCircle3< T > operator*(const CFLPoint3< float > &flpPoint) const
An operator that multiplies the x,y and z values of the center point of the circle by a parameter.
friend CFLCircle3< double > operator+(const int32_t &value, const CFLCircle3< T > &circle)
Offset operator.
Definition FLCircle3.h:912
const CFLCircle3< T > & operator+=(const CFLPoint3< float > &flpPoint)
Offset operator.
float radius
Definition FLCircle3.h:47
const CFLCircle3< T > & operator/=(const double &value)
An operator that divides the x,y,z values of the center point of the circle by a parameter.
virtual const CResult Transform(const CMatrix< double > *pMatTransform) override
Transforms the object.
friend CFLCircle3< double > operator+(const float &value, const CFLCircle3< T > &circle)
Offset operator.
Definition FLCircle3.h:952
virtual const CResult Set(const Base::CFLArray< Base::TPoint3< float > > &flaPoints)
Parameter setting function.
friend CFLCircle3< double > operator*(const float &value, const CFLCircle3< T > &circle)
product operation
Definition FLCircle3.h:1116
CFLCircle3(const CFLPoint3< T > *pFlpCenter, double f64Radius, const CFLPoint3< T > *pFlpNormal)
Constructs a circle with the given radius, center point, and normal vector.
CFLCircle3(const CFLCircle3< float > *pFlc3)
copy constructor
CFLCircle3< T > operator-(const Base::TPoint3< float > &tpPoint) const
Offset operator.
friend CFLCircle3< double > operator/(const int64_t &value, const CFLCircle3< T > &circle)
division operation
Definition FLCircle3.h:1178
CFLCircle3(const CFLCircle3< float > &flc3)
copy constructor
virtual const CResult Multiply(double x, double y, double z) override
const CFLCircle3< T > & operator/=(const Base::TPoint3< float > &tpPoint)
An operator that divides the x,y,z values of the center point of the circle by a parameter.
const CFLCircle3< T > & operator=(const CFLCircle3< float > &flc3)
Assignment operator.
friend CFLCircle3< double > operator-(const int64_t &value, const CFLCircle3< T > &circle)
Offset operator.
Definition FLCircle3.h:1013
const CFLCircle3< T > & operator/=(const CFLPoint3< float > &flpPoint)
An operator that divides the x,y,z values of the center point of the circle by a parameter.
virtual T GetRadius() const
Function to get the radius.
virtual const CResult Offset(double x, double y, double z) override
CFLCircle3< T > operator/(const double &value) const
An operator that divides the x,y and z values of the center point of the circle by a parameter.
virtual const CResult GetNormalVector(CFLPoint3< T > &flpNormal) const
Gets the normal vector of the plane to which the circle belongs.
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 circle with the shape most similar to the points.
friend CFLCircle3< double > operator/(const double &value, const CFLCircle3< T > &circle)
division operation
Definition FLCircle3.h:1222
CFLCircle3< T > operator*(const double &value) const
An operator that multiplies the x,y and z values of the center point of the circle by a parameter.
friend CFLCircle3< double > operator+(const int64_t &value, const CFLCircle3< T > &circle)
Offset operator.
Definition FLCircle3.h:932
friend CFLCircle3< double > operator*(const int32_t &value, const CFLCircle3< T > &circle)
product operation
Definition FLCircle3.h:1076
virtual bool IsSpecEqual(const CFLFigure *pFlfRhs, EFigureSpecCompareType eSpecType=EFigureSpecCompareType_Coordinates) const override
Compare the specification of this circle with another figure.
friend CFLCircle3< double > operator*(const double &value, const CFLCircle3< T > &circle)
product operation
Definition FLCircle3.h:1136
virtual const CResult SetNormalVector(const CFLPoint3< T > &flpNormal)
Sets the normal vector of the plane to which the circle belongs.
CFLPoint3< float > flpCenter
Definition FLCircle3.h:32
const CFLCircle3< T > & operator*=(const double &value)
An operator that multiplies the x,y,z values of the center point of the circle by a parameter.
virtual const CResult Scale(double f64PivotX, double f64PivotY, double f64PivotZ, double f64ScaleX, double f64ScaleY, double f64ScaleZ) override
virtual CFLPoint3< double > GetCenterOfGravity3D() const override
const CFLCircle3< T > & operator*=(const Base::TPoint3< double > &tpPoint)
An operator that multiplies the x,y,z values of the center point of the circle by a parameter.
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 circle with the shape most similar to the points.
friend CFLCircle3< double > operator-(const int32_t &value, const CFLCircle3< T > &circle)
Offset operator.
Definition FLCircle3.h:992
CFLCircle3< T > operator/(const CFLPoint3< float > &flpPoint) const
An operator that divides the x,y and z values of the center point of the circle by a parameter.
friend CFLCircle3< double > operator-(const double &value, const CFLCircle3< T > &circle)
Offset operator.
Definition FLCircle3.h:1055
CFLCircle3< T > operator*(const Base::TPoint3< double > &tpPoint) const
An operator that multiplies the x,y and z values of the center point of the circle by a parameter.
friend CFLCircle3< double > operator*(const int64_t &value, const CFLCircle3< T > &circle)
product operation
Definition FLCircle3.h:1096
virtual const CResult Set(const CFLCircle3< float > &flc3)
Sets this circle to have the same radius and local coordinate system as another circle.
virtual const CResult Swap(CFLFigure *pFlfRight) override
Swap the data of this circle with another figure.
const CFLCircle3< T > & operator*=(const CFLPoint3< float > &flpPoint)
An operator that multiplies the x,y,z values of the center point of the circle by a parameter.
virtual const CResult GetCenterOfVertices(double &x, double &y, double &z) const override
virtual const CResult Set(const CFLCircle3< double > *pFlc3)
Sets this circle to have the same radius and local coordinate system as another circle.
const CFLCircle3< T > & operator*=(const CFLPoint3< double > &flpPoint)
An operator that multiplies the x,y,z values of the center point of the circle by a parameter.
CFLCircle3(const CFLPoint3< T > &flpCenter, double f64Radius, const CFLPoint3< T > &flpNormal)
Constructs a circle with the given radius, center point, and normal vector.
const CFLCircle3< T > & operator/=(const CFLPoint3< double > &flpPoint)
An operator that divides the x,y,z values of the center point of the circle by a parameter.
virtual CFLPoint3< double > GetCenterOfVertices3D() const override
CFLCircle3< T > operator+(const CFLPoint3< double > &flpPoint) const
Offset operator.
virtual const CResult Transform(const CMatrix< float > *pMatTransform) override
Transforms the object.
virtual CFLPoint< double > GetCenterOfGravity() const override
virtual const CResult GetCenter(double &x, double &y, double &z) const override
CFLCircle3< T > operator+(const CFLPoint3< float > &flpPoint) const
Offset operator.
virtual const CResult Rotate(const CFLGeometry3DQuaternion< double > *pQuat, const CFLPoint3< double > *pFlp3Pivot=nullptr) override
CFLCircle3(const Base::CFLArray< Base::TPoint3< float > > *pFlaPoints)
Initializer.
const CFLCircle3< T > & operator-=(const CFLPoint3< double > &flpPoint)
Offset operator.
const CFLCircle3< T > & operator+=(const Base::TPoint3< float > &tpPoint)
Offset operator.
CFLCircle3< T > operator*(const Base::TPoint3< float > &tpPoint) const
An operator that multiplies the x,y and z values of the center point of the circle 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).
CFLCircle3< T > operator+(const double &value) const
Offset operator.
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 circle with the shape most similar to the points.
virtual const CResult Set(const CFLCircle3< double > &flc3)
Sets this circle to have the same radius and local coordinate system as another circle.
CFLCircle3(const Base::CFLArray< Base::TPoint3< double > > *pFlaPoints)
Initializer.
virtual double GetPerimeter() const override
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 circle with the shape most similar to the points.
virtual const CResult Set(const CFLPointArray3< float > &flpa3)
Parameter setting function.
const CFLCircle3< T > & operator+=(const Base::TPoint3< double > &tpPoint)
Offset operator.
virtual const CResult Set(const CFLPointArray3< float > *pFlpa3)
Parameter setting function.
CFLCircle3(const CFLPointArray3< float > &flpa3)
Initializer.
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 circle with the shape most similar to the points.
const CFLCircle3< T > & operator+=(const CFLPoint3< double > &flpPoint)
Offset operator.
CFLCircle3(const CFLFigure *pFlf)
As an initialization constructor, call the Set() function for the DeclType of CFLFigure& flf .
const CFLCircle3< T > & operator/=(const Base::TPoint3< double > &tpPoint)
An operator that divides the x,y,z values of the center point of the circle by a parameter.
virtual EFigureDeclType GetDeclType() const override
Get the figure declaration type.
virtual const CResult Rotate(const CFLGeometry3DQuaternion< float > *pQuat, const CFLPoint3< float > *pFlp3Pivot=nullptr) override
CFLCircle3< T > operator/(const Base::TPoint3< double > &tpPoint) const
An operator that divides the x,y and z values of the center point of the circle by a parameter.
CFLCircle3(const CFLCircle3< double > *pFlc3)
copy constructor
virtual const CResult Set(const CFLFigure &flf) override
Sets this circle from a figure according to its declaration type.
virtual const CResult Set(const CFLPointArray3< double > *pFlpa3)
Parameter setting function.
CFLCircle3< T > operator/(const Base::TPoint3< float > &tpPoint) const
An operator that divides the x,y and z values of the center point of the circle by a parameter.
virtual const CResult Set(const Base::CFLArray< Base::TPoint3< double > > &flaPoints)
Parameter setting function.
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 circle with the shape most similar to the points.
CFLCircle3< T > operator-(const Base::TPoint3< double > &tpPoint) const
Offset operator.
virtual const CResult GetBoundingBox(double &f64MinX, double &f64MinY, double &f64MinZ, double &f64MaxX, double &f64MaxY, double &f64MaxZ) const override
Returns the bounding box (AABB).
CFLCircle3< T > operator-() const
An operator that returns a point with the signs of x, y and z values inverted.
CFLCircle3< T > operator-(const CFLPoint3< float > &flpPoint) const
Offset operator.
CFLCircle3(const Base::CFLArray< Base::TPoint3< float > > &flaPoints)
Initializer.
virtual const CResult GetRadius(T &tRadius) const
Get radius.
CFLCircle3(const CFLPointArray3< float > *pFlpa3)
Initializer.
virtual double GetArea() const override
virtual const CResult Set(const CFLCircle3< float > *pFlc3)
Sets this circle to have the same radius and local coordinate system as another circle.
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 circle with the shape most similar to the points.
virtual const CResult Set(const Base::CFLArray< Base::TPoint3< double > > *pFlaPoints)
Parameter setting function.
virtual EFigureTemplateType GetTemplateType() const override
Get the figure template type.
A class representing quaternion.
Definition FLGeometry3DQuaternion.h:30
A class representing a 3D point.
Definition FLPoint3.h:40
Ty x
Definition FLPoint3.h:46
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