Classes | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
tuw::LineSegment2DDetector Class Reference

#include <linesegment2d_detector.h>

Classes

class  LineSegment
 

Public Member Functions

 LineSegment2DDetector ()
 
const std::vector< LineSegment > & result ()
 
void start (const std::vector< Point2D > &points)
 
std::vector< LineSegment2D > & start (const std::vector< Point2D > &points, std::vector< LineSegment2D > &detected_segments)
 

Public Attributes

LineSegment2DDetectorParameter config_
 

Private Member Functions

void split (LineSegment &line, const std::vector< Point2D > &points)
 

Private Attributes

std::vector< std::pair< unsigned int, unsigned int > > connected_measurments_
 
std::vector< LineSegmentsegments_
 

Detailed Description

class to detect lines in 2D points base on a split and merge

Definition at line 37 of file linesegment2d_detector.h.

Constructor & Destructor Documentation

LineSegment2DDetector::LineSegment2DDetector ( )

Definition at line 5 of file linesegment2d_detector.cpp.

Member Function Documentation

const std::vector< LineSegment2DDetector::LineSegment > & LineSegment2DDetector::result ( )

Definition at line 113 of file linesegment2d_detector.cpp.

void LineSegment2DDetector::split ( LineSegment line,
const std::vector< Point2D > &  points 
)
private

Definition at line 80 of file linesegment2d_detector.cpp.

void LineSegment2DDetector::start ( const std::vector< Point2D > &  points)

Definition at line 32 of file linesegment2d_detector.cpp.

std::vector< LineSegment2D > & LineSegment2DDetector::start ( const std::vector< Point2D > &  points,
std::vector< LineSegment2D > &  detected_segments 
)

Definition at line 72 of file linesegment2d_detector.cpp.

Member Data Documentation

LineSegment2DDetectorParameter tuw::LineSegment2DDetector::config_

Definition at line 58 of file linesegment2d_detector.h.

std::vector< std::pair<unsigned int, unsigned int> > tuw::LineSegment2DDetector::connected_measurments_
private

Definition at line 61 of file linesegment2d_detector.h.

std::vector<LineSegment> tuw::LineSegment2DDetector::segments_
private

Definition at line 62 of file linesegment2d_detector.h.


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


tuw_geometry
Author(s): Markus Bader
autogenerated on Mon Jun 10 2019 15:33:09