Loading...
Searching...
No Matches
CubbyFlow::Sphere< N >::Builder Class Referencefinal
Front-end to create Sphere objects step by step. More...
#include <Core/Geometry/Sphere.hpp>
Inheritance diagram for CubbyFlow::Sphere< N >::Builder:
Public Member Functions | |
| Builder & | WithCenter (const Vector< double, N > &_center) |
| Returns builder with sphere center. | |
| Builder & | WithRadius (double _radius) |
| Returns builder with sphere radius. | |
| Sphere< N > | Build () const |
| Builds Sphere. | |
| std::shared_ptr< Sphere< N > > | MakeShared () const |
| Builds shared pointer of Sphere instance. | |
Public Member Functions inherited from CubbyFlow::SurfaceBuilderBase< N, Sphere< N >::Builder > | |
| Sphere< N >::Builder & | WithIsNormalFlipped (bool isNormalFlipped) |
| Returns builder with flipped normal flag. | |
| Sphere< N >::Builder & | WithTranslation (const Vector< double, N > &translation) |
| Returns builder with translation. | |
| Sphere< N >::Builder & | WithOrientation (const Orientation< N > &orientation) |
| Returns builder with orientation. | |
| Sphere< N >::Builder & | WithTransform (const Transform< N > &transform) |
| Returns builder with transform. | |
Additional Inherited Members | |
Protected Attributes inherited from CubbyFlow::SurfaceBuilderBase< N, Sphere< N >::Builder > | |
| bool | m_isNormalFlipped |
| Transform< N > | m_transform |
Detailed Description
template<size_t N>
class CubbyFlow::Sphere< N >::Builder
class CubbyFlow::Sphere< N >::Builder
Front-end to create Sphere objects step by step.
Member Function Documentation
◆ Build()
◆ MakeShared()
template<size_t N>
| std::shared_ptr< Sphere< N > > CubbyFlow::Sphere< N >::Builder::MakeShared | ( | ) | const |
Builds shared pointer of Sphere instance.
◆ WithCenter()
template<size_t N>
| Builder & CubbyFlow::Sphere< N >::Builder::WithCenter | ( | const Vector< double, N > & | _center | ) |
Returns builder with sphere center.
◆ WithRadius()
template<size_t N>
| Builder & CubbyFlow::Sphere< N >::Builder::WithRadius | ( | double | _radius | ) |
Returns builder with sphere radius.
The documentation for this class was generated from the following file:
- Core/Geometry/Sphere.hpp
Public Member Functions inherited from
1.9.8