391 virtual const CResult Set(
double x,
double y,
double z,
double r);
412 virtual const CResult Set(
float x,
float y,
float z,
float r);
433 virtual const CResult Set(int64_t x, int64_t y, int64_t z, int64_t r);
454 virtual const CResult Set(int32_t x, int32_t y, int32_t z, int32_t r);
1960 virtual const CResult Scale(
double f64PivotX,
double f64PivotY,
double f64PivotZ,
double f64ScaleX,
double f64ScaleY,
double f64ScaleZ)
override;
1967 virtual const CResult GetBoundingBox(
double& f64MinX,
double& f64MinY,
double& f64MinZ,
double& f64MaxX,
double& f64MaxY,
double& f64MaxZ)
const override;
1968 virtual const CResult GetBoundingBox(
float& f32MinX,
float& f32MinY,
float& f32MinZ,
float& f32MaxX,
float& f32MaxY,
float& f32MaxZ)
const override;
1977 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
A class representing quaternion.
Definition FLGeometry3DQuaternion.h:30
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 sphere.
Definition FLSphere3.h:25
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< double > > &flaVertices, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
Returns an array of indices of vertices located inside this object.
CFLSphere3< T > operator*(const Base::TPoint3< double > &tpPoint) const
An operator that multiplies the x,y and z values of center by a parameter.
const CFLSphere3< T > & operator+=(const Base::TPoint3< float > &tpPoint)
Offset operator.
virtual const CResult GetCenter(double &x, double &y, double &z) const override
CFLSphere3< T > operator/(const Base::TPoint3< double > &tpPoint) const
An operator that divides the x,y and z values of center by a parameter.
virtual bool Contains(const Base::TPoint3< double > *pTp3) const
Returns whether the vertex is inside this object.
CFLSphere3< T > operator-(const Base::TPoint3< float > &tpPoint) const
Offset operator.
virtual CFLPoint< double > GetCenter() const override
CFLSphere3< T > operator*(const CFLPoint3< float > &flpPoint) const
An operator that multiplies the x,y and z values of center by a parameter.
CFLSphere3< T > operator/(const CFLPoint3< double > &flpPoint) const
An operator that divides the x,y and z values of center by a parameter.
virtual const CResult Scale(double f64PivotX, double f64PivotY, double f64PivotZ, double f64ScaleX, double f64ScaleY, double f64ScaleZ) override
friend CFLSphere3< T > operator-(const double &value, const CFLSphere3< T > &flsp)
Offset operator.
Definition FLSphere3.h:1594
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 sphere with the shape most similar to the points.
bool operator==(const CFLSphere3< double > &flsp) const
Comparison operator.
CFLSphere3(const CFLPoint3< double > &flpCenter, double f64Radius)
Initializer.
virtual const CResult Transform(const CMatrix< float > *pMatTransform) override
Transforms the object.
virtual bool Contains(const CFLPoint3< float > *pFlp3) const
Returns whether the vertex is inside this object.
virtual const CResult Rotate(const CFLGeometry3DQuaternion< double > *pQuat, const CFLPoint3< double > *pFlp3Pivot=nullptr) override
const CFLSphere3< T > & operator+=(const CFLPoint3< double > &flpPoint)
Offset operator.
CFLSphere3< T > operator+(const Base::TPoint3< double > &tpPoint) const
Offset operator.
virtual CFLPoint3< double > GetCenterOfGravity3D() const override
virtual bool Contains(const Base::TPoint3< float > &tp3) const
Returns whether the vertex is inside this object.
virtual const CResult Set(int64_t x, int64_t y, int64_t z, int64_t r)
Parameter setting function.
CFLSphere3< T > operator+(const CFLPoint3< double > &flpPoint) const
Offset operator.
CFLSphere3(const CFLPoint3< double > *pFlpCenter, double f64Radius)
Initializer.
virtual const CResult Set(const CFLSphere3< double > *pFlsp)
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).
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
Returns an array of indices of vertices located inside this object.
virtual const CResult Offset(double x, double y, double z) override
CFLSphere3(const CFLFigure *pFlf)
Initializer.
CFLSphere3(const Base::TPoint3< float > &tpCenter, double f64Radius)
Initializer.
virtual double GetArea() const override
CFLSphere3(double x, double y, double z, double r)
Initializer.
CFLSphere3(const CFLSphere3< double > *pRhs)
copy constructor
virtual CFLPoint< double > GetCenterOfGravity() const override
friend CFLSphere3< T > operator/(const double &value, const CFLSphere3< T > &flsp)
An operator that divides the x, y, z values of center into parameters.
Definition FLSphere3.h:1635
virtual const CResult Set(float x, float y, float z, float r)
Parameter setting function.
CFLSphere3(int32_t x, int32_t y, int32_t z, int32_t r)
Initializer.
virtual const CResult GetCenterOfGravity(double &x, double &y, double &z) const override
Get the center of gravity (geometric center) of the 3D object.
CFLSphere3(const CFLFigure &flf)
Initializer.
const CFLSphere3< T > & operator/=(const Base::TPoint3< float > &tpPoint)
An operator that divides the x,y,z values of center.
CFLSphere3< T > operator/(const double &value) const
An operator that divides the x,y and z values of center by a parameter.
CFLSphere3(const CFLSphere3< float > *pRhs)
copy constructor
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< float > > &flaVertices, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
Returns an array of indices of vertices located inside this object.
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 sphere with the shape most similar to the points.
virtual bool Contains(const Base::TPoint3< float > *pTp3) const
Returns whether the vertex is inside this object.
CFLSphere3< T > operator-(const double &value) const
Offset operator.
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 sphere with the shape most similar to the points.
virtual const CResult Set(const Base::TPoint3< double > &tpCenter, double f64Radius)
Parameter setting function.
virtual const CResult GetBoundingBox(float &f32MinX, float &f32MinY, float &f32MinZ, float &f32MaxX, float &f32MaxY, float &f32MaxZ) const override
Returns the bounding box (AABB).
virtual bool Contains(const Base::TPoint3< double > &tp3) const
Returns whether the vertex is inside this object.
const CFLSphere3< T > & operator*=(const CFLPoint3< double > &flpPoint)
An operator that multiplies the x,y,z values of center.
float radius
Definition FLSphere3.h:40
CFLSphere3(const Base::TPoint3< double > &tpCenter, double f64Radius)
Initializer.
virtual const CResult Swap(CFLFigure *pFlfRight) override
CFLSphere3< 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 sphere with the shape most similar to the points.
virtual EFigureDeclType GetDeclType() const override
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
Returns an array of indices of vertices located inside this object.
friend CFLSphere3< T > operator+(const double &value, const CFLSphere3< T > &flsp)
Offset operator.
Definition FLSphere3.h:1574
virtual bool Contains(const CFLPoint3< double > &flp3) const
Returns whether the vertex is inside this object.
const CFLSphere3< T > & operator=(const CFLSphere3< double > &rhs)
Assignment operator.
CFLSphere3(const CFLSphere3< float > &rhs)
copy constructor
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
Returns an array of indices of vertices located inside this object.
CFLSphere3(const Base::TPoint3< float > *pTpCenter, double f64Radius)
Initializer.
virtual const CResult Set(const CFLSphere3< float > &flsp)
Parameter setting function.
CFLSphere3(int64_t x, int64_t y, int64_t z, int64_t r)
Initializer.
virtual const CResult GetCenterOfVertices(double &x, double &y, double &z) const override
CFLSphere3< T > operator+(const Base::TPoint3< float > &tpPoint) const
Offset operator.
virtual const CResult Set(const Base::TPoint3< float > *pTpCenter, double f64Radius)
Parameter setting function.
const CFLSphere3< T > & operator+=(const double &value)
Offset operator.
virtual const CResult SetRadius(T tRadius)
Function to set radius of sphere.
virtual bool Contains(const CFLPoint3< float > &flp3) const
Returns whether the vertex is inside this object.
bool operator!=(const CFLSphere3< double > &flsp) const
Comparison operator.
virtual const CResult Set(const CFLPoint3< double > &flpCenter, double f64Radius)
Parameter setting function.
virtual const CResult Set(const CFLPoint3< double > *pFlpCenter, double f64Radius)
Parameter setting function.
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 sphere with the shape most similar to the points.
CFLSphere3< T > operator/(const CFLPoint3< float > &flpPoint) const
An operator that divides the x,y and z values of center by a parameter.
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< double > > *pFlaVertices, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
Returns an array of indices of vertices located inside this object.
bool operator==(const CFLSphere3< float > &flsp) const
Comparison operator.
CFLSphere3< T > operator-(const CFLPoint3< float > &flpPoint) const
Offset operator.
virtual const CResult Transform(const CMatrix< double > *pMatTransform) override
Transforms the object.
virtual const CResult Set(int32_t x, int32_t y, int32_t z, int32_t r)
Parameter setting function.
virtual const CResult Multiply(double x, double y, double z) override
virtual const CResult Set(const CFLSphere3< double > &flsp)
Parameter setting function.
const CFLSphere3< T > & operator/=(const double &value)
An operator that divides the x,y,z values of center.
virtual const CResult Set(const CFLSphere3< float > *pFlsp)
Parameter setting function.
CFLSphere3< T > operator-(const Base::TPoint3< double > &tpPoint) const
Offset operator.
const CFLSphere3< T > & operator/=(const CFLPoint3< double > &flpPoint)
An operator that divides the x,y,z values of center.
const CFLSphere3< T > & operator-=(const Base::TPoint3< double > &tpPoint)
Offset operator.
virtual bool Contains(const CFLPoint3< double > *pFlp3) const
Returns whether the vertex is inside this object.
const CFLSphere3< T > & operator*=(const CFLPoint3< float > &flpPoint)
An operator that multiplies the x,y,z values of center.
virtual double GetVolume() const override
CFLSphere3(const CFLPoint3< float > &flpCenter, double f64Radius)
Initializer.
const CFLSphere3< T > & operator=(const CFLSphere3< float > &rhs)
Assignment operator.
virtual const CResult Set(const CFLPoint3< float > &flpCenter, double f64Radius)
Parameter setting function.
const CFLSphere3< T > & operator-=(const CFLPoint3< float > &flpPoint)
Offset operator.
virtual CFLPoint3< double > GetCenter3D() const override
const CFLSphere3< T > & operator+=(const CFLPoint3< float > &flpPoint)
Offset operator.
CFLSphere3< 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 Contains(const Base::CFLArray< Base::TPoint3< double > > *pFlaVertices, const Base::CFLArray< int32_t > &flaTargetIndex, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
Returns an array of indices of vertices located inside this object.
const CFLSphere3< T > & operator-=(const CFLPoint3< double > &flpPoint)
Offset operator.
virtual T GetRadius() const
Function to get the radius.
virtual const CResult Set(const CFLPoint3< float > *pFlpCenter, double f64Radius)
Parameter setting function.
const CFLSphere3< T > & operator-=(const double &value)
Offset operator.
const CFLSphere3< T > & operator/=(const CFLPoint3< float > &flpPoint)
An operator that divides the x,y,z values of center.
const CFLSphere3< T > & operator+=(const Base::TPoint3< double > &tpPoint)
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 sphere with the shape most similar to the points.
CFLSphere3< T > operator+(const CFLPoint3< float > &flpPoint) const
Offset operator.
CFLSphere3< 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 Base::TPoint3< float > &tpCenter, double f64Radius)
Parameter setting function.
bool operator!=(const CFLSphere3< float > &flsp) const
Comparison operator.
CFLSphere3< T > operator-() const
An operator that returns a point with the signs of x, y and z values inverted.
virtual const CResult Set(double x, double y, double z, double r)
Parameter setting function.
virtual const CResult Set(const CFLFigure &flf) override
const CFLSphere3< T > & operator/=(const Base::TPoint3< double > &tpPoint)
An operator that divides the x,y,z values of center.
virtual const CResult Set(const CFLFigure *pFlf) override
const CFLSphere3< T > & operator*=(const double &value)
An operator that multiplies the x,y,z values of center.
CFLSphere3(const CFLPoint3< float > *pFlpCenter, double f64Radius)
Initializer.
CFLSphere3(float x, float y, float z, float r)
Initializer.
virtual EFigureTemplateType GetTemplateType() const override
const CFLSphere3< T > & operator-=(const Base::TPoint3< float > &tpPoint)
Offset operator.
virtual void Clear() override
Clear an object's variable.
CFLSphere3< T > operator-(const CFLPoint3< double > &flpPoint) const
Offset operator.
CFLPoint3< float > flpCenter
Definition FLSphere3.h:31
CFLSphere3< T > operator*(const double &value) const
An operator that multiplies the x,y and z values of center by a parameter.
virtual const CResult Set(const Base::TPoint3< double > *pTpCenter, double f64Radius)
Parameter setting function.
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 sphere with the shape most similar to the points.
CFLSphere3< T > operator*(const CFLPoint3< double > &flpPoint) const
An operator that multiplies the x,y and z values of center by a parameter.
virtual CFLPoint3< double > GetCenterOfVertices3D() const override
virtual const CResult Contains(const Base::CFLArray< Base::TPoint3< float > > *pFlaVertices, Base::CFLArray< int32_t > &flaResult, bool bClearResult=true) const
Returns an array of indices of vertices located inside this object.
virtual const CResult Rotate(const CFLGeometry3DQuaternion< float > *pQuat, const CFLPoint3< float > *pFlp3Pivot=nullptr) override
CFLSphere3(const CFLSphere3< double > &rhs)
copy constructor
friend CFLSphere3< T > operator*(const double &value, const CFLSphere3< T > &flsp)
An operator that multiplies the x, y, and z values of center.
Definition FLSphere3.h:1615
virtual bool IsSpecEqual(const CFLFigure *pFlfRhs, EFigureSpecCompareType eSpecType=EFigureSpecCompareType_Coordinates) const override
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 sphere with the shape most similar to the points.
CFLSphere3(const Base::TPoint3< double > *pTpCenter, double f64Radius)
Initializer.
virtual const CResult GetRadius(T &tRadius) const
Get radius.
const CFLSphere3< T > & operator*=(const Base::TPoint3< float > &tpPoint)
An operator that multiplies the x,y,z values of center.
const CFLSphere3< T > & operator*=(const Base::TPoint3< double > &tpPoint)
An operator that multiplies the x,y,z values of center.
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