3d - Concave Polygon Line Clipping without Degenerate Edges -


i have search , researched internet last days find suitable method problem.

problem:

clip concave polygon against infinite line without direction (actually polygon against plane in 3d problem similar think). use sutherland-hodgman resulting polygons contains zero-area parts created degenerate edges , not support polygons containing holes.

the best algorithm have found solve problem weiler-atherton algorithm clipping against polygon clockwise edges , have infinite line (in 3d plane) missing direction info.

question:

is there algorithm clip concave polygon suits needs or have suggestion on how modify weiler-atherton algorithm work case? there webpages suggests can generalized support more cases can not figure out.

//regards eiken

found suitable algorithm in graphic gems v solves problem. if have same problem reference:

glassner, a., ''clipping concave polygon'' , in graphics gems v, a. paeth, ed., academic press, cambridge, 1995


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -