Lines Matching refs:intersections
562 List<ParametrizedS2Point> intersections) { in addIntersection() argument
567 intersections.add(new ParametrizedS2Point(t, x)); in addIntersection()
582 intersections.add(new ParametrizedS2Point(t, t == 0 ? a0 : a1)); in addIntersection()
591 boolean addSharedEdges, List<ParametrizedS2Point> intersections) { in clipEdge() argument
609 addIntersection(a0, a1, from, to, addSharedEdges, crossing, intersections); in clipEdge()
633 List<ParametrizedS2Point> intersections = Lists.newArrayList(); in clipBoundary() local
641 intersections.clear(); in clipBoundary()
642 clipEdge(a0, a1, bIndex, addSharedEdges, intersections); in clipBoundary()
645 intersections.add(new ParametrizedS2Point(0.0, a0)); in clipBoundary()
647 inside = ((intersections.size() & 0x1) == 0x1); in clipBoundary()
650 intersections.add(new ParametrizedS2Point(1.0, a1)); in clipBoundary()
654 Collections.sort(intersections); in clipBoundary()
655 for (int size = intersections.size(), i = 1; i < size; i += 2) { in clipBoundary()
656 builder.addEdge(intersections.get(i - 1).getPoint(), intersections.get(i).getPoint()); in clipBoundary()