W3cubDocs

/PointCloudLibrary

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

#include <pcl/impl/point_types.hpp>

Public Member Functions

PointXY (float _x, float _y)
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 835 of file point_types.hpp.

Constructor & Destructor Documentation

PointXY() [1/2]

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

Definition at line 847 of file point_types.hpp.

PointXY() [2/2]

pcl::PointXY::PointXY ( )
inline

Definition at line 848 of file point_types.hpp.

Member Function Documentation

getVector2fMap() [1/2]

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

Definition at line 850 of file point_types.hpp.

References data.

getVector2fMap() [2/2]

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

Definition at line 851 of file point_types.hpp.

References data.

Friends And Related Function Documentation

operator<<

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

Member Data Documentation

@15

union { ... }

data

float pcl::PointXY::data[2]

Definition at line 839 of file point_types.hpp.

Referenced by getVector2fMap().

x

y


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

© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/structpcl_1_1_point_x_y.html