added method to know if a spatial indexing structure is empty or not

This commit is contained in:
Paolo Cignoni 2010-11-09 08:15:14 +00:00
parent 070c47b0a5
commit 8446d9f566
1 changed files with 14 additions and 0 deletions

View File

@ -95,6 +95,20 @@ public:
(void)_oEnd;
}
/**************************************************************************
Method Empty.
Description:
check if the spatial structure is empty.
Return Value:
true if it is empty.
**************************************************************************/
bool Empty() {
assert(0); // this is a base interface.
return true;
}
/**************************************************************************
Method GetClosest.