Lines Matching refs:toPoint
123 latLngs.add(S2LatLng.fromDegrees(0, 0).toPoint());
124 latLngs.add(S2LatLng.fromDegrees(0, 1).toPoint());
125 latLngs.add(S2LatLng.fromDegrees(0, 2).toPoint());
126 latLngs.add(S2LatLng.fromDegrees(1, 2).toPoint());
132 testPoint = S2LatLng.fromDegrees(0.5, -0.5).toPoint();
135 line.projectToEdge(testPoint, edgeIndex), S2LatLng.fromDegrees(0, 0).toPoint()));
138 testPoint = S2LatLng.fromDegrees(0.5, 0.5).toPoint();
141 line.projectToEdge(testPoint, edgeIndex), S2LatLng.fromDegrees(0, 0.5).toPoint()));
144 testPoint = S2LatLng.fromDegrees(0.5, 1).toPoint();
147 line.projectToEdge(testPoint, edgeIndex), S2LatLng.fromDegrees(0, 1).toPoint()));
150 testPoint = S2LatLng.fromDegrees(-0.5, 2.5).toPoint();
153 line.projectToEdge(testPoint, edgeIndex), S2LatLng.fromDegrees(0, 2).toPoint()));
156 testPoint = S2LatLng.fromDegrees(2, 2).toPoint();
159 line.projectToEdge(testPoint, edgeIndex), S2LatLng.fromDegrees(1, 2).toPoint()));