This is code for program, which calculates 2d contour points of polygonal data in CUDA C