MCPcopy Create free account
hub / github.com/KumarRobotics/sloam / Plane

Method Plane

sloam/src/objects/plane.cpp:3–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <plane.h>
2
3Plane::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
19void Plane::filter(const VectorType &points, const FeatureModelParams &fmParams)
20{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected