How to fill the closed region with solid color

lcfactorization shared this question 3 years ago
Answered

Below the closed region with red boundaries is constructed by:


two splines, one segment at the bottom and one circular arc on the top.


I tried

    locus

command which didnot work.

    IntegralBetween


Is there any command can help for such cases?


6ab31451a478001d15c243f57e5a6719


https://ggbm.at/1576595

Comments (4)

photo
1

Hi, using integrals, functions "up" and "dow" and convex regions from arcs and splines.

https://ggbm.at/1576597

photo
1

thank you @miir it works again!


However, such method:


1) is not so intuitive, I mean, too far away from human intuition in such an interactive software;

2) once I need to rotate the filled region, the IntegralBetween related part has to be redefined;


Is it possible to create some general method something like the

    Locus

command?


I am not clear about the algorithm or the implementation, and curious about why it is difficult via

    Locus

:smiley_cat:


Hi, using integrals, functions "up" and "dow" and convex regions from arcs and splines.

photo
1

Hi, another way without integrals and locus : using parametric curves. It's not easier but more robust.

https://ggbm.at/1576847

photo
1

:smiley_cat:


thank you; I am lost in compound definitions which work just fine.


Hi, another way without integrals and locus : using parametric curves. It's not easier but more robust.

© 2019 International GeoGebra Institute