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);
1609 virtual const CResult Scale(
double f64PivotX,
double f64PivotY,
double f64PivotZ,
double f64ScaleX,
double f64ScaleY,
double f64ScaleZ)
override;
1616 virtual const CResult GetBoundingBox(
double& f64MinX,
double& f64MinY,
double& f64MinZ,
double& f64MaxX,
double& f64MaxY,
double& f64MaxZ)
const override;
1617 virtual const CResult GetBoundingBox(
float& f32MinX,
float& f32MinY,
float& f32MinZ,
float& f32MaxX,
float& f32MaxY,
float& f32MaxZ)
const override;
1641 DeclareGetClassType();
Simplified class representing a 3-D point.
Definition FLImagingBase/TPoint3.h:37
Simplified class representing a triangle.
Definition FLImagingBase/TTriangle3.h:38
FLImaging module execution result object.
Definition FLImagingBase/ResultsDef.h:1712
A class representing quaternion.
Definition FLImagingFoundation/FLGeometry3DQuaternion.h:30
A class representing a 3D point.
Definition FLImagingFoundation/FLPoint3.h:40
Ty z
Definition FLImagingFoundation/FLPoint3.h:58
Ty x
Definition FLImagingFoundation/FLPoint3.h:46
Ty y
Definition FLImagingFoundation/FLPoint3.h:52
A class representing a point.
Definition FLImagingFoundation/FLPoint.h:24
A class representing a 3D triangle.
Definition FLImagingFoundation/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 MakeFigureInvalid() override
Make the figure invalid. (For example, set the coordinates of the point to invalid x,...
virtual const CResult Scale(double f64PivotX, double f64PivotY, double f64PivotZ, double f64ScaleX, double f64ScaleY, double f64ScaleZ) override
Scale the object with a specified pivot point.
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 using a transformation matrix (4x4 or 3x3).
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
Clears all internal variables and resets all 3D vertex coordinates to 0.
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 FLImagingFoundation/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
Rotate the object using quaternions. If the pivot point is nullptr, the object's AABB (Axis-Aligned B...
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
Rotate the object using quaternions. If the pivot point is nullptr, the object's AABB (Axis-Aligned B...
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 FLImagingFoundation/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 FLImagingFoundation/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
virtual bool IsValid() const override
CFLTriangle3< T > operator+(const Base::TPoint3< double > &tpPoint) const
Offset operator.
virtual const CResult Transform(const CMatrix< float > *pMatTransform) override
Transforms the object using a transformation matrix (4x4 or 3x3).
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).
virtual bool IsFigureValid() const override
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 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 FLImagingFoundation/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 FLImagingFoundation/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 FLImagingFoundation/Matrix.h:79
Definition FLImagingFoundation/AlgorithmBase.h:16
EFigureDeclType
Declare type of figure.
Definition FLImagingFoundation/DefinitionsFigure.h:33
EFigureTemplateType
Template type of figure.
Definition FLImagingFoundation/DefinitionsFigure.h:434
EFigureSpecCompareType
Definition FLImagingFoundation/DefinitionsFigure.h:3590
@ EFigureSpecCompareType_Coordinates
Definition FLImagingFoundation/DefinitionsFigure.h:3595