#include <gradientmath.h>
详细描述
template<typename T_Float, typename T_Int>
struct maxon::IndexedGradientKnot< T_Float, T_Int >
This class is a data container for gradient knots. Each knot is defined by an index and a position in a 1D range.
-
Template Parameters
-
T_Float
|
The type of real-valued position, recommended are Float, Float32 and Float64.
|
T_Int
|
The type of index, recommended are Int, Int32 and Int64. We recommend to match the bitdepth of index and position.
|
Lesser comparison of two knots. First criterion is the position of the knots. If the knot positions match ordinal comparison of the indices is done.