Point Cloud Library (PCL) 1.15.1
Loading...
Searching...
No Matches
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]

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

Definition at line 727 of file point_types.hpp.

References x, and y.

Referenced by operator<<.

◆ PointXY() [2/2]

pcl::PointXY::PointXY ( )
inlineconstexpr

Definition at line 728 of file point_types.hpp.

References x, and y.

Member Function Documentation

◆ getVector2fMap() [1/2]

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

Definition at line 730 of file point_types.hpp.

References data.

◆ getVector2fMap() [2/2]

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

Definition at line 731 of file point_types.hpp.

References data.

◆ operator<<

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

References PointXY().

Member Data Documentation

◆ [union]

union { ... } pcl::PointXY

◆ data

float pcl::PointXY::data[2]

Definition at line 719 of file point_types.hpp.

Referenced by getVector2fMap(), and getVector2fMap().

◆ x

◆ y


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