How to triangulate / tesselate some forms in Java?

I want to snap the country shape from GeoTools to display it in 3D on the surface of the Earth. GeoTools uses a set of JTS topologies, inside which there are many functions.

Does it include some form of tesselate utility? I see that there is a triangulation package, but I can’t figure out how to use it for shapes with holes.

Also, I do not just connect existing vertices with it, as here

enter image description here

he should fill the form with several vertices inside.

UPDATE

, JTS ConformingDelaunayTriangulationBuilder, - , . , , , . , .

, ConstraintEnforcementException , , .

"" , C

enter image description here

, Java ?

+4

Source: https://habr.com/ru/post/1540134/


All Articles