mirror of https://github.com/CGAL/cgal
add is_empty function to indicated that no landmarks where generated
This commit is contained in:
parent
8057032188
commit
73c28d947c
|
|
@ -90,6 +90,8 @@ protected:
|
|||
bool updated;
|
||||
int num_small_not_updated_changes;
|
||||
|
||||
public:
|
||||
bool is_empty() const { return nn.is_empty(); }
|
||||
private:
|
||||
|
||||
/*! Copy constructor - not supported. */
|
||||
|
|
|
|||
|
|
@ -156,6 +156,9 @@ protected:
|
|||
Tree *m_tree; // The search tree.
|
||||
bool m_is_empty; // Is the search tree empty.
|
||||
|
||||
public:
|
||||
bool is_empty() const{ return m_is_empty; }
|
||||
|
||||
private:
|
||||
|
||||
/*! Copy constructor - not supported. */
|
||||
|
|
|
|||
Loading…
Reference in New Issue