| 384 | } |
| 385 | |
| 386 | double py_polygon_area2( |
| 387 | const py::list& pts |
| 388 | ) |
| 389 | { |
| 390 | std::vector<dpoint> temp(len(pts)); |
| 391 | for (size_t i = 0; i < temp.size(); ++i) |
| 392 | temp[i] = pts[i].cast<dpoint>(); |
| 393 | |
| 394 | return polygon_area(temp); |
| 395 | } |
| 396 | |
| 397 | // ---------------------------------------------------------------------------------------- |
| 398 |
nothing calls this directly
no test coverage detected