| 168 | //------------------------------------------------------------------------------ |
| 169 | |
| 170 | int PolyTree::Total() const |
| 171 | { |
| 172 | int result = (int)AllNodes.size(); |
| 173 | //with negative offsets, ignore the hidden outer polygon ... |
| 174 | if (result > 0 && Childs[0] != AllNodes[0]) result--; |
| 175 | return result; |
| 176 | } |
| 177 | |
| 178 | //------------------------------------------------------------------------------ |
| 179 | // PolyNode methods ... |
no test coverage detected