:py:mod:`phoenix6.swerve.utility.geometry` ========================================== .. py:module:: phoenix6.swerve.utility.geometry Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: phoenix6.swerve.utility.geometry.lerp .. py:function:: lerp(startValue, endValue, t: phoenix6.units.second) .. py:class:: Rotation2d Rotation2d(value: phoenix6.units.radian, /) Rotation2d(x: float, y: float, /) .. py:method:: fromDegrees(value: phoenix6.units.degree) -> Self :classmethod: .. py:method:: fromRotations(value: phoenix6.units.rotation) -> Self :classmethod: .. py:method:: radians() -> phoenix6.units.radian .. py:method:: degrees() -> phoenix6.units.degree .. py:method:: rotations() -> phoenix6.units.rotation .. py:method:: cos() -> float .. py:method:: sin() -> float .. py:method:: tan() -> float .. py:method:: rotateBy(other: Self) -> Self .. py:method:: relativeTo(other: Self) -> Self