4.1 KiB
4.1 KiB
slug | title | author | order |
---|---|---|---|
/plat/geo | Geometry | Benjamin Qi | 4 |
Geometry primitives and convex hull.
Primitives
You should know basic operations like cross product and dot product. For platinum specifically, you should be fine as long as you know how to code convex hull.
Tutorial
- CPC.12
- basic geometry
- convex hulls
- polygon area
- point in polygon
- closest pair of points
- CPH 29
- TopCoder - Basic Geometry Concepts
- CF - Point Class
- C++ - std::complex
- cp-algo - Geometry: "Elementary Operations"
- vlecomte - Geometry Handbook
- My Templates
Problems
- Template Testing
- Misc
Sweep Line
Tutorial
- CPH 30
- TopCoder Line Sweep
Problems
Convex Hull
Tutorial
- Graham Scan
- Monotone Chain
- CPH 30.3 (brief)
- Wikipedia
- My Implementation
Problems
- USACO Plat Balance
- USACO Plat Falling
- USACO Old Gold - Fencing
- USACO Old Gold - Cow Curling
- Kattis Fence Orthogonality
- AGC 44 Random Pawn
- Generalization of "Balance"
Half-Plane Intersection / Convex Stuff
- Blogewoosh (Half-Plane Intersection w/ Ternary Search)
- retrograd Half-Plane Intersection
- Petr (Linear Half-Plane Intersection)
- KACTL LineContainer
- Lichao Segment Tree
Problems
- Bridges
- direct application of LineContainer