Skip to content

Commit

Permalink
Add a get for duplicates_handling
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoledoux committed Jan 16, 2024
1 parent 787966a commit 01fbd8e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,11 @@ impl Triangulation {
self.duplicates_handling = method;
}

/// Get the method to used to handle duplicates
pub fn get_duplicates_handling(&self) -> String {
self.duplicates_handling.to_string()
}

/// Insert a [`Vec`] of [`array`] (`[f64; 3]`) values.
/// If [`InsertionStrategy::AsIs`] is used, then [`Triangulation::insert_one_pt()`] is called
/// for each point in the order given.
Expand Down

0 comments on commit 01fbd8e

Please sign in to comment.