Geometry Algorithms
Points, vectors, lines and polygons computed with cross products.
Advanced
Orientation of three points: sign of . Polygon area via the shoelace formula. Use integers when possible to avoid floating-point error.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.