Expand description
Ring functions
Functions for working directly with the tg_ring type.
There are no direct spatial predicates for tg_ring. If you want to perform operations like “intersects” or “covers” then you must upcast the ring to a tg_geom, like such:
tg_geom_intersects((struct tg_geom*)ring, geom);Functions§
- tg_
ring_ ⚠area - tg_
ring_ ⚠clockwise - tg_
ring_ ⚠clone - tg_
ring_ ⚠convex - tg_
ring_ ⚠copy - tg_
ring_ ⚠free - tg_
ring_ ⚠index_ level_ num_ rects - tg_
ring_ ⚠index_ level_ rect - tg_
ring_ ⚠index_ num_ levels - tg_
ring_ ⚠index_ spread - tg_
ring_ ⚠line_ search - tg_
ring_ ⚠memsize - tg_
ring_ ⚠nearest_ segment - Iterates over segments from nearest to farthest.
- tg_
ring_ ⚠new - tg_
ring_ ⚠new_ ix - tg_
ring_ ⚠num_ points - tg_
ring_ ⚠num_ segments - tg_
ring_ ⚠perimeter - tg_
ring_ ⚠point_ at - tg_
ring_ ⚠points - tg_
ring_ ⚠rect - tg_
ring_ ⚠ring_ search - tg_
ring_ ⚠segment_ at