List of all members.
Detailed Description
Base class that does the majority of the work finding bendpoints. Adaptions to different data-types are done in subclasses.
Constructor & Destructor Documentation
| BendPointFinderBase::BendPointFinderBase |
( |
int |
sz, |
|
|
float |
eps | |
|
) |
| | [protected] |
Member Function Documentation
| const TypeSet<int>& BendPointFinderBase::bendPoints |
( |
|
) |
const [inline] |
| bool BendPointFinderBase::doFinish |
( |
bool |
|
) |
[protected, virtual] |
| bool BendPointFinderBase::doPrepare |
( |
int |
|
) |
[protected, virtual] |
| bool BendPointFinderBase::doWork |
( |
od_int64 |
, |
|
|
od_int64 |
, |
|
|
int |
| |
|
) |
| | [protected] |
| void BendPointFinderBase::findInSegment |
( |
int |
, |
|
|
int |
| |
|
) |
| | [protected] |
| virtual float BendPointFinderBase::getMaxSqDistToLine |
( |
int & |
idx, |
|
|
int |
start, |
|
|
int |
stop | |
|
) |
| | const [protected, pure virtual] |
Give the index of the point that is furthest from the line from start to stop.
- Returns:
- the squre of the largest distance
Implemented in BendPointFinder2D, and BendPointFinder3D.
| od_int64 BendPointFinderBase::nrIterations |
( |
|
) |
const [inline, protected, virtual] |
Member Data Documentation