Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

Neraxis's blog

By Neraxis, history, 6 years ago, In English

Anyone can share to me implementation of this problem: Given two convex polygons, compute their intersection.

Many thanks.

  • Vote: I like it
  • +11
  • Vote: I do not like it

»
6 years ago, hide # |
 
Vote: I like it +26 Vote: I do not like it

Search for halfplanes intersection and keep in mind that you don't need to sort lines (segments).