Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Clipping Algorithms

13 views
Skip to first unread message

luser- -droog

unread,
Aug 23, 2013, 12:37:25 AM8/23/13
to

Hodgman-Sutherland works on convex clipping regions,
requiring additional code to decompose concave paths
into multiple convex paths. Can operate upon a concave
path.

Weiler-Atherton works on concave clipping regions
and concave paths.

Vatti algorithm makes amazing claims, but I haven't dug
up any useful details, yet.


So far, I've just borrowed Cassleman's hodgman-sutherland
code. It's not clear to me how to coordinate the two
winding-rules with any of the above. Postscript, of course,
offers all its relevant operators in pairs: fill/eofill,
clip/eoclip.
0 new messages