Uses of Class
com.google.common.geometry.S2EdgeUtil.ResultError
-
Uses of S2EdgeUtil.ResultError in com.google.common.geometry
Methods in com.google.common.geometry with parameters of type S2EdgeUtil.ResultErrorModifier and TypeMethodDescription(package private) static S2Point
S2EdgeUtil.getIntersection
(S2Point a0, S2Point a1, S2Point b0, S2Point b1, S2EdgeUtil.ResultError resultError) Helper forS2EdgeUtil.getIntersection(com.google.common.geometry.S2Point,com.google.common.geometry.S2Point,com.google.common.geometry.S2Point,com.google.common.geometry.S2Point)
with provided result error parameter for testing and benchmarking purposes.(package private) static S2Point
S2EdgeUtil.getIntersectionApprox
(S2Point a0, S2Point a1, S2Point b0, S2Point b1, S2EdgeUtil.ResultError resultError) Returns the approximate intersection point of the edges (a0,a1) and (b0,b1), and writes to resultError a bound on its error.private static S2Point
S2EdgeUtil.getIntersectionApproxSorted
(S2Point a0, S2Point a1, S2Point b0, S2Point b1, S2EdgeUtil.ResultError resultError) Returns the approximate intersection point of the edges (a0,a1) and (b0,b1), and writes to resultError a bound on its error.(package private) static double
S2EdgeUtil.getProjection
(S2Point x, S2Point aNormal, double aNormalLen, S2Point a0, S2Point a1, S2EdgeUtil.ResultError resultError) Returns 2x the dot product of x and aNormal, and writes to resultError a bound on the error given that aNormal was calculated usingS2.robustCrossProd(com.google.common.geometry.S2Point, com.google.common.geometry.S2Point)
.