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