Specialized Template Function tf2::doTransform(const geometry_msgs::msg::Polygon&, geometry_msgs::msg::Polygon&, const geometry_msgs::msg::TransformStamped&)

Function Documentation

template<>
inline void tf2::doTransform(const geometry_msgs::msg::Polygon &poly_in, geometry_msgs::msg::Polygon &poly_out, const geometry_msgs::msg::TransformStamped &transform)

Apply a geometry_msgs TransformStamped to an geometry_msgs PolygonStamped type. This function is a specialization of the doTransform template defined in tf2/convert.h.

Polygon

Parameters:
  • poly_in – The Polygon to transform.

  • poly_out – The transformed Polygon.

  • transform – The timestamped transform to apply, as a TransformStamped message.