Package com.google.common.geometry
Class S2EdgeUtil.WedgeContainsOrIntersects
- java.lang.Object
-
- com.google.common.geometry.S2EdgeUtil.WedgeContainsOrIntersects
-
- All Implemented Interfaces:
S2EdgeUtil.WedgeProcessor
- Enclosing class:
- S2EdgeUtil
public static class S2EdgeUtil.WedgeContainsOrIntersects extends java.lang.Object implements S2EdgeUtil.WedgeProcessor
-
-
Constructor Summary
Constructors Constructor Description WedgeContainsOrIntersects()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
test(S2Point a0, S2Point ab1, S2Point a2, S2Point b0, S2Point b2)
Given two edge chains (see WedgeRelation above), this function returns +1 if A contains B, 0 if A and B are disjoint, and -1 if A intersects but does not contain B.
-
-
-
Method Detail
-
test
public int test(S2Point a0, S2Point ab1, S2Point a2, S2Point b0, S2Point b2)
Given two edge chains (see WedgeRelation above), this function returns +1 if A contains B, 0 if A and B are disjoint, and -1 if A intersects but does not contain B.- Specified by:
test
in interfaceS2EdgeUtil.WedgeProcessor
-
-