Add a generic editor config file to OTB sources to facilitate IDE code formatting. editorconfig is a generic tool with plugins for a number of IDEs.
It should facilitate code formatting of otb sources. I've tested the emacs plugin which works well.
Classes and files
Give an overview of the implementation: main changes made to classes, files and modules. Do not paste complete diff, as it is available in the merge request already.
Describe any changes made to existing applications, or new applications that have been added.
Describe the testing strategy for new features.
List or link documentation modifications that were made (doxygen, example, Software Guide, application documentation, CookBook).
List remaining open issues if any, and additional notes.
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement