# I have several bubbles and how to find the bounds Xmin and Xmax of one of them If I know the coordinate a point belonging to the bubble?

**URL:** https://discourse.paraview.org/t/i-have-several-bubbles-and-how-to-find-the-bounds-xmin-and-xmax-of-one-of-them-if-i-know-the-coordinate-a-point-belonging-to-the-bubble/5439
**Category:** ParaView Support
**Tags:** python, vtk
**Created:** [September 28, 2020, 11:56am UTC](https://discourse.paraview.org/t/i-have-several-bubbles-and-how-to-find-the-bounds-xmin-and-xmax-of-one-of-them-if-i-know-the-coordinate-a-point-belonging-to-the-bubble/5439 "2020-09-28T11:56:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sharaborin](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/9de053/32.png) [@sharaborin](https://discourse.paraview.org/u/sharaborin)
#### Post date: [September 28, 2020, 11:56am UTC](https://discourse.paraview.org/t/i-have-several-bubbles-and-how-to-find-the-bounds-xmin-and-xmax-of-one-of-them-if-i-know-the-coordinate-a-point-belonging-to-the-bubble/5439/1 "2020-09-28T11:56:32Z")

</div>

Dear All,

I am trying to find the range Xmin and Xmax coordinates of a bubble. The problem is “I have several bubbles: one big and several super small bubbles”. When I try to call  
`bounds = contour1.GetDataInformation().GetBounds()`  
These small bubbles are lagging and give incorrect bounds. So, how to find the edges of a subdomain in **multi-connected region** if I give information about one point inside of this subdomain?

Best regards,  
Evgenii

---

<div class="post-metadata">

### Author: ![Dave\_DeMarle](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dave_demarle/32/27_2.png) [@Dave\_DeMarle](https://discourse.paraview.org/u/Dave_DeMarle)
#### Post date: [September 28, 2020, 12:40pm UTC](https://discourse.paraview.org/t/i-have-several-bubbles-and-how-to-find-the-bounds-xmin-and-xmax-of-one-of-them-if-i-know-the-coordinate-a-point-belonging-to-the-bubble/5439/2 "2020-09-28T12:40:56Z")

</div>

Perhaps the connectivity filter is called for here?

I don’t know the details of your data and pipeline, but once upon a time I used the connectivity filter to demarcate individual droplets in a CFD sim output and then the threshold filter to isolate specific droplets so that I could extract the bounding boxes to get an idea for droplet location and size.

hth
