Lines Matching refs:hemi
81 S2Cap hemi = S2Cap.fromAxisHeight(S2Point.normalize(new S2Point(1, 0, 1)), 1); in testBasic() local
82 assertEquals(hemi.complement().axis(), S2Point.neg(hemi.axis())); in testBasic()
83 assertEquals(hemi.complement().height(), 1.0); in testBasic()
84 assertTrue(hemi.contains(new S2Point(1, 0, 0))); in testBasic()
85 assertTrue(!hemi.complement().contains(new S2Point(1, 0, 0))); in testBasic()
86 assertTrue(hemi.contains(S2Point.normalize(new S2Point(1, 0, -(1 - EPS))))); in testBasic()
87 assertTrue(!hemi.interiorContains(S2Point.normalize(new S2Point(1, 0, -(1 + EPS))))); in testBasic()
107 assertTrue(hemi.contains(tiny)); in testBasic()
108 assertTrue(hemi.contains( in testBasic()
110 assertTrue(!hemi.contains( in testBasic()
112 assertTrue(concave.contains(hemi)); in testBasic()
113 assertTrue(concave.interiorIntersects(hemi.complement())); in testBasic()