1 #ifndef __NTREENODE_GEOMETRIC_ADT_3D_INT__
2 #define __NTREENODE_GEOMETRIC_ADT_3D_INT__
11 #include OV_STD_INCLUDE(iostream)
32 for (
int i=0; i<2; i++) leaves[i] = node_.leaves[i];
40 inline int add(
int d);
41 inline int del(
int nDel);
179 AssertException<InvalidNode> (isValid == 1);
185 for (
int d=0; d<2; d++)
214 while(d<2 && leaves[d]!=
NULL)
222 AssertException<TreeDegreeViolation> (d<2 && d>=0);
223 AssertException<NodeFullError> (leaves[d]==
NULL);
257 AssertException<TreeDegreeViolation> (d<2 && d>=0);
258 AssertException<NodeFullError> (leaves[d]==
NULL);
290 AssertException<TreeDegreeViolation> (d<2 && d>=0);
291 AssertException<NodeFullError> (leaves[d]==
NULL);
320 AssertException<TreeDegreeViolation> (nDel>=0 && nDel<2);
324 if (leaves[nDel]!=
NULL) {
372 AssertException<TreeDegreeViolation> (d<2 && d>=0);
401 AssertException<TreeDegreeViolation> (d<2 && d>=0);
404 return leaves[d] !=
NULL;
442 for (
int d=0; d<2; d++)
499 AssertException<TreeDegreeViolation> (d<2 && d>=0);
527 AssertException<TreeDegreeViolation> (d<2 && d>=0);