public class DoubleProgression
A progression of values of type Double
.
public static com.acmerobotics.roadrunner.util.DoubleProgression.Companion Companion
public DoubleProgression(double start, double step, int size)
A progression of values of type Double
.
@NotNull public DoubleProgression plus(double offset)
@NotNull public DoubleProgression minus(double offset)
@NotNull public DoubleProgression unaryMinus()
public boolean isEmpty()
public int floorIndex(double query)
public int ceilIndex(double query)
public double get(int index)
public boolean contains(double query)
public int size()
@NotNull public kotlin.Pair<com.acmerobotics.roadrunner.util.DoubleProgression,com.acmerobotics.roadrunner.util.DoubleProgression> split(double sep)
@NotNull public com.acmerobotics.roadrunner.util.DoubleProgression.IteratorImpl iterator()
public double getStart()
public double getStep()
public int getSize()
public double component1()
public double component2()
public int component3()
@NotNull public DoubleProgression copy(double start, double step, int size)
A progression of values of type Double
.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable java.lang.Object p)
@JvmStatic @NotNull public static DoubleProgression fromClosedInterval(double start, double endInclusive, int count)