CurveLUT

data class CurveLUT(val curve: Curve, val points: PointArrayList, val ts: DoubleArrayList, _estimatedLengths: DoubleArrayList)

Constructors

Link copied to clipboard
constructor(curve: Curve, capacity: Int)
constructor(curve: Curve, points: PointArrayList, ts: DoubleArrayList, _estimatedLengths: DoubleArrayList)

Types

Link copied to clipboard
class ClosestResult(val mdistSq: Double, val mpos: Int)
Link copied to clipboard
data class Estimation(var point: Point = Point(), var ratio: Ratio = Ratio.ZERO, var length: Double = 0.0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val size: Int
Link copied to clipboard
val steps: Int
Link copied to clipboard

Functions

Link copied to clipboard
fun add(t: Ratio, p: Point)
Link copied to clipboard
fun clear()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun toEquidistantLUT(out: CurveLUT = CurveLUT(curve, points.size)): CurveLUT
Link copied to clipboard
open override fun toString(): String