Yet Another Robot Platform
No Matches
yarp::sig::DataXY Struct Reference

#include <yarp/sig/PointCloudTypes.h>

Public Member Functions

std::string toString (int precision, int width) const
yarp::os::Bottle toBottle () const
void fromBottle (const yarp::os::Bottle &bt, size_t i)

Public Attributes

union { 
   float   _xy [2] 
   struct { 
      float   x 
      float   y 

Detailed Description

Definition at line 111 of file PointCloudTypes.h.

Member Function Documentation

◆ fromBottle()

void yarp::sig::DataXY::fromBottle ( const yarp::os::Bottle bt,
size_t  i 

Definition at line 145 of file PointCloudTypes.h.

◆ toBottle()

yarp::os::Bottle yarp::sig::DataXY::toBottle ( ) const

Definition at line 138 of file PointCloudTypes.h.

◆ toString()

std::string yarp::sig::DataXY::toString ( int  precision,
int  width 
) const

Definition at line 122 of file PointCloudTypes.h.

Member Data Documentation

◆ [union]

union { ... } yarp::sig::DataXY

◆ _xy

float yarp::sig::DataXY::_xy[2]

Definition at line 115 of file PointCloudTypes.h.

◆ x

float yarp::sig::DataXY::x

Definition at line 118 of file PointCloudTypes.h.

◆ y

float yarp::sig::DataXY::y

Definition at line 119 of file PointCloudTypes.h.

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