Home
last modified time | relevance | path

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

123

/external/mesa3d/src/gallium/state_trackers/vega/
Dpolygon.h32 struct polygon;
37 struct polygon *polygon_create(int size);
38 struct polygon *polygon_create_from_data(float *data, int size);
39 void polygon_destroy(struct polygon *poly);
41 void polygon_resize(struct polygon *poly, int new_size);
42 int polygon_size(struct polygon *poly);
44 int polygon_vertex_count(struct polygon *poly);
45 float * polygon_data(struct polygon *poly);
47 void polygon_vertex_append(struct polygon *p,
49 void polygon_append_polygon(struct polygon *dst,
[all …]
Dpolygon.c52 struct polygon struct
70 static void polygon_print(struct polygon *poly) argument
84 struct polygon * polygon_create(int size) in polygon_create()
86 struct polygon *poly = (struct polygon*)malloc(sizeof(struct polygon)); in polygon_create()
97 struct polygon * polygon_create_from_data(float *data, int size) in polygon_create_from_data()
99 struct polygon *poly = polygon_create(size); in polygon_create_from_data()
109 void polygon_destroy(struct polygon *poly) in polygon_destroy()
115 void polygon_resize(struct polygon *poly, int new_size) in polygon_resize()
127 int polygon_size(struct polygon *poly) in polygon_size()
132 int polygon_vertex_count(struct polygon *poly) in polygon_vertex_count()
[all …]
Dbezier.h30 struct polygon;
56 struct polygon *bezier_to_polygon(struct bezier *bez);
58 struct polygon *poly);
Darc.h32 struct polygon;
63 struct polygon *poly,
Darc.c464 struct polygon *poly = (struct polygon*)cb->user_data; in polygon_point()
470 struct polygon *poly = (struct polygon*)cb->user_data; in polygon_bezier()
656 struct polygon *poly, in arc_add_to_polygon()
DSConscript37 'polygon.c',
Dpath.h33 struct polygon;
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DGeometryUtils.java141 static public Vector2 polygonCentroid (float[] polygon, int offset, int count, Vector2 centroid) { in polygonCentroid() argument
148 float x0 = polygon[i]; in polygonCentroid()
149 float y0 = polygon[i + 1]; in polygonCentroid()
150 float x1 = polygon[i + 2]; in polygonCentroid()
151 float y1 = polygon[i + 3]; in polygonCentroid()
158 float x0 = polygon[i]; in polygonCentroid()
159 float y0 = polygon[i + 1]; in polygonCentroid()
160 float x1 = polygon[offset]; in polygonCentroid()
161 float y1 = polygon[offset + 1]; in polygonCentroid()
179 static public float polygonArea (float[] polygon, int offset, int count) { in polygonArea() argument
[all …]
DConvexHull.java38 public FloatArray computePolygon (float[] polygon, boolean sorted) { in computePolygon() argument
39 return computePolygon(polygon, 0, polygon.length, sorted); in computePolygon()
93 public IntArray computeIndices (float[] polygon, boolean sorted, boolean yDown) { in computeIndices() argument
94 return computeIndices(polygon, 0, polygon.length, sorted, yDown); in computeIndices()
DIntersector.java113 public static boolean isPointInPolygon (Array<Vector2> polygon, Vector2 point) { in isPointInPolygon() argument
114 Vector2 lastVertice = polygon.peek(); in isPointInPolygon()
116 for (int i = 0; i < polygon.size; i++) { in isPointInPolygon()
117 Vector2 vertice = polygon.get(i); in isPointInPolygon()
131 public static boolean isPointInPolygon (float[] polygon, int offset, int count, float x, float y) { in isPointInPolygon() argument
135 float yi = polygon[i + 1]; in isPointInPolygon()
136 float yj = polygon[j + 1]; in isPointInPolygon()
138 float xi = polygon[i]; in isPointInPolygon()
139 if (xi + (y - yi) / (yj - yi) * (polygon[j] - xi) < x) oddNodes = !oddNodes; in isPointInPolygon()
764 public static boolean intersectLinePolygon (Vector2 p1, Vector2 p2, Polygon polygon) { in intersectLinePolygon() argument
[all …]
DDelaunayTriangulator.java47 public ShortArray computeTriangles (float[] polygon, boolean sorted) { in computeTriangles() argument
48 return computeTriangles(polygon, 0, polygon.length, sorted); in computeTriangles()
/external/libgdx/gdx/src/com/badlogic/gdx/maps/objects/
DPolygonMapObject.java13 private Polygon polygon; field in PolygonMapObject
17 return polygon; in getPolygon()
21 public void setPolygon (Polygon polygon) { in setPolygon() argument
22 this.polygon = polygon; in setPolygon()
32 polygon = new Polygon(vertices); in PolygonMapObject()
36 public PolygonMapObject (Polygon polygon) { in PolygonMapObject() argument
37 this.polygon = polygon; in PolygonMapObject()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/
DCollisionFiltering.java75 PolygonShape polygon = new PolygonShape(); in createWorld() local
76 polygon.set(vertices); in createWorld()
79 triangleShapeDef.shape = polygon; in createWorld()
97 polygon.set(vertices); in createWorld()
130 polygon.setAsBox(1, 0.5f); in createWorld()
132 boxShapeDef.shape = polygon; in createWorld()
147 polygon.setAsBox(2, 1); in createWorld()
/external/mesa3d/src/gallium/docs/source/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 polygon offset scale
[all …]
/external/clang/test/Sema/
Dflexible-array-init.c43 struct polygon { struct
47 struct polygon poly = { argument
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DTiledMapObjectLoadingTest.java115 Polygon polygon = ((PolygonMapObject)mapObject).getPolygon(); in render() local
116 shapeRenderer.polygon(polygon.getTransformedVertices()); in render()
/external/mesa3d/src/mesa/main/
Ddescrip.mms70 polygon.c \
145 polygon.obj,\
227 polygon.obj : polygon.c
Dattrib.c1175 const struct gl_polygon_attrib *polygon; in _mesa_PopAttrib() local
1176 polygon = (const struct gl_polygon_attrib *) attr->data; in _mesa_PopAttrib()
1177 _mesa_CullFace(polygon->CullFaceMode); in _mesa_PopAttrib()
1178 _mesa_FrontFace(polygon->FrontFace); in _mesa_PopAttrib()
1179 _mesa_PolygonMode(GL_FRONT, polygon->FrontMode); in _mesa_PopAttrib()
1180 _mesa_PolygonMode(GL_BACK, polygon->BackMode); in _mesa_PopAttrib()
1181 _mesa_PolygonOffset(polygon->OffsetFactor, in _mesa_PopAttrib()
1182 polygon->OffsetUnits); in _mesa_PopAttrib()
1183 _mesa_set_enable(ctx, GL_POLYGON_SMOOTH, polygon->SmoothFlag); in _mesa_PopAttrib()
1184 _mesa_set_enable(ctx, GL_POLYGON_STIPPLE, polygon->StippleFlag); in _mesa_PopAttrib()
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/dot/
Dstopstate.st1 node [fontsize=11, shape = <if(useBox)>polygon,sides=4,peripheries=2<else>doublecircle, fixedsize=t…
/external/mesa3d/src/gallium/auxiliary/indices/
Du_unfilled_gen.py168 def polygon(intype, outtype): function
200 polygon(intype, outtype)
Du_indices_gen.py226 def polygon(intype, outtype, inpv, outpv): function
267 polygon(intype, outtype, inpv, outpv)
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/
Db2Distance.cpp43 const b2PolygonShape* polygon = static_cast<const b2PolygonShape*>(shape); in Set() local
44 m_vertices = polygon->m_vertices; in Set()
45 m_count = polygon->m_count; in Set()
46 m_radius = polygon->m_radius; in Set()
/external/mesa3d/docs/
DARB_color_buffer_float.txt2 … fixed-point, some floating-point, with FIXED_ONLY fragment clamping and polygon smooth enabled ma…
DRELNOTES-6.222 ToDo: PBO for polygon stipple, convolution filter, etc.
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/
DBaseTmxMapLoader.java191 Polygon polygon = new Polygon(vertices); in loadObject() local
192 polygon.setPosition(x, y); in loadObject()
193 object = new PolygonMapObject(polygon); in loadObject()

123