isLeaves method
Tests if both elements of the pair are leaf nodes
@return true if both pair elements are leaf nodes
Implementation
bool isLeaves() {
return !(isComposite(boundable1) || isComposite(boundable2));
}
Tests if both elements of the pair are leaf nodes
@return true if both pair elements are leaf nodes
bool isLeaves() {
return !(isComposite(boundable1) || isComposite(boundable2));
}