Add clean!(::Triangulation) and clean!(::VoronoiTessellation) (with better names)
              
              #150
            
            
                  
                    
                      DanielVandH
                    
                  
                
                  started this conversation in
                Ideas
              
            Replies: 2 comments
-
| 
         Might not be able to do this in-place since not every users point set will be mutable. Maybe just make two methods repair and repair!, where repair will recreate the triangulation and make a new point set as a vector of tuples  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         Repair is a bad name incase I want to implement e.g. shewchuks repair algorithm for perturbed data  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
These methods would redefine the connectivities and the point lists so that only points in the triangulation/tessellation are included in the connectivities. It would also remove any empty features like in https://github.com/JuliaGeometry/DelaunayTriangulation.jl/blob/d3bdb2e9d5518bf00748e26a1d28b745289ed082/src/algorithms/triangulation/basic_operations/clear_empty_features.jl
cc: @juliohm
Beta Was this translation helpful? Give feedback.
All reactions