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