twak / chordatlas

data driven urban procedural modeling
https://twak.org/project/frankengan/
Apache License 2.0
110 stars 27 forks source link

Use java topology suite to recess all windows on a single wall #6

Open twak opened 6 years ago

twak commented 6 years ago

we can only recess windows into a rectangular section of wall (rest are dormer). We should fix this.

JTS looks like it can handle the geometry. How do we robustly triangulate the results?

twak commented 6 years ago

better triangulator: http://sites-final.uclouvain.be/mema/Poly2Tri/ https://github.com/orbisgis/poly2tri.java is mvnised: https://mvnrepository.com/artifact/org.orbisgis/poly2tri/0.1.2