| 1 | #include <plane.h> |
| 2 | |
| 3 | Plane::Plane(const VectorType &points, const FeatureModelParams &fmParams) |
| 4 | { |
| 5 | // filter(points, fmParams); |
| 6 | features = points; |
| 7 | if (features.size() < fmParams.numGroundFeatures) |
| 8 | { |
| 9 | isValid = false; |
| 10 | } |
| 11 | else |
| 12 | { |
| 13 | computeModel(); |
| 14 | features.resize(fmParams.numGroundFeatures); |
| 15 | isValid = true; |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | void Plane::filter(const VectorType &points, const FeatureModelParams &fmParams) |
| 20 | { |
nothing calls this directly
no outgoing calls
no test coverage detected