Hi Darafei,
I am not a PostGIS, nor C(++) developer, so unfortunately can't
help with coding. I also have no idea of the technical
consequences of what I am asking here, so it is merely a
suggestion at this point.
"Subdivision should be done in target projection as a final step of processing."
I am just speaking as a GIS user here. I understand
'ST_Subdivide' is a kind of "end-of-pipeline" process.
However, the data coming out is simply not guaranteed to be used
in single "target projection" nowadays. With increasing usage of
WFS and vector tile services, the ability to reproject the data
resulting from 'ST_Subdivide', is of increasing value. Web
services or GIS's using the data primarily for "dumb" display, not
subsequent processing or geographical analysis, may be perfectly
happy with subdivided polygons (and may even need it for
performance reasons).
Hence it would be a kind of nice to have such an option to insert
an extra vertex, and allow "seamless/gap-less" reprojection to
another projection.
Marco