Expand description
Polygon functions
Functions for working directly with the tg_poly type.
There are no direct spatial predicates for tg_poly. If you want to perform operations like “intersects” or “covers” then you must upcast the poly to a tg_geom, like such:
tg_geom_intersects((struct tg_geom*)poly, geom);