Skip to content

Commit 3631f18

Browse files
Add non const overload PolyPath64::Polygon()
1 parent c86619c commit 3631f18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CPP/Clipper2Lib/include/clipper2/clipper.engine.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,8 @@ namespace Clipper2Lib {
373373

374374
const Path64& Polygon() const { return polygon_; };
375375

376+
Path64& Polygon() { return polygon_; };
377+
376378
double Area() const
377379
{
378380
return std::accumulate(childs_.cbegin(), childs_.cend(),

0 commit comments

Comments
 (0)