[mr3209] Add GetExactDistance2d extendable to script lib for scripting purposes.