Those files are quite old, and haven't been modified since, hence there some useless stuff in there.
This patch aims to clean the code up, remove redundancy, enforce coding conventions.
So far, removed useless include, renamed members consistently and ordered them,
Remove hardcoded pi constant and use M_PI as done elsewhere.
Replaced NULL by nullptr, Should I just go for !variable ?
Should I use iterators where possible ?
Should I make a getSchema static method as it's done for other components ?