| 132 | } |
| 133 | |
| 134 | void FeatureExtractor::angleDistToPoint(const rcsc::Vector2D &self, |
| 135 | const rcsc::Vector2D &point, |
| 136 | float &ang, float &dist) { |
| 137 | Vector2D d = point - self; |
| 138 | ang = d.th().radian(); |
| 139 | dist = d.r(); |
| 140 | } |
| 141 | |
| 142 | float FeatureExtractor::angleBetween3Points(const rcsc::Vector2D &point1, |
| 143 | const rcsc::Vector2D ¢erPoint, |
nothing calls this directly
no outgoing calls
no test coverage detected