common_msgs/geometry_msgs/include/robot_geometry_msgs/Point.h
2025-12-30 09:10:03 +07:00

66 lines
1.7 KiB
C++

// Generated by gencpp from file robot_geometry_msgs/Point.msg
// DO NOT EDIT!
#ifndef GEOMETRY_MSGS_MESSAGE_POINT_H
#define GEOMETRY_MSGS_MESSAGE_POINT_H
#include <string>
#include <vector>
#include <memory>
#include <boost/shared_ptr.hpp>
namespace robot_geometry_msgs
{
template <class ContainerAllocator>
struct Point_
{
typedef Point_<ContainerAllocator> Type;
Point_()
: x(0.0), y(0.0), z(0.0)
{
}
Point_(const ContainerAllocator &_alloc)
: x(0.0), y(0.0), z(0.0)
{
(void)_alloc;
}
typedef double _x_type;
_x_type x;
typedef double _y_type;
_y_type y;
typedef double _z_type;
_z_type z;
typedef boost::shared_ptr<::robot_geometry_msgs::Point_<ContainerAllocator>> Ptr;
typedef boost::shared_ptr<::robot_geometry_msgs::Point_<ContainerAllocator> const> ConstPtr;
}; // struct Point_
typedef ::robot_geometry_msgs::Point_<std::allocator<void>> Point;
typedef boost::shared_ptr<::robot_geometry_msgs::Point> PointPtr;
typedef boost::shared_ptr<::robot_geometry_msgs::Point const> PointConstPtr;
// constants requiring out of line definition
template <typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::robot_geometry_msgs::Point_<ContainerAllocator1> &lhs, const ::robot_geometry_msgs::Point_<ContainerAllocator2> &rhs)
{
return lhs.x == rhs.x &&
lhs.y == rhs.y &&
lhs.z == rhs.z;
}
template <typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::robot_geometry_msgs::Point_<ContainerAllocator1> &lhs, const ::robot_geometry_msgs::Point_<ContainerAllocator2> &rhs)
{
return !(lhs == rhs);
}
} // namespace robot_geometry_msgs
#endif // GEOMETRY_MSGS_MESSAGE_POINT_H