Package com.acmerobotics.roadrunner
Class ArclengthReparamCurve2d
-
- All Implemented Interfaces:
-
com.acmerobotics.roadrunner.PositionPath
public final class ArclengthReparamCurve2d implements PositionPath<Arclength>
Arclength reparameterization of curve.
-
-
Field Summary
Fields Modifier and Type Field Description public final Double
length
public final PositionPath<Internal>
curve
public final IntegralScanResult
samples
-
Constructor Summary
Constructors Constructor Description ArclengthReparamCurve2d(PositionPath<Internal> curve, Double eps)
ArclengthReparamCurve2d(PositionPath<Internal> curve, IntegralScanResult samples)
-
Method Summary
-
-
Constructor Detail
-
ArclengthReparamCurve2d
ArclengthReparamCurve2d(PositionPath<Internal> curve, Double eps)
- Parameters:
eps
- desired error in the approximate length length
-
ArclengthReparamCurve2d
ArclengthReparamCurve2d(PositionPath<Internal> curve, IntegralScanResult samples)
-
-
-
-