| 378 | } |
| 379 | |
| 380 | void ClipperOffset::OffsetOpenJoined(Group& group, const Path64& path) |
| 381 | { |
| 382 | OffsetPolygon(group, path); |
| 383 | Path64 reverse_path(path); |
| 384 | std::reverse(reverse_path.begin(), reverse_path.end()); |
| 385 | |
| 386 | //rebuild normals |
| 387 | std::reverse(norms.begin(), norms.end()); |
| 388 | norms.emplace_back(norms[0]); |
| 389 | norms.erase(norms.begin()); |
| 390 | NegatePath(norms); |
| 391 | |
| 392 | OffsetPolygon(group, reverse_path); |
| 393 | } |
| 394 | |
| 395 | void ClipperOffset::OffsetOpenPath(Group& group, const Path64& path) |
| 396 | { |
nothing calls this directly
no test coverage detected