Point Cloud Library (PCL) 1.13.0
Loading...
Searching...
No Matches
List of all members | Public Member Functions | Public Attributes | Friends
pcl::PointXY Struct Reference

A 2D point structure representing Euclidean xy coordinates. More...

#include <pcl/impl/point_types.hpp>

Public Member Functions

constexpr PointXY (float _x, float _y)
 
constexpr PointXY ()
 
pcl::Vector2fMap getVector2fMap ()
 
pcl::Vector2fMapConst getVector2fMap () const
 

Public Attributes

union { 
 
   float   data [2] 
 
   struct { 
 
      float   x 
 
      float   y 
 
   }  
 
};  
 

Friends

std::ostream & operator<< (std::ostream &os, const PointXY &p)
 

Detailed Description

A 2D point structure representing Euclidean xy coordinates.

Definition at line 743 of file point_types.hpp.

Constructor & Destructor Documentation

◆ PointXY() [1/2]

constexpr pcl::PointXY::PointXY ( float  _x,
float  _y 
)
inlineconstexpr

Definition at line 755 of file point_types.hpp.

◆ PointXY() [2/2]

constexpr pcl::PointXY::PointXY ( )
inlineconstexpr

Definition at line 756 of file point_types.hpp.

Member Function Documentation

◆ getVector2fMap() [1/2]

pcl::Vector2fMap pcl::PointXY::getVector2fMap ( )
inline

Definition at line 758 of file point_types.hpp.

◆ getVector2fMap() [2/2]

pcl::Vector2fMapConst pcl::PointXY::getVector2fMap ( ) const
inline

Definition at line 759 of file point_types.hpp.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const PointXY p 
)
friend

Member Data Documentation

◆ [union]

union { ... } pcl::PointXY

◆ data

float pcl::PointXY::data[2]

Definition at line 747 of file point_types.hpp.

◆ x

float pcl::PointXY::x

◆ y

float pcl::PointXY::y

The documentation for this struct was generated from the following file: