------------------------------------------------------------------------------------- // a random angle between 0 and 2 pi
| 75 | // ------------------------------------------------------------------------------------- // |
| 76 | // a random angle between 0 and 2 pi |
| 77 | double getRandomAngle() { |
| 78 | static std::uniform_real_distribution<double> uniformDistribution(0.0, |
| 79 | 2. * M_PI); |
| 80 | return uniformDistribution(randomEngine); |
| 81 | } |
| 82 | |
| 83 | // the closest distance from a point to the end points of an entity |
| 84 | double getEndPointDistance(const RS_Vector& point, const RS_Entity& entity) |
no outgoing calls
no test coverage detected