toggle menu
core
jvm
switch theme
search in API
core
/
com.acmerobotics.roadrunner
/
Vector2dDual
Vector2d
Dual
data
class
Vector2dDual
<
Param
>
(
val
x
:
DualNum
<
Param
>
,
val
y
:
DualNum
<
Param
>
)
Dual version of
Vector2d
.
Members
Constructors
Vector2d
Dual
Link copied to clipboard
constructor
(
x
:
DualNum
<
Param
>
,
y
:
DualNum
<
Param
>
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
x
Link copied to clipboard
@
JvmField
val
x
:
DualNum
<
Param
>
y
Link copied to clipboard
@
JvmField
val
y
:
DualNum
<
Param
>
Functions
angle
Cast
Link copied to clipboard
fun
angleCast
(
)
:
Rotation2dDual
<
Param
>
bind
Link copied to clipboard
fun
bind
(
)
:
Vector2dDual
<
Param
>
div
Link copied to clipboard
operator
fun
div
(
z
:
Double
)
:
Vector2dDual
<
Param
>
dot
Link copied to clipboard
infix
fun
dot
(
v
:
Vector2dDual
<
Param
>
)
:
DualNum
<
Param
>
drop
Link copied to clipboard
fun
drop
(
n
:
Int
)
:
Vector2dDual
<
Param
>
minus
Link copied to clipboard
operator
fun
minus
(
v
:
Vector2dDual
<
Param
>
)
:
Vector2dDual
<
Param
>
norm
Link copied to clipboard
fun
norm
(
)
:
DualNum
<
Param
>
plus
Link copied to clipboard
operator
fun
plus
(
v
:
Vector2d
)
:
Vector2dDual
<
Param
>
operator
fun
plus
(
v
:
Vector2dDual
<
Param
>
)
:
Vector2dDual
<
Param
>
reparam
Link copied to clipboard
fun
<
NewParam
>
reparam
(
oldParam
:
DualNum
<
NewParam
>
)
:
Vector2dDual
<
NewParam
>
sqr
Norm
Link copied to clipboard
fun
sqrNorm
(
)
:
DualNum
<
Param
>
unary
Minus
Link copied to clipboard
operator
fun
unaryMinus
(
)
:
Vector2dDual
<
Param
>
value
Link copied to clipboard
fun
value
(
)
:
Vector2d