Searched refs:polygon (Results 1 – 3 of 3) sorted by relevance
66 CbGeoUtils.Polygon polygon = (Polygon) geo.get(0); in testEncodeGeometries() local67 List<LatLng> vertexes = polygon.getVertices(); in testEncodeGeometries()98 CbGeoUtils.Polygon polygon = (Polygon) geo.get(0); in testParseGeometriesFromString() local99 List<LatLng> vertexes = polygon.getVertices(); in testParseGeometriesFromString()127 Polygon polygon = new Polygon(vertex); in testPointInPolygon() local129 assertThat(polygon.contains(new LatLng(0, 0))).isTrue(); in testPointInPolygon()131 assertThat(polygon.contains(new LatLng(0.5, 0.5))).isTrue(); in testPointInPolygon()133 assertThat(polygon.contains(new LatLng(-2, -1))).isFalse(); in testPointInPolygon()135 assertThat(polygon.contains(new LatLng(1.0001, 1.0001))).isFalse(); in testPointInPolygon()149 Polygon polygon = new Polygon(vertices); in testPointInPolygon_crossing180thMeridian() local[all …]
28 This takes a float2 polygon and an image and searches a best fit polygon in the image
23 This takes polygon and image to copy from(src_image) and and image to paste to(dest_image)