dr-jts / jts

The JTS Topology Suite is a Java library for creating and manipulating vector geometry.
Other
22 stars 6 forks source link

Annotations while porting overlay-sr for NetTopologySuite #4

Closed FObermaier closed 3 years ago

FObermaier commented 4 years ago

While porting the overlay-sr branch to NetTopologySuite I came across some issues which I'm going to report here:

dr-jts commented 4 years ago

Thanks for the comments.

dr-jts commented 4 years ago

And I'm keen to hear how OverlayNG works in NTS! Be sure and try out the recent addition of SnappingNoder - it seems to solve all robustness problems with no impact on performance.

FObermaier commented 4 years ago

Are you suggesting using e.g. nextResult and setNextResult ?

Yes, when porting I was wondering whether those refer to the same thing. In C# we use properties for these simple functions, which makes using different names awkward.

And I'm keen to hear how OverlayNG works in NTS!

This is currently work in progress: https://github.com/NetTopologySuite/NetTopologySuite/pull/412

dr-jts commented 4 years ago

Are you suggesting using e.g. nextResult and setNextResult ?

Yes, when porting I was wondering whether those refer to the same thing. In C# we use properties for these simple functions, which makes using different names awkward.

I'll change the setter names.

This is currently work in progress: NetTopologySuite/NetTopologySuite#412

Thanks. Just be aware that the code hasn't been officially released yet, so there may well be more renaming and refactoring.

dr-jts commented 4 years ago

Setter names changed: https://github.com/dr-jts/jts/commit/fc6c47d1d0d23496826d8777e036a585587eee3d