added functions to update parameters

This commit is contained in:
Dmitry Anisimov 2021-10-14 12:03:42 +02:00
parent 9d251eef0f
commit 61a6dff624
2 changed files with 8 additions and 0 deletions

View File

@ -239,6 +239,10 @@ namespace Point_set {
const Index_to_point_map& index_to_point_map() const { const Index_to_point_map& index_to_point_map() const {
return m_index_to_point_map; return m_index_to_point_map;
} }
void set_k(const std::size_t k) {
m_number_of_neighbors = k;
}
/// \endcond /// \endcond
private: private:

View File

@ -232,6 +232,10 @@ namespace Point_set {
const Index_to_point_map& index_to_point_map() const { const Index_to_point_map& index_to_point_map() const {
return m_index_to_point_map; return m_index_to_point_map;
} }
void set_sphere_radius(const FT sphere_radius) {
m_sphere_radius = sphere_radius;
}
/// \endcond /// \endcond
private: private: