ConstantScalarField3.h
Go to the documentation of this file.
std::function< double(const Vector3D &)> Sampler() const override
Returns the sampler function.
ConstantScalarField3Ptr MakeShared() const
Builds shared pointer of ConstantScalarField3 instance.
Builder & WithValue(double value)
Returns builder with value.
std::shared_ptr< ConstantScalarField3 > ConstantScalarField3Ptr
Shared pointer for the ConstantScalarField3 type.
Definition: ConstantScalarField3.h:39
ConstantScalarField3(double value)
Constructs a constant scalar field with given value.
Definition: pybind11Utils.h:24
Front-end to create ConstantScalarField3 objects step by step.
Definition: ConstantScalarField3.h:44
double Sample(const Vector3D &x) const override
Returns the sampled value at given position x.
static Builder GetBuilder()
Returns builder fox ConstantScalarField3.
ConstantScalarField3 Build() const
Builds ConstantScalarField3.