get Rectangle Corners
Converts a rectangle with two points and a width to a polygon that contains the four corners of the rectangle
Parameters
endpoints
the two end points of the rectangle
width
the width of the rectangle
Converts a rectangle with two points and a width to a polygon that contains the four corners of the rectangle
the two end points of the rectangle
the width of the rectangle