# Why GetBounds() for sphere is different than sphere radius? What is the logic?

**URL:** https://discourse.paraview.org/t/why-getbounds-for-sphere-is-different-than-sphere-radius-what-is-the-logic/3006
**Category:** ParaView Support
**Created:** [November 19, 2019, 1:38pm UTC](https://discourse.paraview.org/t/why-getbounds-for-sphere-is-different-than-sphere-radius-what-is-the-logic/3006 "2019-11-19T13:38:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Richard](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@Richard](https://discourse.paraview.org/u/Richard)
#### Post date: [November 19, 2019, 1:38pm UTC](https://discourse.paraview.org/t/why-getbounds-for-sphere-is-different-than-sphere-radius-what-is-the-logic/3006/1 "2019-11-19T13:38:27Z")

</div>

```
>>> sphere.Radius = 0.5
>>> print(sphere.GetDataInformation().GetBounds())
(-0.48746395111083984, 0.48746395111083984, -0.48746395111083984, 0.48746395111083984, -0.5, 0.5)

```

Thank you

---

<div class="post-metadata">

### Author: ![Andy\_Bauer](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andy_bauer/32/5442_2.png) [@Andy\_Bauer](https://discourse.paraview.org/u/Andy_Bauer)
#### Post date: [November 19, 2019, 1:42pm UTC](https://discourse.paraview.org/t/why-getbounds-for-sphere-is-different-than-sphere-radius-what-is-the-logic/3006/2 "2019-11-19T13:42:58Z")

</div>

The sphere source is a discretization of a sphere and thus only approximate. If you increase the `Theta Resolution` and/or the `Phi Resolution` you should get closer to the true requested radius.

Andy

---

<div class="post-metadata">

### Author: ![Richard](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@Richard](https://discourse.paraview.org/u/Richard)
#### Post date: [November 19, 2019, 1:50pm UTC](https://discourse.paraview.org/t/why-getbounds-for-sphere-is-different-than-sphere-radius-what-is-the-logic/3006/3 "2019-11-19T13:50:19Z")

</div>

Thank you that make sense
