startin icon indicating copy to clipboard operation
startin copied to clipboard

if duplicates, then let user choose which z-value should be kept

Open hugoledoux opened this issue 2 years ago • 3 comments

  • first
  • latest
  • highest
  • lowest
  • average is not possible I guess

hugoledoux avatar Dec 21 '23 10:12 hugoledoux

Could you clarify the context? What duplicates, in what call?

evetion avatar Dec 21 '23 17:12 evetion

duplicates in x-y so insertion where a vertex already exists.

Right now the first insertion is what stays, but some applications (creation of a DSM eg) would benefit from another behaviour.

hugoledoux avatar Dec 21 '23 17:12 hugoledoux

Done in 5e9f626517ce4943e61865bc11f751aca813ad4f

It's a new attribute of the Triangulation struct that can be setup with set_duplicates_handling() and there are four choices:

  1. First (default)
  2. Last
  3. Highest
  4. Lowest

hugoledoux avatar Jan 15 '24 11:01 hugoledoux