40 #include <pcl/pcl_exports.h>
62 stream.write(
reinterpret_cast<const char*
>(&x),
sizeof(x));
63 stream.write(
reinterpret_cast<const char*
>(&y),
sizeof(y));
73 stream.read(
reinterpret_cast<char*
>(&x),
sizeof(x));
74 stream.read(
reinterpret_cast<char*
>(&y),
sizeof(y));
85 randomPoint(
const int min_x,
const int max_x,
const int min_y,
const int max_y);
2D point with integer x- and y-coordinates.
PointXY32i()=default
Constructor.
static PointXY32i randomPoint(const int min_x, const int max_x, const int min_y, const int max_y)
Creates a random point within the specified window.
virtual ~PointXY32i()=default
Destructor.
void serialize(std::ostream &stream) const
Serializes the point to the specified stream.
void deserialize(std::istream &stream)
Deserializes the point from the specified stream.