Module RingFuncs

Module RingFuncs 

Source
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