Please define getMeshSize() also in GEdge.h (as it is in GFace.h)
My code (EmCAD) defines the initial (before refinement) mesh size of the geometric entities depending on their electrical permittivity/permability. For 2D mesh the mesh size of a GFace can be easily assigned using gface.meshAttributes.meshSize. But this doesn't work with a GEdge. In fact I have to assign a meshSize to the edge vertices but this strategy may lead to excessive refinement on adjacent edges sharing the same vertex. Working with small dielectrics with a very high permittivity attached to larger structures I get a very dense mesh in regions where I do not need such a resolution. Having the possibility to assign the mesh size directly to the edge entity (instead of using its vertices) would solve my problem.