The pin-line, pin-arrow-line, pin-arrows-line, and pip-arrow-line functions fail with an internal error when the source and destination are at the same location because it attempts to calculate the angle between the two with atan which fails on (atan 0 0). This commit uses an angle of 0 in this edge case.
The
pin-line
,pin-arrow-line
,pin-arrows-line
, andpip-arrow-line
functions fail with an internal error when the source and destination are at the same location because it attempts to calculate the angle between the two withatan
which fails on(atan 0 0)
. This commit uses an angle of0
in this edge case.