istance of *armA* and angle of *angleA* from point A, another point with respect to point B. The edges are rounded with *rad*. r