# Circle resolution/approximation

**URL:** <https://community.freefem.org/t/circle-resolution-approximation/2017>\
**Category:** General Discussion\
**Created:** [September 19, 2022, 8:49pm UTC](https://community.freefem.org/t/circle-resolution-approximation/2017 "2022-09-19T20:49:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xanfus](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/xanfus/32/963_2.png) [@xanfus](https://community.freefem.org/u/xanfus)\
**Post date:** [September 19, 2022, 8:49pm UTC](https://community.freefem.org/t/circle-resolution-approximation/2017/1 "2022-09-19T20:49:58Z")

</div>

My mesh is dense, but circle boundary doesn’t correspond to mesh by resolution. Can circle boundary be more round?

 ![CircleResolution](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/c/c408b82f922c5a173ab6a6f090d493dd58663dca.jpeg)

---

<div class="post-metadata">

**Author:** ![aszaboa](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/aszaboa/32/2918_2.png) [@aszaboa](https://community.freefem.org/u/aszaboa)\
**Post date:** [September 20, 2022, 6:12am UTC](https://community.freefem.org/t/circle-resolution-approximation/2017/2 "2022-09-20T06:12:10Z")

</div>

If you are creating the geometry using the FreeFem commands `border` + `buildmesh`, then just prescribe more points for the corresponding border.

---

<div class="post-metadata">

**Author:** ![xanfus](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/xanfus/32/963_2.png) [@xanfus](https://community.freefem.org/u/xanfus)\
**Post date:** [September 22, 2022, 4:28am UTC](https://community.freefem.org/t/circle-resolution-approximation/2017/3 "2022-09-22T04:28:00Z")

</div>

I use 320 points for border “wire” (non-meshed area). Do i have to introduce point number at border definition stage?

int nwire = 320;  
border wire(t=0.0, 2_pi){x=r_cos(t); y=h+r\*sin(t); label = ground2;}  
mesh amesh = buildmesh(  
wire(-nwire)+left(-nside)+right(nside)+top(-nsky)+bottom(nground)  
);

---

<div class="post-metadata">

**Author:** ![aszaboa](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/aszaboa/32/2918_2.png) [@aszaboa](https://community.freefem.org/u/aszaboa)\
**Post date:** [September 22, 2022, 5:19am UTC](https://community.freefem.org/t/circle-resolution-approximation/2017/4 "2022-09-22T05:19:24Z")

</div>

I think this solution should work.
