Home
last modified time | relevance | path

Searched refs:fromPoint (Results 1 – 12 of 12) sorted by relevance

/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2EdgeIndex.java257 S2CellId a = S2CellId.fromPoint(pa); in containingCell()
258 S2CellId b = S2CellId.fromPoint(pb); in containingCell()
259 S2CellId c = S2CellId.fromPoint(pc); in containingCell()
260 S2CellId d = S2CellId.fromPoint(pd); in containingCell()
280 S2CellId a = S2CellId.fromPoint(pa); in containingCell()
281 S2CellId b = S2CellId.fromPoint(pb); in containingCell()
372 S2CellId.fromPoint(middle).getVertexNeighbors(actualLevel, edgeCovering); in getCovering()
476 S2Point fromPoint = vertices[i]; in edgeIntersectsCellBoundary() local
478 if (lenientCrossing(a, b, fromPoint, toPoint)) { in edgeIntersectsCellBoundary()
DR1Interval.java47 public static R1Interval fromPoint(double p) { in fromPoint() method in R1Interval
145 return R1Interval.fromPoint(p); in addPoint()
DS2RegionCoverer.java318 floodFill(region, S2CellId.fromPoint(start).parent(level), output); in getSimpleCovering()
458 S2CellId id = S2CellId.fromPoint(cap.axis()); in getInitialCandidates()
DS1Interval.java90 public static S1Interval fromPoint(double p) { in fromPoint() method in S1Interval
327 return S1Interval.fromPoint(p); in addPoint()
DS2PolygonBuilder.java654 S2CellId id = S2CellId.fromPoint(p).parent(level); in add()
673 S2CellId.fromPoint(center).getVertexNeighbors(level, neighbors); in query()
DS2CellId.java148 public static S2CellId fromPoint(S2Point p) { in fromPoint() method in S2CellId
159 return fromPoint(ll.toPoint()); in fromLatLng()
DS2LatLngRect.java77 return fromPoint(center).expanded(size.mul(0.5)); in fromCenterSize()
81 public static S2LatLngRect fromPoint(S2LatLng p) { in fromPoint() method in S2LatLngRect
DS2Cell.java57 init(S2CellId.fromPoint(p)); in S2Cell()
DS2CellUnion.java465 return contains(S2CellId.fromPoint(p)); in contains()
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
DGraphvizGrapher.java300 InjectionPoint fromPoint = edge.getInjectionPoint(); in newDependencyEdge() local
301 if (fromPoint == null) { in newDependencyEdge()
304 gedge.setTailPortId(portIdFactory.getPortId(fromPoint.getMember())); in newDependencyEdge()
/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2CellIdTest.java219 S2Point q = S2CellId.fromPoint(p).toPointRaw(); in testCoverage()
262 S2CellId.fromPoint(new S2Point(0, 0, 1)).getVertexNeighbors(5, nbrs); in testNeighbors()
DS2LatLngRectTest.java95 assertEquals(S2LatLngRect.fromPoint(d1.lo()), new S2LatLngRect(d1.lo(), d1.lo())); in testBasic()
477 return S2LatLngRect.fromPoint(S2LatLng.fromDegrees(lat, lng).normalized()); in pointRectFromDegrees()