Given the union of convex objects and the point p inside this union, how to find the nearest point on the (concave) surface of the union of p ?
Why can I easily find the closest point on the surface of one convex object, this is the union of several that give me problems.
EDIT: I'm sorry, I was referring to a union of objects, not an intersection :( I apologize to everyone who answered.
EDIT2: Here, a small image describing the situation gives AakashM, a is the closest point on surface A from O, b is the closest point on surface B from O, and x is the point I'm really looking for (O == p ).

My objects are not polygonal objects, but lines with a radius (I think the term capsule is sometimes used for this, but I donβt know if this term is generally accepted).
algorithm geometry
Andreas Brinck
source share