Home
last modified time | relevance | path

Searched refs:polygon (Results 1 – 25 of 155) sorted by relevance

1234567

/external/rust/crates/plotters/plotters-doc-data/
D3d-plot.svg6 <polygon opacity="0.1" fill="#000000" points="406,599 406,76 152,146 152,669 "/>
20 <polygon opacity="0.1" fill="#000000" points="406,599 152,669 617,707 871,637 "/>
34 <polygon opacity="0.1" fill="#000000" points="406,599 871,637 871,114 406,76 "/>
123 <polygon opacity="0.2" fill="#0000FF" points="406,281 402,328 409,379 413,328 "/>
124 <polygon opacity="0.2" fill="#0000FF" points="402,328 398,377 405,415 409,379 "/>
125 <polygon opacity="0.2" fill="#0000FF" points="398,377 394,414 401,429 405,415 "/>
126 <polygon opacity="0.2" fill="#0000FF" points="394,414 389,430 396,419 401,429 "/>
127 <polygon opacity="0.2" fill="#0000FF" points="389,430 385,422 392,388 396,419 "/>
128 <polygon opacity="0.2" fill="#0000FF" points="385,422 381,396 388,349 392,388 "/>
129 <polygon opacity="0.2" fill="#0000FF" points="381,396 377,359 384,310 388,349 "/>
[all …]
/external/swiftshader/src/Renderer/
DClipper.cpp43 bool Clipper::clip(Polygon &polygon, int clipFlagsOr, const DrawCall &draw) in clip() argument
47 if(clipFlagsOr & CLIP_NEAR) clipNear(polygon); in clip()
48 if(polygon.n >= 3) { in clip()
49 if(clipFlagsOr & CLIP_FAR) clipFar(polygon); in clip()
50 if(polygon.n >= 3) { in clip()
51 if(clipFlagsOr & CLIP_LEFT) clipLeft(polygon); in clip()
52 if(polygon.n >= 3) { in clip()
53 if(clipFlagsOr & CLIP_RIGHT) clipRight(polygon); in clip()
54 if(polygon.n >= 3) { in clip()
55 if(clipFlagsOr & CLIP_TOP) clipTop(polygon); in clip()
[all …]
DClipper.hpp60 bool clip(Polygon &polygon, int clipFlagsOr, const DrawCall &draw);
63 void clipNear(Polygon &polygon);
64 void clipFar(Polygon &polygon);
65 void clipLeft(Polygon &polygon);
66 void clipRight(Polygon &polygon);
67 void clipTop(Polygon &polygon);
68 void clipBottom(Polygon &polygon);
69 void clipPlane(Polygon &polygon, const Plane &plane);
/external/swiftshader/src/Device/
DClipper.cpp32 void clipNear(sw::Polygon &polygon) in clipNear() argument
34 const sw::float4 **V = polygon.P[polygon.i]; in clipNear()
35 const sw::float4 **T = polygon.P[polygon.i + 1]; in clipNear()
39 for(int i = 0; i < polygon.n; i++) in clipNear()
41 int j = i == polygon.n - 1 ? 0 : i + 1; in clipNear()
52 clipEdge(polygon.B[polygon.b], *V[i], *V[j], di, dj); in clipNear()
53 T[t++] = &polygon.B[polygon.b++]; in clipNear()
60 clipEdge(polygon.B[polygon.b], *V[j], *V[i], dj, di); in clipNear()
61 T[t++] = &polygon.B[polygon.b++]; in clipNear()
66 polygon.n = t; in clipNear()
[all …]
DRenderer.cpp671 Polygon polygon(&v0.position, &v1.position, &v2.position); in setupSolidTriangles() local
686 if(!Clipper::Clip(polygon, clipFlagsOr, *drawCall)) in setupSolidTriangles()
692 if(drawCall->setupRoutine(primitives, triangles, &polygon, data)) in setupSolidTriangles()
920 Polygon polygon(P, 4); in setupLine() local
926 if(!Clipper::Clip(polygon, clipFlagsOr, draw)) in setupLine()
932 return draw.setupRoutine(&primitive, &triangle, &polygon, &data); in setupLine()
1031 Polygon polygon(L, 6); in setupLine() local
1037 if(!Clipper::Clip(polygon, clipFlagsOr, draw)) in setupLine()
1043 return draw.setupRoutine(&primitive, &triangle, &polygon, &data); in setupLine()
1122 Polygon polygon(L, 4); in setupLine() local
[all …]
/external/geojson-jackson/src/test/java/org/geojson/jackson/
DPolygonTest.java20 Polygon polygon = new Polygon(MockData.EXTERNAL); in itShouldSerialize() local
23 mapper.writeValueAsString(polygon)); in itShouldSerialize()
28 Polygon polygon = new Polygon(MockData.EXTERNAL); in itShouldSerializeWithHole() local
29 polygon.addInteriorRing(MockData.INTERNAL); in itShouldSerializeWithHole()
32 …00.2,0.2],[100.8,0.2],[100.8,0.8],[100.2,0.8],[100.2,0.2]]]}", mapper.writeValueAsString(polygon)); in itShouldSerializeWithHole()
37 Polygon polygon = new Polygon(); in itShouldFailOnAddInteriorRingWithoutExteriorRing() local
38 polygon.addInteriorRing(MockData.EXTERNAL); in itShouldFailOnAddInteriorRingWithoutExteriorRing()
43 Polygon polygon = mapper.readValue("{\"type\":\"Polygon\",\"coordinates\":" in itShouldDeserialize() local
46 assertListEquals(MockData.EXTERNAL, polygon.getExteriorRing()); in itShouldDeserialize()
47 assertListEquals(MockData.INTERNAL, polygon.getInteriorRing(0)); in itShouldDeserialize()
[all …]
DMultiPoligonTest.java20 Polygon polygon = new Polygon(MockData.EXTERNAL); in itShouldSerialize() local
21 polygon.addInteriorRing(MockData.INTERNAL); in itShouldSerialize()
22 multiPolygon.add(polygon); in itShouldSerialize()
/external/rust/cxx/book/src/
Doverview.svg2 <style>line, path, circle,rect,polygon {
40 <polygon points="0,0 0,4 4,2 0,0"></polygon>
43 <polygon points="0,2 2,0 4,2 2,4 0,2"></polygon>
63 <polygon points="216,156 224,156 220,164" class="filled"></polygon>
65 <polygon points="472,156 480,156 476,164" class="filled"></polygon>
69 <polygon points="48,180 40,184 48,188" class="filled"></polygon>
71 <polygon points="136,180 144,184 136,188" class="filled"></polygon>
72 <polygon points="296,180 288,184 296,188" class="filled"></polygon>
74 <polygon points="400,180 408,184 400,188" class="filled"></polygon>
75 <polygon points="552,180 544,184 552,188" class="filled"></polygon>
[all …]
/external/skia/fuzz/
DFuzzPolyUtils.cpp18 SkAutoSTMalloc<64, SkPoint> polygon(count); in DEF_FUZZ() local
20 fuzz->next(&polygon[index].fX, &polygon[index].fY); in DEF_FUZZ()
23 bounds.setBoundsCheck(polygon, count); in DEF_FUZZ()
25 ignoreResult(SkGetPolygonWinding(polygon, count)); in DEF_FUZZ()
26 ignoreResult(SkIsConvexPolygon(polygon, count)); in DEF_FUZZ()
27 ignoreResult(SkIsSimplePolygon(polygon, count)); in DEF_FUZZ()
32 ignoreResult(SkInsetConvexPolygon(polygon, count, inset, &output)); in DEF_FUZZ()
36 ignoreResult(SkOffsetSimplePolygon(polygon, count, bounds, offset, &output)); in DEF_FUZZ()
43 ignoreResult(SkTriangulateSimplePolygon(polygon, indexMap, count, &outputIndices)); in DEF_FUZZ()
/external/skqp/fuzz/
DFuzzPolyUtils.cpp16 SkAutoSTMalloc<64, SkPoint> polygon(count); in DEF_FUZZ() local
18 fuzz->next(&polygon[index].fX, &polygon[index].fY); in DEF_FUZZ()
21 ignoreResult(SkGetPolygonWinding(polygon, count)); in DEF_FUZZ()
22 ignoreResult(SkIsConvexPolygon(polygon, count)); in DEF_FUZZ()
23 ignoreResult(SkIsSimplePolygon(polygon, count)); in DEF_FUZZ()
28 ignoreResult(SkInsetConvexPolygon(polygon, count, inset, &output)); in DEF_FUZZ()
32 ignoreResult(SkOffsetSimplePolygon(polygon, count, offset, &output)); in DEF_FUZZ()
39 ignoreResult(SkTriangulateSimplePolygon(polygon, indexMap, count, &outputIndices)); in DEF_FUZZ()
/external/rust/cxx/book/diagram/
Doverview.svg2 <style>line, path, circle,rect,polygon {
75 <polygon points="0,0 0,4 4,2 0,0"></polygon>
78 <polygon points="0,2 2,0 4,2 2,4 0,2"></polygon>
105 <polygon points="48,180 40,184 48,188" class="filled"></polygon>
107 <polygon points="296,180 288,184 296,188" class="filled"></polygon>
109 <polygon points="552,180 544,184 552,188" class="filled"></polygon>
/external/geojson-jackson/src/main/java/org/geojson/
DMultiPolygon.java10 public MultiPolygon(Polygon polygon) { in MultiPolygon() argument
11 add(polygon); in MultiPolygon()
14 public MultiPolygon add(Polygon polygon) { in add() argument
15 coordinates.add(polygon.getCoordinates()); in add()
DPolygon.java13 public Polygon(List<LngLatAlt> polygon) { in Polygon() argument
14 add(polygon); in Polygon()
17 public Polygon(LngLatAlt... polygon) { in Polygon() argument
18 add(Arrays.asList(polygon)); in Polygon()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DDrawManager.java323 FloatBuffer polygon = plane.getPolygon(); in drawPlaneOutline() local
324 polygon.rewind(); in drawPlaneOutline()
328 pathSrc.moveTo(polygon.get(0), polygon.get(1)); in drawPlaneOutline()
330 pathSrc.lineTo(polygon.get(i * 2), polygon.get(i * 2 + 1)); in drawPlaneOutline()
367 FloatBuffer polygon = plane.getPolygon(); in drawPlaneWithShader() local
368 polygon.rewind(); in drawPlaneWithShader()
372 pathSrc.moveTo(polygon.get(0), polygon.get(1)); in drawPlaneWithShader()
374 pathSrc.lineTo(polygon.get(i * 2), polygon.get(i * 2 + 1)); in drawPlaneWithShader()
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Dshape-handler.js44 var polygon = scope.consumeToken(/^polygon/, input);
45 if (polygon && polygon[0]) {
51 ], polygon[1]));
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/StdSuites/
DQuickDraw_Graphics_Suite.py160 class polygon(aetools.ComponentItem): class
168 polygons = polygon
286 polygon._superclassnames = []
287 polygon._privpropdict = {
290 polygon._privelemdict = {
365 'cpgn' : polygon,
/external/rust/crates/plotters-backend/src/rasterizer/
Dmod.rs28 mod polygon; module
29 pub use polygon::fill_polygon;
/external/mesa3d/docs/gallium/cso/
Drasterizer.rst7 Attributes include polygon culling state, line width, line stipple,
49 If set, the provoking vertex of each polygon is used to determine the color
50 of the entire polygon. If not set, fragment colors will be interpolated
117 Whether polygon stippling is enabled.
119 Controls OpenGL-style polygon smoothing/antialiasing
122 If set, point-filled polygons will have polygon offset factors applied
124 If set, line-filled polygons will have polygon offset factors applied
126 If set, filled polygons will have polygon offset factors applied
129 Specifies the polygon offset bias
131 Specifies the unit of the polygon offset bias. If false, use the
[all …]
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2PolygonBuilder.java275 public void addPolygon(S2Polygon polygon) { in addPolygon() argument
276 for (int i = 0; i < polygon.numLoops(); ++i) { in addPolygon()
277 addLoop(polygon.loop(i)); in addPolygon()
352 public boolean assemblePolygon(S2Polygon polygon, List<S2Edge> unusedEdges) { in assemblePolygon() argument
371 polygon.init(loops); in assemblePolygon()
379 S2Polygon polygon = new S2Polygon(); in assemblePolygon() local
382 assemblePolygon(polygon, unusedEdges); in assemblePolygon()
384 return polygon; in assemblePolygon()
/external/timezone-boundary-builder/
Dindex.js9 var polygon = helpers.polygon variable
281 geoJson = polygon(source.data).geometry
315 const polygonFeature = polygon(curPolygon)
328 const polygonFromLinearRing = polygon([curLinearRing])
508 overlapsPolygons.forEach((polygon, idx) => {
509 const bounds = bbox(polygon)
510 const polygonArea = area.geometry(polygon)
591 const geoJson = polygon([[
/external/llvm-project/clang/test/Sema/
Dflexible-array-init.c43 struct polygon { struct
47 struct polygon poly = { argument
/external/clang/test/Sema/
Dflexible-array-init.c43 struct polygon { struct
47 struct polygon poly = { argument
/external/skqp/src/utils/
DSkPolyUtils.cpp1036 bool SkIsSimplePolygon(const SkPoint* polygon, int polygonSize) { in SkIsSimplePolygon() argument
1047 if (SkIsConvexPolygon(polygon, polygonSize)) { in SkIsSimplePolygon()
1054 if (!polygon[i].isFinite()) { in SkIsSimplePolygon()
1057 newVertex.fPosition = polygon[i]; in SkIsSimplePolygon()
1062 if (left(polygon[newVertex.fPrevIndex], polygon[i])) { in SkIsSimplePolygon()
1065 if (left(polygon[newVertex.fNextIndex], polygon[i])) { in SkIsSimplePolygon()
1079 if (!sweepLine.insert(v.fPosition, polygon[v.fPrevIndex], v.fIndex, v.fPrevIndex)) { in SkIsSimplePolygon()
1082 if (!sweepLine.insert(v.fPosition, polygon[v.fNextIndex], v.fIndex, v.fNextIndex)) { in SkIsSimplePolygon()
1087 if (!sweepLine.remove(polygon[v.fPrevIndex], v.fPosition, v.fPrevIndex, v.fIndex)) { in SkIsSimplePolygon()
1090 if (!sweepLine.remove(polygon[v.fNextIndex], v.fPosition, v.fNextIndex, v.fIndex)) { in SkIsSimplePolygon()
[all …]
/external/skia/src/utils/
DSkPolyUtils.cpp1066 bool SkIsSimplePolygon(const SkPoint* polygon, int polygonSize) { in SkIsSimplePolygon() argument
1072 if (SkIsConvexPolygon(polygon, polygonSize)) { in SkIsSimplePolygon()
1084 if (!polygon[i].isFinite()) { in SkIsSimplePolygon()
1087 newVertex.fPosition = polygon[i]; in SkIsSimplePolygon()
1092 if (left(polygon[newVertex.fPrevIndex], polygon[i])) { in SkIsSimplePolygon()
1095 if (left(polygon[newVertex.fNextIndex], polygon[i])) { in SkIsSimplePolygon()
1109 if (!sweepLine.insert(v.fPosition, polygon[v.fPrevIndex], v.fIndex, v.fPrevIndex)) { in SkIsSimplePolygon()
1112 if (!sweepLine.insert(v.fPosition, polygon[v.fNextIndex], v.fIndex, v.fNextIndex)) { in SkIsSimplePolygon()
1117 if (!sweepLine.remove(polygon[v.fPrevIndex], v.fPosition, v.fPrevIndex, v.fIndex)) { in SkIsSimplePolygon()
1120 if (!sweepLine.remove(polygon[v.fNextIndex], v.fPosition, v.fNextIndex, v.fIndex)) { in SkIsSimplePolygon()
[all …]
/external/deqp/external/openglcts/docs/specs/
DCTS_EXT_texture_filter_anisotropic.txt40 * Verify if there is difference between polygon rendered with different
65 Set min filtering to GL_LINEAR_MIPMAP_LINEAR and render polygon with

1234567