mirror of https://github.com/CGAL/cgal
Rename invalidate_built to invalidate_build.
This commit is contained in:
parent
e5c8142bcf
commit
49dc0855cd
|
|
@ -109,7 +109,7 @@ explicit call to `build()` or implicitly by the next query or removal. The only
|
|||
reason to call this function explicitly is to rebalance the tree after some
|
||||
number of removals.
|
||||
*/
|
||||
void invalidate_built();
|
||||
void invalidate_build();
|
||||
/// @}
|
||||
|
||||
/// \name Operations
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@ public:
|
|||
build()
|
||||
{
|
||||
// This function is not ready to be called when a tree already exists, one
|
||||
// must call invalidate_built() first.
|
||||
// must call invalidate_build() first.
|
||||
CGAL_assertion(!is_built());
|
||||
CGAL_assertion(!removed_);
|
||||
const Point_d& p = *pts.begin();
|
||||
|
|
@ -312,7 +312,7 @@ public:
|
|||
return built_;
|
||||
}
|
||||
|
||||
void invalidate_built()
|
||||
void invalidate_build()
|
||||
{
|
||||
if(removed_){
|
||||
// Walk the tree to collect the remaining points.
|
||||
|
|
@ -335,7 +335,7 @@ public:
|
|||
|
||||
void clear()
|
||||
{
|
||||
invalidate_built();
|
||||
invalidate_build();
|
||||
pts.clear();
|
||||
removed_ = false;
|
||||
}
|
||||
|
|
@ -343,7 +343,7 @@ public:
|
|||
void
|
||||
insert(const Point_d& p)
|
||||
{
|
||||
invalidate_built();
|
||||
invalidate_build();
|
||||
pts.push_back(p);
|
||||
}
|
||||
|
||||
|
|
@ -351,7 +351,7 @@ public:
|
|||
void
|
||||
insert(InputIterator first, InputIterator beyond)
|
||||
{
|
||||
invalidate_built();
|
||||
invalidate_build();
|
||||
pts.insert(pts.end(),first, beyond);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue