Interface CubicSpline<C, I extends BoundedFloatFunction<C>>
- All Superinterfaces:
BoundedFloatFunction<C>
- All Known Implementing Classes:
CubicSpline.Constant, CubicSpline.Multipoint
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classCubicSpline.Builder<C, I extends BoundedFloatFunction<C>>static final recordCubicSpline.Constant<C, I extends BoundedFloatFunction<C>>static interfacestatic final recordCubicSpline.Multipoint<C, I extends BoundedFloatFunction<C>> -
Field Summary
Fields inherited from interface BoundedFloatFunction
IDENTITY -
Method Summary
Modifier and TypeMethodDescriptionstatic <C, I extends BoundedFloatFunction<C>>
CubicSpline.Builder<C, I> builder(I coordinate) static <C, I extends BoundedFloatFunction<C>>
CubicSpline.Builder<C, I> builder(I coordinate, BoundedFloatFunction<Float> valueTransformer) static <C, I extends BoundedFloatFunction<C>>
com.mojang.serialization.Codec<CubicSpline<C, I>> codec(com.mojang.serialization.Codec<I> coordinateCodec) static <C, I extends BoundedFloatFunction<C>>
CubicSpline<C, I> constant(float value) mapAll(CubicSpline.CoordinateVisitor<I> visitor) Methods inherited from interface BoundedFloatFunction
apply, comap, maxValue, minValue
-
Method Details
-
parityString
String parityString() -
mapAll
-
codec
static <C, I extends BoundedFloatFunction<C>> com.mojang.serialization.Codec<CubicSpline<C,I>> codec(com.mojang.serialization.Codec<I> coordinateCodec) -
constant
-
builder
-
builder
static <C, I extends BoundedFloatFunction<C>> CubicSpline.Builder<C,I> builder(I coordinate, BoundedFloatFunction<Float> valueTransformer)
-