artem-ogre / CDT

Constrained Delaunay Triangulation (C++)
https://artem-ogre.github.io/CDT/
Mozilla Public License 2.0
947 stars 125 forks source link

how can I control vertex count? #131

Closed hyungshin-park closed 1 year ago

hyungshin-park commented 1 year ago

Can I increase the number of vertices? If possible, which parameters should I modify? Is it possible to fill the inside of the boundary as densely as shown in the left image? image

artem-ogre commented 1 year ago

Hello, @hyungshin-park

Currently CDT can only perform triangulation and does not implement any triangulation refinement. Maybe you could calculate the additional points yourself and then insert them into the triangulation.

See also: #7

hyungshin-park commented 1 year ago

Thanks, Then the left image must have been calculated the additional points, right?

artem-ogre commented 1 year ago

Yes, on the left image all the points are part of the input.