Add support for Rotated rectangles to plot profile by effectively doing a line profile over the space, utilizing Line.PointIterators to discretize the space.
It has some quirks at small angles but otherwise works like expected.
The logic to detect the RotatedRectangle could be cleaner by checking a type, but I am unsure if that can be implemented without breaking backward compatibility.
Add support for Rotated rectangles to plot profile by effectively doing a line profile over the space, utilizing Line.PointIterators to discretize the space.
It has some quirks at small angles but otherwise works like expected.
The logic to detect the RotatedRectangle could be cleaner by checking a type, but I am unsure if that can be implemented without breaking backward compatibility.