CubbyFlow::ConstantVectorField< N >::Builder Class Referencefinal
Front-end to create ConstantVectorField objects step by step. More...
#include <Core/Field/ConstantVectorField.hpp>
Public Member Functions | |
Builder & | WithValue (const Vector< double, N > &value) |
Returns builder with value. More... | |
ConstantVectorField | Build () const |
Builds ConstantVectorField. More... | |
std::shared_ptr< ConstantVectorField > | MakeShared () const |
Builds shared pointer of ConstantVectorField instance. More... | |
Detailed Description
template<size_t N>
class CubbyFlow::ConstantVectorField< N >::Builder
Front-end to create ConstantVectorField objects step by step.
Member Function Documentation
◆ Build()
template<size_t N>
ConstantVectorField CubbyFlow::ConstantVectorField< N >::Builder::Build | ( | ) | const |
Builds ConstantVectorField.
◆ MakeShared()
template<size_t N>
std::shared_ptr<ConstantVectorField> CubbyFlow::ConstantVectorField< N >::Builder::MakeShared | ( | ) | const |
Builds shared pointer of ConstantVectorField instance.
◆ WithValue()
template<size_t N>
Builder& CubbyFlow::ConstantVectorField< N >::Builder::WithValue | ( | const Vector< double, N > & | value | ) |
Returns builder with value.
The documentation for this class was generated from the following file:
- Core/Field/ConstantVectorField.hpp