Point Cloud Library (PCL)
1.9.1
|
38 #ifndef PCL_ML_POINT_XY_32I_H_
39 #define PCL_ML_POINT_XY_32I_H_
64 stream.write (
reinterpret_cast<const char*
> (&x),
sizeof (x));
65 stream.write (
reinterpret_cast<const char*
> (&y),
sizeof (y));
74 stream.read (
reinterpret_cast<char*
> (&x),
sizeof (x));
75 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);
This file defines compatibility wrappers for low level I/O functions.
2D point with integer x- and y-coordinates.
int x
The x-coordinate of the point.
int y
The y-coordinate of the point.
void serialize(std::ostream &stream) const
Serializes the point to the specified stream.
virtual ~PointXY32i()
Destructor.
void deserialize(std::istream &stream)
Deserializes the point from the specified stream.