Point Cloud Library (PCL)  1.14.1-dev
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 715 of file point_types.hpp.

Constructor & Destructor Documentation

◆ PointXY() [1/2]

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

Definition at line 727 of file point_types.hpp.

◆ PointXY() [2/2]

constexpr pcl::PointXY::PointXY ( )
inlineconstexpr

Definition at line 728 of file point_types.hpp.

Member Function Documentation

◆ getVector2fMap() [1/2]

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

Definition at line 730 of file point_types.hpp.

◆ getVector2fMap() [2/2]

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

Definition at line 731 of file point_types.hpp.

Friends And Related Function Documentation

◆ operator<<

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

Member Data Documentation

◆ 

union { ... }

◆ data

float pcl::PointXY::data[2]

Definition at line 719 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: