fixed typo in normal, added gt point 3d

This commit is contained in:
toni
2017-03-20 11:42:46 +01:00
parent d065015f7d
commit 485be83b44
4 changed files with 41 additions and 27 deletions

View File

@@ -251,9 +251,9 @@ namespace Floorplan {
/** a GroundTruthPoint located somewhere on a floor */
struct GroundTruthPoint {
int id; //TODO: this value can be changed and isn't set incremental within the indoormap
Point2 pos;
Point3 pos;
GroundTruthPoint() : id(), pos() {;}
GroundTruthPoint(const int& id, const Point2& pos) : id(id), pos(pos) {;}
GroundTruthPoint(const int& id, const Point3& pos) : id(id), pos(pos) {;}
bool operator == (const GroundTruthPoint& o) const {return (o.id == id) && (o.pos == pos);}
};