Module tg_sys::LineFuncs

source ·
Expand description

Line functions

Functions for working directly with the tg_line type.

There are no direct spatial predicates for tg_line. If you want to perform operations like “intersects” or “covers” then you must upcast the line to a tg_geom, like such:

tg_geom_intersects((struct tg_geom*)line, geom);

Functions