Searched refs:polygon (Results 1 – 5 of 5) 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 …]
47 float[] polygon = mConfig.getPolygon(); in generateVertex() local51 int polygonLength = polygon.length/3; in generateVertex()61 float px = polygon[3 * i + 0]; in generateVertex()62 float py = polygon[3 * i + 1]; in generateVertex()69 float h = polygon[3 * i + 2] * mConfig.getShadowBoundRatio(); in generateVertex()
98 public Builder setPolygon(float[] polygon) { in setPolygon() argument99 mPolygon = polygon; in setPolygon()
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)