Code for finding features on interfaces.
Code from Maximum Distance Problem and Minimal Spanning Trees.