note:I am not sure if this questions belongs here, if appropriate please move to appropriate stackexchange site.
I am developing a multiplayer game.
What I want to maintain in my code : 2d clusters.
What are clusters: they are aggregation of users (a convex hull around users).
What is a user : a user has a x,y position and an envelope around him which he can influence. The envelope can be ideally a circle, whose radius is how far he can see. Every user envelope in a cluster should intersect with at least one others envelope in the same cluster.
In the figure I have 4 clusters.
2nd and 3rd figure shows how new clusters will be formed as users move.
As users move around clusters will split, or merge to maintain above property.
I want to know if "kinetic convex hull" is the right area where I should be looking to find a solution to implement such a cluster maintenance in my c++ game code.
Note: Also I am reading about the kinetic convex hulls right now, and I havent finished it, but I think that it deals with forming a convex hull around a fixed set of points. I need that, but what I also needs is splitting the hull into two or more when user's envelope inside the hull doesnt intersect with others envelope inside the same hull.For example A in the 3rd picture above.