I have a closed curve, say:
curve = BSplineCurve[{{-0.1, -0.2}, {0.9,
1.1}, {0.9, -1.2}, {-0.8, -1.2}, {-1.1, 1.1}, {-0.1, -0.2}},
SplineClosed -> True];
Graphics[curve, Axes -> True, ImageSize -> Small]
I want to build a Region from its interior.
At first I build a filled curve:
filledcurve = FilledCurve[{curve}];
Graphics[{Lighter[Gray], filledcurve}, Axes -> True,ImageSize->Small]
..., which is not yet a Region:
RegionQ[filledcurve]
False
How can I get a Region from filledcurve? Region[filledcurve] does not work. It is "not a correctly specified region":
Region[filledcurve]
During evaluation of In[321]:= Region::reg: FilledCurve[{BSplineCurve[{{-0.1,-0.2},{0.9,1.1},{0.9,-1.2},{-0.8,-1.2},{-1.1,1.1},{-0.1,-0.2}},SplineClosed->True]}]
is not a correctly specified region.