---
id: geo-pri
title: "Geometry Primitives"
author: Benjamin Qi
description: Basic setup for geometry problems.
---
import { Problem } from "../models";
export const metadata = {
problems: {
standard: [
new Problem("YS", "Sort Points by Argument", "sort_points_by_argument", "Intro", false, [], ""),
new Problem("Kattis", "Segment Intersection", "segmentintersection", "Intro", false, [], ""),
new Problem("Kattis", "Segment Distance", "segmentdistance", "Intro", false, [], ""),
new Problem("Kattis", "Point in Polygon", "pointinpolygon", "Intro", false, [], ""),
new Problem("Kattis", "Polygon Area", "polygonarea", "Intro", false, [], ""),
],
other: [
new Problem("CF", "Arpa & Geo", "problemset/problem/851/B", "Intro", false, [], ""),
new Problem("CF", "Tell Your World", "problemset/problem/849/B", "Intro", false, [], ""),
new Problem("CF", "Gleb & Pizza", "problemset/problem/842/B", "Intro", false, [], ""),
new Problem("Kattis", "Max Collinear", "maxcolinear", "Easy", false, [], ""),
new Problem("Kattis", "Birthday Cake", "birthdaycake", "Easy", false, [], ""),
]
}
};
## Primitives
You should know basic operations like cross product and dot product.
### Tutorial
short description of operations
Complex #s, Points & Lines, Polygons, Distances
code, examples
basics, polygon area, point in polygon
some material is quite advanced
broken code format
- [My Templates](https://github.com/bqi343/USACO/tree/master/Implementations/content/geometry%20(13)/Primitives)
### Standard Problems
### Misc Problems
- [Racing Off Track](https://open.kattis.com/contests/acpc17open/problems/racingofftrack) (link doesn't work ...)
- [TopCoder Watchtower](https://community.topcoder.com/stat?c=problem_statement&pm=2014&rd=4685)