A path is defined as a list of 2D points (x,y) (and may be open or closed).Given a path p, what is an algorithm which generates a path p' which is inside p and at constant offset to p i.e. each line segment of p' is parallel to the corresponding line segment of p.
Algorithm to generate parallel path inside polygon
algorithms