MIRA
Public Member Functions | Public Attributes | List of all members
Curve Class Reference

#include <localization/Curve.h>

Inheritance diagram for Curve:
Inheritance graph
[legend]

Public Member Functions

 Curve ()
 
 Curve (const Curve &c)
 
template<typename Reflector >
void reflect (Reflector &r)
 
void transform (const Pose2 &pose)
 
float distToPoint (const Point2f &p) const
 
size_t closestPoint (const Point2f &p, size_t skip=4) const
 
double matchWithCurve (const Curve &c, float maxDist=std::numeric_limits< float >::max(), float coverage=0.0f, size_t skip=4, const Pose2 &tf=Pose2(0, 0, 0))
 
void draw (Img8U3 &img, Color::RGB col, float scale, int x0, int y0) const
 
void merge (const Curve &c)
 

Public Attributes

elements
 STL member. More...
 

Constructor & Destructor Documentation

◆ Curve() [1/2]

Curve ( )
inline

◆ Curve() [2/2]

Curve ( const Curve c)
inline

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

◆ transform()

void transform ( const Pose2 pose)
inline

◆ distToPoint()

float distToPoint ( const Point2f p) const
inline

◆ closestPoint()

size_t closestPoint ( const Point2f p,
size_t  skip = 4 
) const
inline

◆ matchWithCurve()

double matchWithCurve ( const Curve c,
float  maxDist = std::numeric_limits<float>::max(),
float  coverage = 0.0f,
size_t  skip = 4,
const Pose2 tf = Pose2(0, 0, 0) 
)
inline

◆ draw()

void draw ( Img8U3 img,
Color::RGB  col,
float  scale,
int  x0,
int  y0 
) const
inline

◆ merge()

void merge ( const Curve c)
inline

Member Data Documentation

◆ elements

T elements
inherited

STL member.


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