Template Class ProfileGenerator#
Defined in File ProfileGenerator.h
Inheritance Relationships#
Base Type#
public Karana::Core::BaseWithVars(Class BaseWithVars)
Derived Types#
public Karana::Models::ConstantProfileGenerator< T >(Template Class ConstantProfileGenerator)public Karana::Models::CubicSplineProfileGenerator< T >(Template Class CubicSplineProfileGenerator)public Karana::Models::LinearProfileGenerator< T >(Template Class LinearProfileGenerator)
Class Documentation#
-
template<typename T>
class ProfileGenerator : public Karana::Core::BaseWithVars# ProfileGenerator base class.
- Template Parameters:
T – The type that the ProfileGenerator produces, e.g., double, UnitQuaternion, etc.
Subclassed by Karana::Models::ConstantProfileGenerator< T >, Karana::Models::CubicSplineProfileGenerator< T >, Karana::Models::LinearProfileGenerator< T >
Public Functions
-
inline ProfileGenerator(std::string_view name, const T &u)#
ProfileGenerator constructor.
- Parameters:
name – The name of this profile generator.
u – A representative sample value for the velocity.
-
virtual const T &getQ(const Karana::Math::Ktime &t) = 0#
Get the profile coordinate for the provided time.
- Parameters:
t – The current time
- Returns:
The profile coordinate at the provided time.