| 238 | } |
| 239 | |
| 240 | static inline double PointDist( |
| 241 | double x1, // in |
| 242 | double y1, // in |
| 243 | double x2, // in |
| 244 | double y2) // in |
| 245 | { |
| 246 | CV_Assert(PointUsed(x1, y1)); |
| 247 | CV_Assert(PointUsed(x2, y2)); |
| 248 | |
| 249 | return sqrt(SQ(x1 - x2) + SQ(y1 - y2)); |
| 250 | } |
| 251 | |
| 252 | static inline double PointDist( |
| 253 | const Shape& shape1, // in: the first shape |
no test coverage detected