The object is placed in A and wants to go to B. I want to calculate there a motion vector that does not move within the distance D of the points that will be avoided in the array C.
So, if the displacement vector (BA), normalized and multiplied by the speed of the objects, leads it to D at any point in C, the vector will be rotated so that it does not.
It is in two dimensions. Also, if this operation has a name, make a comment or edit this question yourself, since I had no idea how to call it.
In addition, my first instinct was to divide the active region into nodes and run A *, but I want to try the mathematical approach on this, several experiments with flocking give me the impression that this can be done.
Refresh (from comments): This image is very close to the solution I want:

Assuming that we start at a point on the left, we begin to turn right towards the target (another point), we find a wall on the right so that we stop turning and move forward. The wall was gone, so we were allowed to start moving towards the goal again and so on. I know that this can cause the object to not get there at all, but I want to determine the behavior , not necessarily the solution , if you know what I mean.
Update2 : translating the active area into a set of nodes may be ineffective. A * and other heuristic graph traversal algorithms are great for small-dimensional problems. But the area that I want to resettle is infinite in size and has only a few obstacles scattered around it. The nodes themselves, or rather, potential positions, are infinitely small. Of course, this could be optimized using a quad tree, but I have a feeling that simple motion vectors that somehow rotate and interpolate can also solve this problem.