ark::Transform2

Defined in header “ark/geometry/forward.hh”.


Typedefs

  • using scalar_t = Scalar

  • using Vector2 = Eigen::Matrix< Scalar, 2, 1 >

  • using Matrix2 = Eigen::Matrix< Scalar, 2, 2 >

  • using Matrix3 = Eigen::Matrix< Scalar, 3, 3 >

  • using Rotation2 = Eigen::Rotation2D< Scalar >

  • using Translation2 = Eigen::Translation< Scalar, 2 >

  • using ETransform2 = Eigen::Transform< Scalar, 2, Eigen::Affine >

  • using TransformMessage2 = std::conditional_t< std::is_same_v< Scalar, float >, TransformMessage2f, TransformMessage2d >

Methods

  • Transform2()

  • Transform2(ETransform2 transform)

  • Transform2(Vector2 trans)

  • Transform2(Vector2 trans, Scalar angle)

  • Transform2(TransformMessage2 transform_message)

  • Transform2 inverse()

  • bool isApprox(const Transform2 & other, Scalar prec)

  • Vector2 translation()

  • Scalar angle()

  • Matrix2 rotation()

  • Matrix3 matrix()

  • const ETransform2 & eigen_transform()

  • TransformMessage2 transform_message()

  • Scalar x()

  • Scalar y()

  • Scalar heading2()

  • void translate(Scalar x, Scalar y)

  • void translate(const Vector2 & t)

  • bool operator==()

  • Transform2< Other > cast()