Rick, This algorithm can apply to any 2-D polygon ? I know PROC GINSIDE can do the same thing (include the example of this blog).