Crate s2

Source

Modules§

cap
cell
cellid
cellunion
edgeutil
latlng
metric
This file implements functions for various S2 measurements.
point
predicates
This file contains various predicates that are guaranteed to produce correct, consistent results. They are also relatively efficient. This is achieved by computing conservative error bounds and falling back to high precision or even exact arithmetic when the result is uncertain. Such predicates are useful in implementing robust algorithms.
r1
r2
r3
rect
rect_bounder
region
s1
shape

Macros§

assert_f64_eq
f64_eq