CubbyFlow::Triangle3::Builder Class Referencefinal
Front-end to create Triangle3 objects step by step. More...
#include <Core/Geometry/Triangle3.hpp>
Inheritance diagram for CubbyFlow::Triangle3::Builder:

Public Member Functions | |
Builder & | WithPoints (const std::array< Vector3D, 3 > &_points) |
Returns builder with points. More... | |
Builder & | WithNormals (const std::array< Vector3D, 3 > &_normals) |
Returns builder with normals. More... | |
Builder & | WithUVs (const std::array< Vector2D, 3 > &_uvs) |
Returns builder with uvs. More... | |
Triangle3 | Build () const |
Builds Triangle3. More... | |
Triangle3Ptr | MakeShared () const |
Builds shared pointer of Triangle3 instance. More... | |
![]() | |
DerivedBuilder & | WithIsNormalFlipped (bool isNormalFlipped) |
Returns builder with flipped normal flag. More... | |
DerivedBuilder & | WithTranslation (const Vector< double, N > &translation) |
Returns builder with translation. More... | |
DerivedBuilder & | WithOrientation (const Orientation< N > &orientation) |
Returns builder with orientation. More... | |
DerivedBuilder & | WithTransform (const Transform< N > &transform) |
Returns builder with transform. More... | |
Additional Inherited Members | |
![]() | |
bool | m_isNormalFlipped = false |
Transform< N > | m_transform |
Detailed Description
Front-end to create Triangle3 objects step by step.
Member Function Documentation
◆ Build()
◆ MakeShared()
Triangle3Ptr CubbyFlow::Triangle3::Builder::MakeShared | ( | ) | const |
Builds shared pointer of Triangle3 instance.
◆ WithNormals()
Returns builder with normals.
◆ WithPoints()
Returns builder with points.
◆ WithUVs()
Returns builder with uvs.
The documentation for this class was generated from the following file:
- Core/Geometry/Triangle3.hpp