Hacker GitHub

← All repos

tidwall/tg

View on GitHub ↗ ★ 678 C

Geometry library for C - Fast point-in-polygon

6 mentions on Hacker News by 4 people: 1 story, 5 comments · first 2023-09-22 · latest 2025-07-21

Mentions per year 6 mentions · busiest year 2023 (4)
20082026
  1. …name - Josh is also responsible for tg which is a really neat, very tight C geospatial library: https://github.com/tidwall/tg
  2. …Josh Baker's single file C projects like tg[1]. [0] https://www.sqlite.org/c3ref/blob_open.html [1] https://github.com/tidwall/tg
    comment by alexgarcia-xyz · 2024-05-03 · in I’m writing a new vector search SQLite Extension
  3. …production. I ported many of the tests too, which make me warm and fuzzy every time they pass. [1] https://github.com/tidwall/tg/blob/v0.1.0/tg.c#L389 [2] https://github.com/tidwall/tile38
  4. It’s a new structure I came up with as described in the docs/POLYGON_INDEXING.md document. https://github.com/tidwall/tg/blob/main/docs/POLYGON_INDEXIN...
  5. …[1]. Will you keep it focused on intersections or might you dabble with triangulation? [1] https://github.com/tidwall/tg/blob/main/docs/POLYGON_INDEXIN...