Skip to content

Geometrical algorithm for finding the first intersection point of two simple polygons

License

Notifications You must be signed in to change notification settings

ntrivix/Collision-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collision-Detection

Geometrical algorithm for finding the first intersection point of two simple polygons

Problem solved with this project

Write a program that, given two simple and disjoint polygons P and Q, where P lies strictly to the left of Q, computes the first points on the polygons that will collide if P is translated horizontally and in the positive x-direction, or determines that they do not collide. Upper bounds: O((n+m) log(n+m)) time, where n=|P| and m=|Q|. alt tag

About

Geometrical algorithm for finding the first intersection point of two simple polygons

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages