[MeshLib] Use free functions instead of object methods.
This makes the implementation of the elements more uncoupled.
-
Feature description was added to the changelog -
Tests covering your feature were added? - All the existing test run. -
Any new feature or behavior change was documented? - No new behavoir.