#include <ShapeDetector.h>
Static Public Methods | |
bool | ShouldSimplify (VPolyLine *pLine) |
Algorithm to figure out if a polyline should be simplified. | |
void | Simplify (VPolyLine *pLine) |
Simplifies a polyline. | |
void | SimplifySegment (VPolyLine *pLine, vector< unsigned int > *pvPoints, unsigned int nStart, unsigned int nEnd) |
Recursive simplification algorithm. | |
bool | Parallelogram (VPolyLine *pLine) |
Tests if a polyline could be considered a rectangle. | |
bool | Ellipse (VPolyLine *pLine) |
Tests if the polyline could be considered an ellipse. |