encyclopegia.org

Quad-edge

A quad-edge data structure is a computer representation of the topology of a two-dimensional or three-dimensional map, that is, a graph drawn on a (closed) surface.[src] It was first described by Jorge Stolfi and Leonidas J.[src] Guibas.[src] It is a variant of the earlier winged edge data structure.[src]

A quad-edge data structure is a computer representation of the topology of a two-dimensional or three-dimensional map, that is, a graph drawn on a (closed) surface.[src] It was first described by Jorge Stolfi and Leonidas J.[src] Guibas.[src] It is a variant of the earlier winged edge data structure.[src] ==Overview== The fundamental idea behind the quad-edge structure is the recognition that a single edge, in a closed polygonal mesh topology, sits between exactly two faces and exactly two vertices.[src] The quad-edge data structure represents an edge, along with the edges it is connected to around the adjacent vertices and faces to encode the topology of the graph.[src] An example implementation of the quad-edge data-type is as follows typedef struct { quadedge_ref e[4]; } quadedge; typedef struct { quadedge *next; unsigned int rot; } quadedge_ref; Each quad-edge contains four references to adjacent quad-edges.[src] Each of the four references points to the next edge counter-clockwise around either a vertex or a face.[src] Each of these references represent either the origin vertex of the edge, the right face, the destination vertex, or the left face.[src] Each quad-edge reference points to a quad-edge and the rotation (from 0 to 3) of the 'arm' it points at.[src] Due to this representation, the quad-edge: represents a graph, its dual, and its mirror image.[src] the dual of the graph can be obtained simply by reversing the convention on what is a vertex and what is a face; and can represent the most general form of a map, admitting vertices and faces of degree 1 and 2.[src] ==Details== The quad-edge structure gets its name from the general mechanism by which they are stored.[src] A single Edge structure conceptually stores references to up to two faces, two vertices, and 4 edges .[src] The four edges stored are the edges starting with the two vertices that are attached to the two stored faces .[src] ==Uses== Much like winged edge, quad-edge structures are used in programs to store the topology of a 2D or 3D polygonal mesh.[src] The mesh itself does not need to be closed in order to form a valid quad-edge structure.[src] Using a quad-edge structure, iterating through the topology is quite easy.[src] Often, the interface to quad-edge topologies is through directed edges.[src] This allows the two vertices to have explicit names (start and end), and this gives faces explicit names as well (left and right, relative to a person standing on start and looking in the direction of end).[src] The four edges are also given names, based on the vertices and faces: start-left, start-right, end-left, and end-right.[src] A directed edge can be reversed to generate the edge in the opposite direction.[src] Iterating around a particular face only requires having a single directed edge to which that face is on the left (by convention) and then walking through all of the start-left edges until the original edge is reached.[src] ==See also== Winged edge Combinatorial maps Doubly connected edge list ==References== ==External links== https://www.cs.cmu.edu/afs/andrew/scs/cs/15-463/2001/pub/src/a2/quadedge.html A quad-edge implementation in C++.[src] http://www.ic.unicamp.br/~stolfi/EXPORT/software/c/2000-05-04/libquad/ A quad-edge implementation in C.[src]

29 sentences · 29 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Quad-edge." encyclopegia.org, 2026, https://encyclopegia.org/wiki/quad-edge. Accessed 28 November 2026.

Chicago

"Quad-edge." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/quad-edge.

APA

encyclopegia.org. (2026). Quad-edge. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/quad-edge

Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1346570385 · 0.5 · snapshot enwiki-001346570385

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.