#include <LineTrace.h>
| rdf::LineFilter::LineFilter |
( |
| ) |
|
| QVector< rdf::Line > rdf::LineFilter::filterLineAngle |
( |
const QVector< rdf::Line > & |
lines, |
|
|
double |
angle, |
|
|
double |
maxAngleDiff = DBL_MAX |
|
) |
| const |
Filters all lines accordinge a specified angle and the allowed angle difference angleDiff.
- Parameters
-
| lines | The line vector. |
| angle | The angle in radians. |
| angleDiff | The maximal allowed angle difference in radians. |
- Returns
- The filtered line vector.
| QVector< rdf::Line > rdf::LineFilter::mergeLines |
( |
const QVector< rdf::Line > & |
lines, |
|
|
QVector< rdf::Line > * |
gaps = 0, |
|
|
double |
maxGap = DBL_MAX, |
|
|
double |
maxAngleDiff = DBL_MAX |
|
) |
| const |
Merges the lines.
- Parameters
-
| lines | Some lines. |
| maxGap | The maximum gap. |
| maxSlopeDiff | The maximum slope difference in radians. |
| maxAngleDiff | The maximum angle difference in radians. |
- Returns
- The merged lines
| QVector< rdf::Line > rdf::LineFilter::removeSmall |
( |
const QVector< rdf::Line > & |
lines, |
|
|
int |
minLineLength = 0 |
|
) |
| const |
The documentation for this class was generated from the following files: