76 CFLQuad3(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, int32_t x3, int32_t y3, int32_t z3);
109 CFLQuad3(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, int64_t x3, int64_t y3, int64_t z3);
142 CFLQuad3(
float x0,
float y0,
float z0,
float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
float x3,
float y3,
float z3);
175 CFLQuad3(
double x0,
double y0,
double z0,
double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double x3,
double y3,
double z3);
1395 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, int32_t x3, int32_t y3, int32_t z3);
1432 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, int64_t x3, int64_t y3, int64_t z3);
1469 virtual const CResult Set(
float x0,
float y0,
float z0,
float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
float x3,
float y3,
float z3);
1506 virtual const CResult Set(
double x0,
double y0,
double z0,
double x1,
double y1,
double z1,
double x2,
double y2,
double z2,
double x3,
double y3,
double z3);
1992 virtual const CResult Scale(
double f64PivotX,
double f64PivotY,
double f64PivotZ,
double f64ScaleX,
double f64ScaleY,
double f64ScaleZ)
override;
1999 virtual const CResult GetBoundingBox(
double& f64MinX,
double& f64MinY,
double& f64MinZ,
double& f64MaxX,
double& f64MaxY,
double& f64MaxZ)
const override;
2000 virtual const CResult GetBoundingBox(
float& f32MinX,
float& f32MinY,
float& f32MinZ,
float& f32MaxX,
float& f32MaxY,
float& f32MaxZ)
const override;
2024 DeclareGetClassType();
Simplified class representing a 3-D point.
Definition FLImagingBase/TPoint3.h:37
Simplified class representing a quadrangle.
Definition FLImagingBase/TQuad3.h:38
Simplified class representing a quadrangle.
Definition FLImagingBase/TQuad.h:34
FLImaging module execution result object.
Definition FLImagingBase/ResultsDef.h:1704
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 quadrangle.
Definition FLImagingFoundation/FLQuad3.h:25
friend CFLQuad3< T > operator*(const double &value, const CFLQuad3< T > &quad)
An operator that multiplies the x, y, and z values of each vertex of a quadrilateral by a parameter.
Definition FLImagingFoundation/FLQuad3.h:1320
CFLQuad3< T > operator+(const CFLPoint3< double > &flpPoint) const
Offset operator.
CFLQuad3(const CFLPoint3< double > &flpPoint0, const CFLPoint3< double > &flpPoint1, const CFLPoint3< double > &flpPoint2, const CFLPoint3< double > &flpPoint3)
initialization constructor
CFLQuad3< T > operator-(const Base::TPoint3< float > &tpPoint) const
Offset operator.
CFLQuad3(const CFLQuad3< float > *pFlqQuad)
copy constructor
const CFLQuad3< T > & operator/=(const Base::TPoint3< double > &tpPoint)
An operator that divides the x,y,z values of each vertex of a quadrilateral by a parameter.
const CFLQuad3< T > & operator-=(const double &value)
Offset operator.
CFLQuad3(const Base::TQuad3< float > *pTqQuad)
With initialization constructor, initialize CFLQuad3 with each vertex of TQuad3.
const CFLQuad3< T > & operator=(const Base::TQuad3< float > &tqQuad)
assignment 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, int64_t x3, int64_t y3, int64_t z3)
Parameter setting function.
CFLQuad3< T > operator-(const CFLPoint3< double > &flpPoint) const
Offset operator.
CFLQuad3< T > operator+(const Base::TPoint3< double > &tpPoint) const
Offset operator.
virtual const CResult Set(const Base::TQuad< double > &tqQuad)
As a parameter setting function, set CFLQuad3 with each vertex (z = 0) of TQuad.
const CFLQuad3< T > & operator=(const Base::TQuad3< double > &tqQuad)
assignment operator
virtual EFigureDeclType GetDeclType() const override
CFLQuad3< T > operator+(const CFLPoint3< float > &flpPoint) const
Offset operator.
CFLPoint3< float > flpPoints[4]
Definition FLImagingFoundation/FLQuad3.h:31
virtual const CResult Set(const Base::TQuad3< float > &tqQuad)
As a parameter setting function, set CFLQuad3 to each vertex of TQuad3.
const CFLQuad3< T > & operator=(const Base::TQuad< float > &tqQuad)
assignment operator
virtual const CResult Set(const Base::TQuad< float > *pTqQuad)
As a parameter setting function, set CFLQuad3 with each vertex (z = 0) of TQuad.
virtual const CResult MakeFigureInvalid() override
Make the figure invalid. (For example, set the coordinates of the point to invalid x,...
CFLQuad3< T > operator-(const CFLPoint3< float > &flpPoint) const
Offset operator.
const CFLQuad3< T > & operator/=(const double &value)
An operator that divides the x,y,z values of each vertex of a quadrilateral by a parameter.
const CFLQuad3< T > & operator=(const CFLQuad< double > &flqQuad)
assignment operator
virtual const CResult Set(const CFLQuad< float > &flqQuad)
As a parameter setting function, set CFLQuad3 with each vertex (z = 0) of CFLQuad.
CFLQuad3< T > operator+(const double &value) const
Offset operator.
CFLQuad3(const Base::TQuad3< float > &tqQuad)
With initialization constructor, initialize CFLQuad3 with each vertex of TQuad3.
virtual const CResult ReverseSequence() override
Function to reverse the sequence.
virtual const CResult Offset(double x, double y, double z) override
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...
virtual const CResult Set(const Base::TQuad3< double > *pTqQuad)
As a parameter setting function, set CFLQuad3 to each vertex of TQuad3.
CFLQuad3(const Base::TQuad3< double > *pTqQuad)
With initialization constructor, initialize CFLQuad3 with each vertex of TQuad3.
virtual const CResult ChangeOriginIndex(int64_t i64IndexToBeOrigin)
Changes the starting vertex while preserving the shape.
friend CFLQuad3< T > operator-(const double &value, const CFLQuad3< T > &quad)
Offset operator.
Definition FLImagingFoundation/FLQuad3.h:1299
CFLQuad3(const Base::TQuad< float > &tqQuad)
Initialization constructor, initializing CFLQuad3 with each vertex of TQuad (z = 0).
CFLQuad3(const CFLQuad< float > *pFlqQuad)
Initialization constructor, initializing CFLQuad3 with each vertex of CFLQuad (z = 0).
CFLQuad3(const Base::TQuad< double > &tqQuad)
Initialization constructor, initializing CFLQuad3 with each vertex of TQuad (z = 0).
virtual void Clear() override
Clears all internal variables and resets all 3D vertex coordinates to 0.
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.
CFLQuad3(const CFLQuad3< double > &flqQuad)
copy constructor
CFLQuad3< T > operator+(const Base::TPoint3< float > &tpPoint) const
Offset operator.
CFLQuad3(const CFLPoint3< float > &flpPoint0, const CFLPoint3< float > &flpPoint1, const CFLPoint3< float > &flpPoint2, const CFLPoint3< float > &flpPoint3)
initialization constructor
CFLQuad3< T > operator*(const double &value) const
An operator that multiplies the x,y and z values of each vertex of the quadrilateral by a parameter.
virtual const CResult Set(const Base::TQuad< float > &tqQuad)
As a parameter setting function, set CFLQuad3 with each vertex (z = 0) of TQuad.
virtual const CResult Set(const Base::TQuad3< double > &tqQuad)
As a parameter setting function, set CFLQuad3 to each vertex of TQuad3.
CFLQuad3< T > operator*(const CFLPoint3< float > &flpPoint) const
An operator that multiplies the x,y and z values of each vertex of the quadrilateral by a parameter.
const CFLQuad3< T > & operator*=(const CFLPoint3< double > &flpPoint)
An operator that multiplies the x,y,z values of each vertex of a quadrilateral by a parameter.
virtual const CResult Set(const CFLPoint3< double > *pFlpPoint0, const CFLPoint3< double > *pFlpPoint1, const CFLPoint3< double > *pFlpPoint2, const CFLPoint3< double > *pFlpPoint3)
Parameter setting function.
const CFLQuad3< T > & operator-=(const CFLPoint3< double > &flpPoint)
Offset operator.
virtual const CResult Set(const CFLQuad3< double > &flqQuad)
Parameter setting function.
virtual const CResult Set(const CFLQuad3< float > &flqQuad)
Parameter setting function.
const CFLQuad3< T > & operator/=(const Base::TPoint3< float > &tpPoint)
An operator that divides the x,y,z values of each vertex of a quadrilateral by a parameter.
CFLQuad3(const CFLPoint3< float > *pFlpPoint0, const CFLPoint3< float > *pFlpPoint1, const CFLPoint3< float > *pFlpPoint2, const CFLPoint3< float > *pFlpPoint3)
initialization constructor
const CFLQuad3< T > & operator+=(const double &value)
Offset operator.
const CFLQuad3< T > & operator=(const Base::TQuad< double > &tqQuad)
assignment operator
virtual const CResult Set(const CFLPoint3< double > &flpPoint0, const CFLPoint3< double > &flpPoint1, const CFLPoint3< double > &flpPoint2, const CFLPoint3< double > &flpPoint3)
Parameter setting function.
CFLQuad3(const Base::TPoint3< double > &tpPoint0, const Base::TPoint3< double > &tpPoint1, const Base::TPoint3< double > &tpPoint2, const Base::TPoint3< double > &tpPoint3)
initialization constructor
virtual bool IsValid() const override
virtual const CResult Set(const Base::TPoint3< double > &tpPoint0, const Base::TPoint3< double > &tpPoint1, const Base::TPoint3< double > &tpPoint2, const Base::TPoint3< double > &tpPoint3)
Parameter setting function.
virtual const CResult Set(const Base::TPoint3< double > *pTpPoint0, const Base::TPoint3< double > *pTpPoint1, const Base::TPoint3< double > *pTpPoint2, const Base::TPoint3< double > *pTpPoint3)
Parameter setting function.
virtual const CResult Set(const CFLFigure &flf) override
CFLQuad3(float x0, float y0, float z0, float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3)
initialization constructor
const CFLQuad3< T > & operator=(const CFLQuad3< float > &flqQuad)
assignment operator
CFLQuad3< T > operator-(const Base::TPoint3< double > &tpPoint) const
Offset operator.
virtual const CResult Set(const Base::TQuad3< float > *pTqQuad)
As a parameter setting function, set CFLQuad3 to each vertex of TQuad3.
const CFLQuad3< T > & operator-=(const CFLPoint3< float > &flpPoint)
Offset operator.
virtual bool IsFigureValid() const override
const CFLQuad3< T > & operator-=(const Base::TPoint3< float > &tpPoint)
Offset operator.
CFLQuad3< T > operator*(const Base::TPoint3< float > &tpPoint) const
An operator that multiplies the x,y and z values of each vertex of the quadrilateral by a parameter.
const CFLQuad3< T > & operator*=(const double &value)
An operator that multiplies the x,y,z values of each vertex of a quadrilateral by a parameter.
const CFLQuad3< T > & operator*=(const Base::TPoint3< double > &tpPoint)
An operator that multiplies the x,y,z values of each vertex of a quadrilateral by a parameter.
const CFLQuad3< T > & operator/=(const CFLPoint3< float > &flpPoint)
An operator that divides the x,y,z values of each vertex of a quadrilateral by a parameter.
const CFLQuad3< T > & operator/=(const CFLPoint3< double > &flpPoint)
An operator that divides the x,y,z values of each vertex of a quadrilateral by a parameter.
CFLQuad3< T > operator*(const Base::TPoint3< double > &tpPoint) const
An operator that multiplies the x,y and z values of each vertex of the quadrilateral by a parameter.
virtual const CResult GetCenterOfVertices(double &x, double &y, double &z) const override
virtual const CResult Set(const CFLPoint3< float > &flpPoint0, const CFLPoint3< float > &flpPoint1, const CFLPoint3< float > &flpPoint2, const CFLPoint3< float > &flpPoint3)
Parameter setting function.
virtual const CResult Transform(const CMatrix< float > *pMatTransform) override
Transforms the object using a transformation matrix (4x4 or 3x3).
CFLQuad3(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, int64_t x3, int64_t y3, int64_t z3)
initialization constructor
const CFLQuad3< T > & operator+=(const Base::TPoint3< float > &tpPoint)
Offset operator.
virtual const CResult Swap(CFLFigure *pFlfRight) override
CFLQuad3< T > operator/(const Base::TPoint3< double > &tpPoint) const
An operator that divides the x,y and z values of each vertex of the quadrilateral by a parameter.
const CFLQuad3< T > & operator+=(const CFLPoint3< double > &flpPoint)
Offset operator.
CFLQuad3(const CFLFigure *pFlf)
As an initialization constructor, call the Set() function for the DeclType of CFLFigure& flf .
CFLQuad3< T > operator*(const CFLPoint3< double > &flpPoint) const
An operator that multiplies the x,y and z values of each vertex of the quadrilateral by a parameter.
virtual const CResult Set(const CFLQuad< float > *pFlqQuad)
As a parameter setting function, set CFLQuad3 with each vertex (z = 0) of CFLQuad.
CFLQuad3(const CFLQuad< double > *pFlqQuad)
Initialization constructor, initializing CFLQuad3 with each vertex of CFLQuad (z = 0).
CFLQuad3(const CFLFigure &flf)
As an initialization constructor, call the Set() function for the DeclType of CFLFigure& flf .
const CFLQuad3< T > & operator+=(const Base::TPoint3< double > &tpPoint)
Offset operator.
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, int32_t x3, int32_t y3, int32_t z3)
Parameter setting function.
CFLQuad3< T > operator/(const CFLPoint3< double > &flpPoint) const
An operator that divides the x,y and z values of each vertex of the quadrilateral by a parameter.
virtual const CResult Set(const Base::TPoint3< float > *pTpPoint0, const Base::TPoint3< float > *pTpPoint1, const Base::TPoint3< float > *pTpPoint2, const Base::TPoint3< float > *pTpPoint3)
Parameter setting function.
const CFLQuad3< T > & operator*=(const CFLPoint3< float > &flpPoint)
An operator that multiplies the x,y,z values of each vertex of a quadrilateral by a parameter.
virtual const CResult Set(const CFLQuad3< double > *pFlqQuad)
Parameter setting function.
CFLQuad3(const Base::TPoint3< double > *pTpPoint0, const Base::TPoint3< double > *pTpPoint1, const Base::TPoint3< double > *pTpPoint2, const Base::TPoint3< double > *pTpPoint3)
initialization constructor
virtual const CResult GetCenterOfGravity(double &x, double &y, double &z) const override
Get the center of gravity of the 3D object.
virtual const CResult Set(const Base::TQuad< double > *pTqQuad)
As a parameter setting function, set CFLQuad3 with each vertex (z = 0) of TQuad.
CFLQuad3(const CFLQuad3< float > &flqQuad)
copy constructor
CFLQuad3< T > operator/(const Base::TPoint3< float > &tpPoint) const
An operator that divides the x,y and z values of each vertex of the quadrilateral by a parameter.
CFLQuad3(const Base::TPoint3< float > &tpPoint0, const Base::TPoint3< float > &tpPoint1, const Base::TPoint3< float > &tpPoint2, const Base::TPoint3< float > &tpPoint3)
initialization constructor
CFLQuad3(const Base::TQuad3< double > &tqQuad)
With initialization constructor, initialize CFLQuad3 with each vertex of TQuad3.
CFLQuad3(const CFLQuad3< double > *pFlqQuad)
copy constructor
const CFLQuad3< T > & operator=(const CFLQuad< float > &flqQuad)
assignment operator
const CFLQuad3< T > & operator=(const CFLQuad3< double > &flqQuad)
assignment operator
virtual const CResult Set(const CFLPoint3< float > *pFlpPoint0, const CFLPoint3< float > *pFlpPoint1, const CFLPoint3< float > *pFlpPoint2, const CFLPoint3< float > *pFlpPoint3)
Parameter setting function.
CFLQuad3(const CFLQuad< double > &flqQuad)
Initialization constructor, initializing CFLQuad3 with each vertex of CFLQuad (z = 0).
CFLQuad3< T > operator-() const
An operator that returns a point with the signs of x, y and z values inverted.
CFLQuad3< T > operator/(const CFLPoint3< float > &flpPoint) const
An operator that divides the x,y and z values of each vertex of the quadrilateral by a parameter.
virtual const CResult Set(const CFLQuad< double > *pFlqQuad)
As a parameter setting function, set CFLQuad3 with each vertex (z = 0) of CFLQuad.
CFLQuad3< T > operator-(const double &value) const
Offset operator.
virtual const CResult Set(const CFLQuad3< float > *pFlqQuad)
Parameter setting function.
CFLQuad3(const Base::TQuad< double > *pTqQuad)
Initialization constructor, initializing CFLQuad3 with each vertex of TQuad (z = 0).
CFLQuad3(const CFLQuad< float > &flqQuad)
Initialization constructor, initializing CFLQuad3 with each vertex of CFLQuad (z = 0).
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...
const CFLQuad3< T > & operator+=(const CFLPoint3< float > &flpPoint)
Offset operator.
virtual EFigureTemplateType GetTemplateType() const override
virtual const CResult Multiply(double x, double y, double z) override
virtual bool IsSpecEqual(const CFLFigure *pFlfRhs, EFigureSpecCompareType eSpecType=EFigureSpecCompareType_Coordinates) const override
CFLQuad3(const Base::TQuad< float > *pTqQuad)
Initialization constructor, initializing CFLQuad3 with each vertex of TQuad (z = 0).
CFLQuad3(const Base::TPoint3< float > *pTpPoint0, const Base::TPoint3< float > *pTpPoint1, const Base::TPoint3< float > *pTpPoint2, const Base::TPoint3< float > *pTpPoint3)
initialization constructor
const CFLQuad3< T > & operator-=(const Base::TPoint3< double > &tpPoint)
Offset operator.
CFLQuad3(const CFLPoint3< double > *pFlpPoint0, const CFLPoint3< double > *pFlpPoint1, const CFLPoint3< double > *pFlpPoint2, const CFLPoint3< double > *pFlpPoint3)
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 const CResult Set(const CFLFigure *pFlf) override
friend CFLQuad3< T > operator+(const double &value, const CFLQuad3< T > &quad)
Offset operator.
Definition FLImagingFoundation/FLQuad3.h:1279
virtual const CResult Set(float x0, float y0, float z0, float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3)
Parameter setting function.
virtual const CResult Set(const Base::TPoint3< float > &tpPoint0, const Base::TPoint3< float > &tpPoint1, const Base::TPoint3< float > &tpPoint2, const Base::TPoint3< float > &tpPoint3)
Parameter setting function.
virtual const CResult Transform(const CMatrix< double > *pMatTransform) override
Transforms the object using a transformation matrix (4x4 or 3x3).
virtual CFLPoint< double > GetCenterOfGravity() const override
virtual const CResult Set(const CFLQuad< double > &flqQuad)
As a parameter setting function, set CFLQuad3 with each vertex (z = 0) of CFLQuad.
virtual const CResult Set(double x0, double y0, double z0, double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3)
Parameter setting function.
friend CFLQuad3< T > operator/(const double &value, const CFLQuad3< T > &quad)
An operator that divides the x, y, z values of each vertex of the quadrilateral into parameters.
Definition FLImagingFoundation/FLQuad3.h:1340
virtual const CResult GetBoundingBox(double &f64MinX, double &f64MinY, double &f64MinZ, double &f64MaxX, double &f64MaxY, double &f64MaxZ) const override
Returns the bounding box (AABB).
const CFLQuad3< T > & operator*=(const Base::TPoint3< float > &tpPoint)
An operator that multiplies the x,y,z values of each vertex of a quadrilateral by a parameter.
CFLQuad3< T > operator/(const double &value) const
An operator that divides the x,y and z values of each vertex of the quadrilateral by a parameter.
CFLQuad3(double x0, double y0, double z0, double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3)
initialization constructor
CFLQuad3(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, int32_t x3, int32_t y3, int32_t z3)
initialization constructor
A class representing a quadrangle.
Definition FLImagingFoundation/FLQuad.h:24
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:423
EFigureSpecCompareType
Definition FLImagingFoundation/DefinitionsFigure.h:3579
@ EFigureSpecCompareType_Coordinates
Definition FLImagingFoundation/DefinitionsFigure.h:3584