Patent ID: 7287239

Claim:
A method of performing model-based optical proximity correction comprising: providing a mask matrix having a region of interest (ROI) with a boundary; locating a plurality of points of interest within said mask matrix; determining a first single loop polygon having a finite geometrical shape with a plurality of vertices representative of said located plurality of points of interest; and collapsing said first single loop polygon onto said ROI using an algorithm to form a second single loop polygon residing within said ROI to correct for optical proximity, said second single loop polygon formed by locating and determining locations of at least first and second vertices of said first single loop polygon in relation to said ROI, wherein if said locations comprise said first vertex residing within said ROI and said second vertex residing outside said ROI, the method including the steps of: pinning said second vertex to a closest point of intersection with said boundary of said ROI using said algorithm; assigning said first vertex to a first vertex of said second single loop polygon; assigning said pinned second vertex to a second vertex of said second single loop polygon; repeating said steps for all vertices of said first single loop finite geometrical shape; generating said second single loop polygon using said assigned vertices such that all vertices of said second single loop polygon residing within said ROI.