An Intermediate Level Representation Scheme for Secondary Features Recognition and B-rep Model Simplification.