| 4489 | //------------------------------------------------------------------------------ |
| 4490 | |
| 4491 | void OpenPathsFromPolyTree(const PolyTree& polytree, Paths& paths) |
| 4492 | { |
| 4493 | paths.resize(0); |
| 4494 | paths.reserve(polytree.Total()); |
| 4495 | //Open paths are top level only, so ... |
| 4496 | for (size_t i = 0; i < polytree.ChildCount(); ++i) |
| 4497 | if (polytree.Childs[i]->IsOpen()) |
| 4498 | paths.push_back(polytree.Childs[i]->Contour); |
| 4499 | } |
| 4500 | //------------------------------------------------------------------------------ |
| 4501 | |
| 4502 | std::ostream& operator<<(std::ostream& s, const IntPoint& p) |
nothing calls this directly
no test coverage detected