Module PolyFuncs

Module PolyFuncs 

Source
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);

Functions§

tg_poly_clockwise
tg_poly_clone
tg_poly_copy
tg_poly_exterior
tg_poly_free
tg_poly_hole_at
tg_poly_memsize
tg_poly_new
tg_poly_num_holes
tg_poly_rect