CubbyFlow::Sphere3::Builder Class Referencefinal
Front-end to create Sphere3 objects step by step. More...
#include <Core/Geometry/Sphere3.h>
Inheritance diagram for CubbyFlow::Sphere3::Builder:
Public Member Functions | |
Builder & | WithCenter (const Vector3D ¢er) |
Returns builder with sphere center. More... | |
Builder & | WithRadius (double radius) |
Returns builder with sphere radius. More... | |
Sphere3 | Build () const |
Builds Sphere3. More... | |
Sphere3Ptr | MakeShared () const |
Builds shared pointer of Sphere3 instance. More... | |
Public Member Functions inherited from CubbyFlow::SurfaceBuilderBase3< Sphere3::Builder > | |
Sphere3::Builder & | WithIsNormalFlipped (bool isNormalFlipped) |
Returns builder with flipped normal flag. More... | |
Sphere3::Builder & | WithTranslation (const Vector3D &translation) |
Returns builder with translation. More... | |
Sphere3::Builder & | WithOrientation (const QuaternionD &orientation) |
Returns builder with orientation. More... | |
Sphere3::Builder & | WithTransform (const Transform3 &transform) |
Returns builder with transform. More... | |
Additional Inherited Members | |
Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase3< Sphere3::Builder > | |
bool | m_isNormalFlipped |
Transform3 | m_transform |
Detailed Description
Front-end to create Sphere3 objects step by step.
Member Function Documentation
◆ Build()
◆ MakeShared()
Sphere3Ptr CubbyFlow::Sphere3::Builder::MakeShared | ( | ) | const |
Builds shared pointer of Sphere3 instance.
◆ WithCenter()
Returns builder with sphere center.
◆ WithRadius()
Builder& CubbyFlow::Sphere3::Builder::WithRadius | ( | double | radius | ) |
Returns builder with sphere radius.
The documentation for this class was generated from the following file:
- Core/Geometry/Sphere3.h