Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 1.67 KB

README.md

File metadata and controls

48 lines (28 loc) · 1.67 KB

assignment-4

For this assignment, you should implement a module that solves a problem related to either polygons or range searching; or implements some sort of sweep line method.

Projects

Author: Daniel Melanz

The region quadtree represents a partition of space in two dimensions by decomposing the region into four equal quadrants, subquadrants, and so on with each leaf node containing data corresponding to a specific subregion.

Author: Hana Sarbortova

Compute distance of a point from an arbitrary shaped polygon (either perpendicular distance from a line segment (if projection exists) or distance from the nearest vertex)

Author: Michael Doescher

Report all box overlaps using a sweep-line algorithm.

Author: Yung-Hsien Chu

Find line intersections using sweep line test, return points of the intersections.

Author: Richard Gaggioli

Checks if a point is within a polygon.

Ideas

  • Robust point in polygon tests using exact arithmetic
  • Sweep line test to find crossings between line segments
  • Other sweep-line algorithms; ie report all box overlaps.
  • Fast point in polygon tests for special kinds of shapes (convex, star shaped, monotone, etc.)
  • Optimized kdtrees or range trees for arbitrary dimensions

What you need to do

Fork this repository and claim a project, just like before.