Hermes
Toggle table of contents
0.2.1
jvm
Platform filter
jvm
Switch theme
Search in API
Hermes
core
/
com.acmerobotics.roadrunner.geometry
/
Rotation2dDual
Rotation2d
Dual
@
Serializable
data
class
Rotation2dDual
<
Param
:
DualParameter
>
(
val
real
:
DualNum
<
Param
>
,
val
imag
:
DualNum
<
Param
>
)
Dual version of
Rotation2d
.
Members
Constructors
Rotation2d
Dual
Link copied to clipboard
constructor
(
real
:
DualNum
<
Param
>
,
imag
:
DualNum
<
Param
>
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
imag
Link copied to clipboard
@
JvmField
val
imag
:
DualNum
<
Param
>
real
Link copied to clipboard
@
JvmField
val
real
:
DualNum
<
Param
>
Functions
inverse
Link copied to clipboard
fun
inverse
(
)
:
Rotation2dDual
<
Param
>
log
Link copied to clipboard
fun
log
(
)
:
DualNum
<
Param
>
plus
Link copied to clipboard
operator
fun
plus
(
d
:
DualNum
<
Param
>
)
:
Rotation2dDual
<
Param
>
operator
fun
plus
(
x
:
Double
)
:
Rotation2dDual
<
Param
>
reparam
Link copied to clipboard
fun
<
NewParam
:
DualParameter
>
reparam
(
oldParam
:
DualNum
<
NewParam
>
)
:
Rotation2dDual
<
NewParam
>
size
Link copied to clipboard
fun
size
(
)
:
Int
times
Link copied to clipboard
operator
fun
times
(
p
:
Pose2d
)
:
Pose2dDual
<
Param
>
operator
fun
times
(
pv
:
PoseVelocity2dDual
<
Param
>
)
:
PoseVelocity2dDual
<
Param
>
operator
fun
times
(
r
:
Rotation2d
)
:
Rotation2dDual
<
Param
>
operator
fun
times
(
r
:
Rotation2dDual
<
Param
>
)
:
Rotation2dDual
<
Param
>
operator
fun
times
(
v
:
Vector2d
)
:
Vector2dDual
<
Param
>
operator
fun
times
(
v
:
Vector2dDual
<
Param
>
)
:
Vector2dDual
<
Param
>
value
Link copied to clipboard
fun
value
(
)
:
Rotation2d
velocity
Link copied to clipboard
fun
velocity
(
)
:
DualNum
<
Param
>