Package com.google.common.geometry
Class S2Predicates.VoronoiSiteExclusion
- java.lang.Object
-
- com.google.common.geometry.S2Predicates.VoronoiSiteExclusion
-
- Enclosing class:
- S2Predicates
static class S2Predicates.VoronoiSiteExclusion extends java.lang.ObjectA 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
Fields Modifier and Type Field Description (package private) static java.math.BigDecimalR90An exact representation of a right angle.
-
Constructor Summary
Constructors Modifier Constructor Description privateVoronoiSiteExclusion()No instantiation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static S2Predicates.Excludedexact(BigPoint a, BigPoint b, BigPoint p, BigPoint q, java.math.BigDecimal r2)A site exclusion test using BigDecimal arithmetic.static S2Predicates.Excludedexact(S2Point a, S2Point b, S2Point p, S2Point q, double r2)static S2Predicates.Excludedtriage(S2Point a, S2Point b, S2Point p, S2Point q, double r2)A site exclusion test using double arithmetic.
-
-
-
Method Detail
-
triage
public static S2Predicates.Excluded triage(S2Point a, S2Point b, S2Point p, S2Point q, double r2)
A site exclusion test using double arithmetic.
-
exact
public static S2Predicates.Excluded exact(S2Point a, S2Point b, S2Point p, S2Point q, double r2)
-
exact
public static S2Predicates.Excluded exact(BigPoint a, BigPoint b, BigPoint p, BigPoint q, java.math.BigDecimal r2)
A site exclusion test using BigDecimal arithmetic.
-
-