Function S2Builder.SnapFunction.snapRadius

The maximum distance that vertices can move when snapped.

abstract S1Angle snapRadius() const;

If the snap radius is zero, then vertices are snapped together only if they are identical. Edges will not be snapped to any vertices other than their endpoints, even if there are vertices whose distance to the edge is zero, unless split_crossing_edges() is true.

REQUIRES

snap_radius() <= kMaxSnapRadius