ezEngine Release 26.9
Loading...
Searching...
No Matches
ezSampledCurve1D Class Reference

A simple curve representation that only stores the precomputed sample points for linear interpolation. This allows fast evaluation at runtime at the cost of accuracy. More...

#include <Curve1D.h>

Inheritance diagram for ezSampledCurve1D:

Additional Inherited Members

- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const ezRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
EZ_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 
- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 

Detailed Description

A simple curve representation that only stores the precomputed sample points for linear interpolation. This allows fast evaluation at runtime at the cost of accuracy.

The curve is defined by a set of sample points, where the x values are evenly distributed between a specified minimum and maximum x value. The y values of the sample points can be used to approximate the curve through linear interpolation.


The documentation for this class was generated from the following files: