SwoLib
1.0.0
jvm
SwoLib
/
cshcyberhawks.swolib.math
/
BezierCurve
Bezier
Curve
class
BezierCurve
(
swo
:
SwerveOdometry
,
trapConstraints
:
TrapezoidProfile.Constraints
,
startPoint
:
Vector2
,
controlPoint1
:
Vector2
,
controlPoint2
:
Vector2
,
endPoint
:
Vector2
,
resolution
:
Double
)
Members
Constructors
Bezier
Curve
Link copied to clipboard
constructor
(
swo
:
SwerveOdometry
,
trapConstraints
:
TrapezoidProfile.Constraints
,
startPoint
:
Vector2
,
controlPoint1
:
Vector2
,
controlPoint2
:
Vector2
,
endPoint
:
Vector2
,
resolution
:
Double
)
Functions
get
Next
Point
Link copied to clipboard
fun
getNextPoint
(
)
:
Pair
<
Vector2
,
Vector2
>
Properties
next
Point
Link copied to clipboard
var
nextPoint
:
Int
points
Link copied to clipboard
val
points
:
List
<
Vector2
>