Sutherland–Hodgman algorithm: Difference between revisions

Content deleted Content added
No edit summary
Mhdadk (talk | contribs)
No edit summary
Line 42:
 
''ComputeIntersection'' is a function, omitted here for clarity, which returns the intersection of a line segment and an infinite edge. Note that it is only called if such an intersection is known to exist, and hence can simply treat both lines as being infinitely long.
 
==Implementations==
 
A Python implementation of the Sutherland-Hodgman can be found [https://github.com/mdabdk/sutherland-hodgman here].
 
==See also==