Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 684 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 684 Bytes

Geometric-Algorithms

C++ implementation for all sorts of computational geometry problems. App Demo

Dependencies

I use OpenCV for point types and displaying results.

Implemented Algorithms

  • Graham's scan
  • Jarvis march
  • Chan's algorithm
  • Right tangent between a convex polygon and a query point
  • Maximal dot product (support) between a convex polygon and a query point
  • Check if some polygon is a CCW convex hull
  • Orientation test
  • Line intersection test
  • Constructing a polygon from n points
  • Generating a random polygon
  • Visualizing polygons and query points

To Do

  • Add tests
  • Clean the code