Post

Replies

Boosts

Views

Activity

Comment on How to set instance of a property of the same class type
I have decided to convert a lib into Swift since it's the one library that works for me in Android. And the Clipper libraries do not work with the data that I am using. The instance of "this" is the class itself. e.g. this class https://github.com/ChristianLutz/gpcj/blob/master/gpcj/src/main/java/com/seisw/util/geom/Clip.java line 1536. Currently, I added a setter method instead as a workaround. But i dont think it will work in this scenario PolySimple.java (please use same url) line 333
Feb ’23