70 CFLTriangle3(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1, int32_t x2, int32_t y2, int32_t z2);
97 CFLTriangle3(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1, int64_t x2, int64_t y2, int64_t z2);
124 CFLTriangle3(
float x0,
float y0,
float z0,
float x1,
float y1,
float z1,
float x2,
float y2,
float z2);
151 CFLTriangle3(
double x0,
double y0,
double z0,
double x1,
double y1,
double z1,
double x2,
double y2,
double z2);
1182 virtual const CResult Set(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1, int32_t x2, int32_t y2, int32_t z2);
1213 virtual const CResult Set(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1, int64_t x2, int64_t y2, int64_t z2);
1244 virtual const CResult Set(
float x0,
float y0,
float z0,
float x1,
float y1,
float z1,
float x2,
float y2,
float z2);
1275 virtual const CResult Set(
double x0,
double y0,
double z0,
double x1,
double y1,
double z1,
double x2,
double y2,
double z2);
1604 virtual const CResult Scale(
double f64PivotX,
double f64PivotY,
double f64PivotZ,
double f64ScaleX,
double f64ScaleY,
double f64ScaleZ)
override;
1611 virtual const CResult GetBoundingBox(
double& f64MinX,
double& f64MinY,
double& f64MinZ,
double& f64MaxX,
double& f64MaxY,
double& f64MaxZ)
const override;
1612 virtual const CResult GetBoundingBox(
float& f32MinX,
float& f32MinY,
float& f32MinZ,
float& f32MaxX,
float& f32MaxY,
float& f32MaxZ)
const override;
1636 DeclareGetClassType();
Simplified class representing a 3-D point.
Definition TPoint3.h:37
Simplified class representing a triangle.
Definition TTriangle3.h:38
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
Ty z
Definition FLPoint3.h:58
Ty x
Definition FLPoint3.h:46
Ty y
Definition FLPoint3.h:52
A class representing a point.
Definition FLPoint.h:24
A class representing a 3D triangle.
Definition FLTriangle3.h:25
const CFLTriangle3< T > & operator/=(const CFLPoint3< float > &flpPoint)
An operator that divides the x,y,z values of each vertex of a triangle by a parameter.
virtual const CResult GetBoundingBox(double &f64MinX, double &f64MinY, double &f64MinZ, double &f64MaxX, double &f64MaxY, double &f64MaxZ) const override
Returns the bounding box (AABB).
CFLTriangle3< T > operator-(const CFLPoint3< double > &flpPoint) const
Offset operator.
const CFLTriangle3< T > & operator-=(const CFLPoint3< double > &flpPoint)
Offset operator.
virtual const CResult Set(const CFLTriangle3< float > &fltTri)
Parameter setting function.
virtual const CResult Set(const Base::TTriangle3< float > *pTt)
Parameter setting function.
virtual const CResult Scale(double f64PivotX, double f64PivotY, double f64PivotZ, double f64ScaleX, double f64ScaleY, double f64ScaleZ) override
const CFLTriangle3< T > & operator*=(const CFLPoint3< float > &flpPoint)
An operator that multiplies the x,y,z values of each vertex of a triangle by a parameter.
CFLTriangle3(const Base::TTriangle3< float > *pTt)
initialization constructor
const CFLTriangle3< T > & operator-=(const double &value)
Offset operator.
CFLTriangle3< T > operator/(const double &value) const
An operator that divides the x,y and z values of each vertex of the triangle by a parameter.
virtual const CResult Set(const CFLPoint3< float > &flpPoint0, const CFLPoint3< float > &flpPoint1, const CFLPoint3< float > &flpPoint2)
Parameter setting function.
CFLTriangle3(const CFLTriangle3< double > &fltTri)
copy constructor
CFLTriangle3(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1, int64_t x2, int64_t y2, int64_t z2)
initialization constructor
virtual const CResult Transform(const CMatrix< double > *pMatTransform) override
Transforms the object.
CFLTriangle3< T > operator*(const CFLPoint3< double > &flpPoint) const
An operator that multiplies the x,y and z values of each vertex of the triangle by a parameter.
CFLTriangle3(const CFLPoint3< float > &flpPoint0, const CFLPoint3< float > &flpPoint1, const CFLPoint3< float > &flpPoint2)
initialization constructor
virtual const CResult Set(double x0, double y0, double z0, double x1, double y1, double z1, double x2, double y2, double z2)
Parameter setting function.
const CFLTriangle3< T > & operator+=(const Base::TPoint3< double > &tpPoint)
Offset operator.
virtual const CResult Set(const Base::TPoint3< double > *pTpPoint0, const Base::TPoint3< double > *pTpPoint1, const Base::TPoint3< double > *pTpPoint2)
Parameter setting function.
const CFLTriangle3< T > & operator/=(const double &value)
An operator that divides the x,y,z values of each vertex of a triangle by a parameter.
virtual const CResult Set(const Base::TPoint3< double > &tpPoint0, const Base::TPoint3< double > &tpPoint1, const Base::TPoint3< double > &tpPoint2)
Parameter setting function.
CFLTriangle3(const Base::TTriangle3< double > *pTt)
initialization constructor
CFLTriangle3(const CFLPoint3< double > *pFlpPoint0, const CFLPoint3< double > *pFlpPoint1, const CFLPoint3< double > *pFlpPoint2)
initialization constructor
virtual EFigureTemplateType GetTemplateType() const override
CFLTriangle3< T > operator-(const Base::TPoint3< double > &tpPoint) const
Offset operator.
virtual const CResult Set(int64_t x0, int64_t y0, int64_t z0, int64_t x1, int64_t y1, int64_t z1, int64_t x2, int64_t y2, int64_t z2)
Parameter setting function.
virtual const CResult ReverseSequence() override
Function to reverse the sequence.
virtual const CResult Set(const CFLPoint3< double > &flpPoint0, const CFLPoint3< double > &flpPoint1, const CFLPoint3< double > &flpPoint2)
Parameter setting function.
CFLTriangle3< T > operator+(const CFLPoint3< float > &flpPoint) const
Offset operator.
virtual const CResult Set(float x0, float y0, float z0, float x1, float y1, float z1, float x2, float y2, float z2)
Parameter setting function.
CFLTriangle3(const Base::TPoint3< float > *pTpPoint0, const Base::TPoint3< float > *pTpPoint1, const Base::TPoint3< float > *pTpPoint2)
initialization constructor
virtual const CResult GetCenterOfVertices(double &x, double &y, double &z) const override
virtual EFigureDeclType GetDeclType() const override
CFLTriangle3(const Base::TTriangle3< double > &tt)
initialization constructor
CFLTriangle3< T > operator*(const CFLPoint3< float > &flpPoint) const
An operator that multiplies the x,y and z values of each vertex of the triangle by a parameter.
virtual void Clear() override
Clear an object's variable.
virtual const CResult Set(const CFLTriangle3< double > *pFltTri)
Parameter setting function.
CFLTriangle3(const Base::TPoint3< double > *pTpPoint0, const Base::TPoint3< double > *pTpPoint1, const Base::TPoint3< double > *pTpPoint2)
initialization constructor
friend CFLTriangle3< T > operator+(const double &value, const CFLTriangle3< T > &fltTri)
Offset operator.
Definition FLTriangle3.h:1075
CFLTriangle3< T > operator/(const CFLPoint3< float > &flpPoint) const
An operator that divides the x,y and z values of each vertex of the triangle by a parameter.
const CFLTriangle3< T > & operator-=(const Base::TPoint3< double > &tpPoint)
Offset operator.
CFLTriangle3< T > operator*(const Base::TPoint3< double > &tpPoint) const
An operator that multiplies the x,y and z values of each vertex of the triangle by a parameter.
const CFLTriangle3< T > & operator=(const Base::TTriangle3< double > &ttTri)
assignment operator
CFLTriangle3< T > operator+(const CFLPoint3< double > &flpPoint) const
Offset operator.
CFLTriangle3< T > operator/(const Base::TPoint3< float > &tpPoint) const
An operator that divides the x,y and z values of each vertex of the triangle by a parameter.
virtual const CResult Set(const Base::TPoint3< float > &tpPoint0, const Base::TPoint3< float > &tpPoint1, const Base::TPoint3< float > &tpPoint2)
Parameter setting function.
const CFLTriangle3< T > & operator=(const Base::TTriangle3< float > &ttTri)
assignment operator
CFLTriangle3(const CFLTriangle3< float > *pFltTri)
copy constructor
virtual const CResult Multiply(double x, double y, double z) override
const CFLTriangle3< T > & operator+=(const CFLPoint3< float > &flpPoint)
Offset operator.
virtual const CResult Set(const CFLPoint3< double > *pFlpPoint0, const CFLPoint3< double > *pFlpPoint1, const CFLPoint3< double > *pFlpPoint2)
Parameter setting function.
virtual const CResult Set(const CFLTriangle3< double > &fltTri)
Parameter setting function.
virtual CFLPoint< double > GetCenterOfGravity() const override
CFLTriangle3(const Base::TPoint3< double > &tpPoint0, const Base::TPoint3< double > &tpPoint1, const Base::TPoint3< double > &tpPoint2)
initialization constructor
virtual const CResult Offset(double x, double y, double z) override
const CFLTriangle3< T > & operator/=(const Base::TPoint3< float > &tpPoint)
An operator that divides the x,y,z values of each vertex of a triangle by a parameter.
const CFLTriangle3< T > & operator*=(const Base::TPoint3< double > &tpPoint)
An operator that multiplies the x,y,z values of each vertex of a triangle by a parameter.
const CFLTriangle3< T > & operator+=(const CFLPoint3< double > &flpPoint)
Offset operator.
CFLTriangle3< T > operator-() const
An operator that returns a point with the signs of x, y and z values inverted.
CFLTriangle3(const CFLPoint3< double > &flpPoint0, const CFLPoint3< double > &flpPoint1, const CFLPoint3< double > &flpPoint2)
initialization constructor
const CFLTriangle3< T > & operator+=(const Base::TPoint3< float > &tpPoint)
Offset operator.
virtual const CResult Rotate(const CFLGeometry3DQuaternion< double > *pQuat, const CFLPoint3< double > *pFlp3Pivot=nullptr) override
CFLTriangle3< T > operator+(const Base::TPoint3< float > &tpPoint) const
Offset operator.
virtual const CResult Rotate(const CFLGeometry3DQuaternion< float > *pQuat, const CFLPoint3< float > *pFlp3Pivot=nullptr) override
CFLTriangle3< T > operator-(const CFLPoint3< float > &flpPoint) const
Offset operator.
virtual const CResult Set(const CFLTriangle3< float > *pFltTri)
Parameter setting function.
const CFLTriangle3< T > & operator=(const CFLTriangle3< float > &fltTri)
assignment operator
CFLTriangle3< T > operator/(const Base::TPoint3< double > &tpPoint) const
An operator that divides the x,y and z values of each vertex of the triangle by a parameter.
const CFLTriangle3< T > & operator=(const CFLTriangle3< double > &fltTri)
assignment operator
CFLTriangle3(const CFLTriangle3< float > &fltTri)
copy constructor
friend CFLTriangle3< T > operator/(const double &value, const CFLTriangle3< T > &fltTri)
An operator that divides the x, y, z values of each vertex of the triangle into parameters.
Definition FLTriangle3.h:1136
virtual const CResult Set(const CFLFigure &flf) override
const CFLTriangle3< T > & operator*=(const double &value)
An operator that multiplies the x,y,z values of each vertex of a triangle by a parameter.
virtual const CResult Set(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1, int32_t x2, int32_t y2, int32_t z2)
Parameter setting function.
CFLTriangle3(const CFLPoint3< float > *pFlpPoint0, const CFLPoint3< float > *pFlpPoint1, const CFLPoint3< float > *pFlpPoint2)
initialization constructor
CFLPoint3< float > flpPoints[3]
Definition FLTriangle3.h:31
CFLTriangle3(int32_t x0, int32_t y0, int32_t z0, int32_t x1, int32_t y1, int32_t z1, int32_t x2, int32_t y2, int32_t z2)
initialization constructor
CFLTriangle3< T > operator+(const Base::TPoint3< double > &tpPoint) const
Offset operator.
virtual const CResult Transform(const CMatrix< float > *pMatTransform) override
Transforms the object.
const CFLTriangle3< T > & operator/=(const Base::TPoint3< double > &tpPoint)
An operator that divides the x,y,z values of each vertex of a triangle by a parameter.
CFLTriangle3< T > operator/(const CFLPoint3< double > &flpPoint) const
An operator that divides the x,y and z values of each vertex of the triangle by a parameter.
CFLTriangle3(const CFLTriangle3< double > *pFltTri)
copy constructor
const CFLTriangle3< T > & operator-=(const Base::TPoint3< float > &tpPoint)
Offset operator.
CFLTriangle3< T > operator-(const double &value) const
Offset operator.
virtual const CResult Set(const CFLFigure *pFlf) override
CFLTriangle3< T > operator-(const Base::TPoint3< float > &tpPoint) const
Offset operator.
virtual const CResult ChangeOriginIndex(int64_t i64IndexToBeOrigin)
Changes the starting vertex while preserving the shape.
virtual const CResult Set(const Base::TPoint3< float > *pTpPoint0, const Base::TPoint3< float > *pTpPoint1, const Base::TPoint3< float > *pTpPoint2)
Parameter setting function.
CFLTriangle3< T > operator*(const double &value) const
An operator that multiplies the x,y and z values of each vertex of the triangle by a parameter.
CFLTriangle3< T > operator*(const Base::TPoint3< float > &tpPoint) const
An operator that multiplies the x,y and z values of each vertex of the triangle by a parameter.
CFLTriangle3(float x0, float y0, float z0, float x1, float y1, float z1, float x2, float y2, float z2)
initialization constructor
virtual const CResult GetBoundingBox(float &f32MinX, float &f32MinY, float &f32MinZ, float &f32MaxX, float &f32MaxY, float &f32MaxZ) const override
Returns the bounding box (AABB).
CFLTriangle3(const Base::TPoint3< float > &tpPoint0, const Base::TPoint3< float > &tpPoint1, const Base::TPoint3< float > &tpPoint2)
initialization constructor
virtual bool IsSpecEqual(const CFLFigure *pFlfRhs, EFigureSpecCompareType eSpecType=EFigureSpecCompareType_Coordinates) const override
CFLTriangle3(const CFLFigure &flf)
As an initialization constructor, call the Set() function for the DeclType of CFLFigure& flf .
virtual const CResult Set(const Base::TTriangle3< double > &tt)
Parameter setting function.
CFLTriangle3(const CFLFigure *pFlf)
As an initialization constructor, call the Set() function for the DeclType of CFLFigure& flf .
virtual const CResult Set(const Base::TTriangle3< double > *pTt)
Parameter setting function.
virtual const CResult Set(const CFLPoint3< float > *pFlpPoint0, const CFLPoint3< float > *pFlpPoint1, const CFLPoint3< float > *pFlpPoint2)
Parameter setting function.
virtual const CResult GetCenterOfGravity(double &x, double &y, double &z) const override
Get the center of gravity (geometric center) of the 3D object.
CFLTriangle3(const Base::TTriangle3< float > &tt)
initialization constructor
CFLTriangle3< T > operator+(const double &value) const
Offset operator.
virtual const CResult Swap(CFLFigure *pFlfRight) override
friend CFLTriangle3< T > operator*(const double &value, const CFLTriangle3< T > &fltTri)
An operator that multiplies the x, y, and z values of each vertex of a triangle by a parameter.
Definition FLTriangle3.h:1116
CFLTriangle3(double x0, double y0, double z0, double x1, double y1, double z1, double x2, double y2, double z2)
initialization constructor
const CFLTriangle3< T > & operator*=(const Base::TPoint3< float > &tpPoint)
An operator that multiplies the x,y,z values of each vertex of a triangle by a parameter.
const CFLTriangle3< T > & operator+=(const double &value)
Offset operator.
const CFLTriangle3< T > & operator*=(const CFLPoint3< double > &flpPoint)
An operator that multiplies the x,y,z values of each vertex of a triangle by a parameter.
const CFLTriangle3< T > & operator-=(const CFLPoint3< float > &flpPoint)
Offset operator.
friend CFLTriangle3< T > operator-(const double &value, const CFLTriangle3< T > &fltTri)
Offset operator.
Definition FLTriangle3.h:1095
virtual const CResult Set(const Base::TTriangle3< float > &tt)
Parameter setting function.
const CFLTriangle3< T > & operator/=(const CFLPoint3< double > &flpPoint)
An operator that divides the x,y,z values of each vertex of a triangle by a parameter.
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