Half Edge Structure for Custom Models.
See original GitHub issueAs I was working on my bachelor thesis, I needed to create a Half Edge Structure for any given model. I had problems that I had no way to access already created HalfEdge
Class in /examples/jsm/math/ConvexHull.js. Also the problem is that this structure is only used in ConvexHull.js
however it could be used to create HalfEdge structure from any 3D Model. )
Describe the solution you’d like
- I suggest to move
HalfEdge
Class to new fileHalfEdge.js
. - Create a new Class
HalfEdgeStructure
with this very simple structure
this.mesh = mesh
this.halfEdgeMap = new **Map()**
This Issue is related to following Issue: OBJLoader loses information about Vertex ID. #24361
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Half-edge structure - of Kalle Rutanen
A half-edge structure is a description of the relationships between vertices, half-edges, edges and polygons. In computer graphics, it is ...
Read more >Halfedge Mesh Representation - Stony Brook Computer Science
A triangle mesh is a oriented two dimensional simplical complex, generally embedded in R3. Our goal is to design a data structure to...
Read more >Modified half-edge data structure and its applications to 3D ...
This paper and application will be focused on boundary edge representation, specifically the half-edge data structure. A. Medical Tube Structures. One primary ...
Read more >Introducing Assignment 2: Mesh Processing & Half Edges
Half -edge data structure. ○ Definition ... Object Download ('o' to download the 3D model) ... Each face, vertex, and half-edge stores some...
Read more >The dual half-edge data structure in 3D. a The DHE models 3D...
The dual half-edge data structure in 3D. a The DHE models 3D subdivisions by representing the boundary of each polyhedron separately with a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Exporting these classes is okay. Would you like to make a PR?
Excuse me for intervening, but I also needed the
HalfEdge
andFace
classes from ConvexHull.js, but since they’re not exported, i had to copy them to my own repo. Would it be possible to export those by changing the last line? fromexport { ConvexHull };
toexport { ConvexHull, Face, HalfEdge, VertexNode, VertexList };
This will also better reflect the documentation, as those classes are shown there. Thank you.