Class LineSegment2DDetector::LineSegment

Nested Relationships

This class is a nested type of Class LineSegment2DDetector.

Inheritance Relationships

Base Type

Class Documentation

class LineSegment : public tuw::LineSegment2D

An exdented line segment reprecentetion for the detection

Public Functions

inline LineSegment()

constructor

void set(unsigned int idx0, unsigned int idx1, const std::vector<Point2D> &points)
void updatePoints(const std::vector<Point2D> &points)
bool isSupportPoint(int idx)
unsigned int nrSupportPoint()

Public Members

unsigned int id_
unsigned int idx0_
unsigned int idx1_
std::vector<Point2D> points_