worked on signal-strength-estimation

add this information to grid nodes
evaluate this information
new test-cases
This commit is contained in:
2016-07-15 15:29:07 +02:00
parent 34e52cd7f0
commit 99ee95ce7b
21 changed files with 568 additions and 26 deletions

View File

@@ -48,8 +48,15 @@ struct GridPoint {
return std::sqrt(dx*dx + dy*dy + dz*dz);
}
/** cast to Point3 */
operator Point3() const {return Point3(x_cm, y_cm, z_cm);}
///** cast to Point3 */
//operator Point3() const {return Point3(x_cm, y_cm, z_cm);}
/** convert to Point3 in centimeter */
Point3 inCentimeter() const {return Point3(x_cm, y_cm, z_cm);}
/** convert to Point3 in meter */
Point3 inMeter() const {return Point3(x_cm/100.0f, y_cm/100.0f, z_cm/100.0f);}
/** cast to string */
operator std::string() const {return "(" + std::to_string(x_cm) + "," + std::to_string(y_cm) + "," + std::to_string(z_cm) + ")";}