Location.hpp
Go to the documentation of this file.
1 // Copyright (c) 20013 by Wayne C. Gramlich. All rights reserved.
2 
3 #if !defined(LOCATION_H_INCLUDED)
4 #define LOCATION_H_INCLUDED 1
5 
7 
9 class Location {
10  public:
12  double goodness;
13 
15  unsigned int id;
16 
18  unsigned int index;
19 
21  double bearing;
22 
24  double x;
25 
27  double y;
28 
29  Location(unsigned int _id, double _x, double _y, double _bearing,
30  double _goodness, unsigned int _index) : goodness(_goodness),
31  id(_id), index(_index), bearing(_bearing), x(_x), y(_y) {}
32 };
33 
34 #endif // !defined(LOCATION_H_INCLUDED)
Location(unsigned int _id, double _x, double _y, double _bearing, double _goodness, unsigned int _index)
Definition: Location.hpp:29
double x
X coordinate.
Definition: Location.hpp:24
unsigned int id
Tag identifier.
Definition: Location.hpp:15
double goodness
Goodness coefficient of location (closer to 0.0 is better.)
Definition: Location.hpp:12
double bearing
Bearing in radians.
Definition: Location.hpp:21
double y
Y coordinate.
Definition: Location.hpp:27
Location represents an X/Y/Bearing location.
Definition: Location.hpp:9
unsigned int index
Index counter.
Definition: Location.hpp:18


fiducial_lib
Author(s): Wayne Gramlich
autogenerated on Thu Dec 28 2017 04:06:53