18 if (linear_tolerance < 0) {
21 if (angular_tolerance < 0) {
27 if (this->map_id != other_loc.map_id)
31 if (sqrt(pow((this->x - other_loc.x), 2) + pow((this->y - other_loc.y), 2)) > linear_tolerance)
36 if (angular_tolerance != std::numeric_limits<double>::infinity())
45 double diff = other_loc.theta - this->theta + 180.0;
48 if (fabs(
diff) > angular_tolerance)
51 double angle1 = normalize_angle(this->theta);
52 double angle2 = normalize_angle(other_loc.theta);
53 double diff = angle1 - angle2;
55 if (fabs(
diff) > angular_tolerance)
int diff(std::string contextName, folderType fType, bool verbose)