40 #include <pcl/pcl_exports.h> 61 stream.write(reinterpret_cast<const char*>(&x),
sizeof(x));
62 stream.write(reinterpret_cast<const char*>(&y),
sizeof(y));
72 stream.read(reinterpret_cast<char*>(&x),
sizeof(x));
73 stream.read(reinterpret_cast<char*>(&y),
sizeof(y));
84 randomPoint(
const int min_x,
const int max_x,
const int min_y,
const int max_y);
float x
The x-coordinate of the point.
2D point with float x- and y-coordinates.
float y
The y-coordinate of the point.
void serialize(std::ostream &stream) const
Serializes the point to the specified stream.
virtual ~PointXY32f()
Destructor.
void deserialize(std::istream &stream)
Deserializes the point from the specified stream.