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
20082026
-
…name - Josh is also responsible for tg which is a really neat, very tight C geospatial library: https://github.com/tidwall/tg
comment by simonw · 2025-07-21 · in Show HN: Pogocache – Fast caching software -
…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 -
…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
comment by tidwall · 2023-09-23 · in Show HN: TG – Fast geometry library for C -
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...
comment by tidwall · 2023-09-23 · in Show HN: TG – Fast geometry library for C -
…[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...
comment by hgs3 · 2023-09-23 · in Show HN: TG – Fast geometry library for C