Package com.google.common.geometry
Class S2Predicates.VoronoiSiteExclusion
java.lang.Object
com.google.common.geometry.S2Predicates.VoronoiSiteExclusion
- Enclosing class:
S2Predicates
A test for which (if any) of two Voronoi sites within R of an edge PQ are covered by the other.
Does not offer generally correct results for all inputs, so that multiple strategies may be implemented for different classes of input.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final BigDecimal
An exact representation of a right angle. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic S2Predicates.Excluded
A site exclusion test using BigDecimal arithmetic.static S2Predicates.Excluded
static S2Predicates.Excluded
A site exclusion test using double arithmetic.
-
Field Details
-
R90
An exact representation of a right angle.
-
-
Constructor Details
-
VoronoiSiteExclusion
private VoronoiSiteExclusion()No instantiation.
-
-
Method Details
-
triage
A site exclusion test using double arithmetic. -
exact
-
exact
public static S2Predicates.Excluded exact(BigPoint a, BigPoint b, BigPoint p, BigPoint q, BigDecimal r2) A site exclusion test using BigDecimal arithmetic.
-