( self, handle : int )
| 198 | |
| 199 | |
| 200 | def HandleToRootLocation( self, handle : int ): |
| 201 | node_index = handle_to_index( handle ) |
| 202 | |
| 203 | if handle >= 0: |
| 204 | node = self._down_nodes[ node_index ] |
| 205 | else: |
| 206 | node = self._up_nodes[ node_index ] |
| 207 | |
| 208 | location_index = handle_to_location_index( handle ) |
| 209 | return node.ToRootLocation( location_index ) |
| 210 | |
| 211 | |
| 212 | def UpdateChangesRoot( self, handle : int, direction : str ): |
no test coverage detected