How do I convert a translated filled curve into a region?
It works without translation:
a = FilledCurve[{{{1, 3, 2}}}, {{{0, 0}, {1/2, 1}, {1, 0}}}] // Graphics
a // DiscretizeGraphics // Region
It does not work with translation for no reason (since b
is output of Graphics
the same way as is a
):
b =
Translate[
FilledCurve[{{{1, 3, 2}}}, {{{0, 0}, {1/2, 1}, {1, 0}}}], {0, 1}] // Graphics
b // DiscretizeGraphics // Region
Translate
,Rotate
, etc., are computed in the GPU when the graphics are display, and there is no way (AFAIK) to convert them toNormal
graphics. To me, it seems a gap in Mathematica's functionality. $\endgroup$