|
Point Cloud Library (PCL) 1.15.1
|
2D point with float x- and y-coordinates. More...
#include <pcl/ml/point_xy_32f.h>
Public Member Functions | |
| PointXY32f ()=default | |
| Constructor. | |
| virtual | ~PointXY32f ()=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. | |
Static Public Member Functions | |
| static PointXY32f | 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. | |
Public Attributes | |
| float | x {0.0f} |
| The x-coordinate of the point. | |
| float | y {0.0f} |
| The y-coordinate of the point. | |
2D point with float x- and y-coordinates.
Definition at line 47 of file point_xy_32f.h.
|
inlinedefault |
Constructor.
|
inlinevirtualdefault |
Destructor.
|
inline |
Deserializes the point from the specified stream.
| [in] | stream | the source for the deserialization |
Definition at line 70 of file point_xy_32f.h.
|
static |
Creates a random point within the specified window.
| [in] | min_x | the minimum value for the x-coordinate of the point |
| [in] | max_x | the maximum value for the x-coordinate of the point |
| [in] | min_y | the minimum value for the y-coordinate of the point |
| [in] | max_y | the maximum value for the y-coordinate of the point |
Referenced by pcl::ScaledMultiChannel2DComparisonFeatureHandler< float, 1, 0, true >::createRandomFeatures().
|
inline |
Serializes the point to the specified stream.
| [out] | stream | the destination for the serialization |
Definition at line 59 of file point_xy_32f.h.
| float pcl::PointXY32f::x {0.0f} |
The x-coordinate of the point.
Definition at line 88 of file point_xy_32f.h.
Referenced by deserialize(), and serialize().
| float pcl::PointXY32f::y {0.0f} |
The y-coordinate of the point.
Definition at line 90 of file point_xy_32f.h.
Referenced by deserialize(), and serialize().