Questions tagged [vertices]

A vertex (plural: vertices) has a slightly different meaning depending on context. Computer graphics - data structure that describes position of a point in 2D or 3D space. Geometry - point where higher-dimensional geometric objects meet; Graph theory - fundamental unit of graphs;

A vertex in computer graphics is a data structure that describes certain attributes, like the position of a point in 2-Dimensional or 3-Dimensional space, at multiple points on a surface.

In geometry, a vertex is a point where two or more curves, lines, or edges meet. As a consequence of this definition, the point where two lines meet to form an angle and the corners of polygons and polyhedra are vertices.

In mathematics, and more specifically in graph theory, a vertex or node is the fundamental unit of which graphs are formed (usually represented by a circle with a label)

471 questions
-2
votes
1 answer

OpenGL teapot not drawing correctly. What am I doing wrong?

I am having trouble rendering my teapot downloaded from http://graphics.cs.williams.edu/data/meshes.xml. Since I didn't want to spend too much time parsing the .obj files, I just copied the vertex data (preceded by "v" in the object file) and pasted…
newbie
  • 607
  • 2
  • 8
  • 16
-3
votes
1 answer

Java, Jung Framework: How to edit and set vertices locations

I'm trying to set coordinates (x and y) of vertices in given position. I use the VertexImageShaperDemo example. The x,y coordinates for every vertex are already in the database. How can I place all IP addresses in their specific locations which is…
Adil
  • 5
  • 3
-3
votes
1 answer

Rotating triangle in opengl from one point

Can someone please advise how to rotate a triangle from its top vertice? I want to make multiple triangles in a fan to make a circle with a common middle point, the top vertice of the triangle.
John
  • 39
  • 1
  • 6
-3
votes
0 answers

Is there a OpenCV specific way to find the vertices of a polygon in a binary image and re-generate the image using those vertices

I want to find the coordinates of the vertices of a polygon in a binary image (Mat). How to do that? I will store those coordinates to represent that image. Actually I will store those coordinates in a database and later I want to use those…
Samitha Chathuranga
  • 1,689
  • 5
  • 30
  • 57
-3
votes
1 answer

Primitive 2d water spill simulation

For this simulation, I have two objects: Rectangle bucket sprite. Rectangle animated water sprite. Of course, by only manipulating the vertices of these two sprites, I don't expect a too realistic water spill simulation. As I rotate the bucket, I…
user2592200
  • 9
  • 1
  • 2
-4
votes
1 answer

Provide the python code: Identify when the elements of a list exchanged positions in groups of three

Syppose I have a list that represents the vertices of a graph. lista = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20] I take the list and I compute the automorphism group to the vertices. This returns me a new list where my vertices are…
mariap
  • 7
  • 2
1 2 3
31
32