collapseEdge
Functions
- cleanupDanglingEdges(mesh, face)
- collapseFaceToEdge(mesh, victim_face, vertex_victim, vertex_successor)
- partialEdgeCollapse(mesh, edge, victim, replacement)
Removed edge from the mesh by replacing one of the edge vertices (victim) with the other vertex of the edge (replacement) Patches the rest of the topology Useful for mesh simplification
Removed edge from the mesh by replacing one of the edge vertices (victim) with the other vertex of the edge (replacement) Patches the rest of the topology Useful for mesh simplification
cleanupDanglingEdges(mesh, face)
Kind: global function
| Param | Type |
|---|---|
| mesh | TopoMesh |
| face | TopoTriangle |
collapseFaceToEdge(mesh, victim_face, vertex_victim, vertex_successor)
Kind: global function
| Param | Type |
|---|---|
| mesh | TopoMesh |
| victim_face | TopoTriangle |
| vertex_victim | TopoVertex |
| vertex_successor | TopoVertex |
- collapseFaceToEdge(mesh, victim_face, vertex_victim, vertex_successor)
- ~victim_edge :
TopoEdge - ~successor_edge :
TopoEdge
- ~victim_edge :
collapseFaceToEdge~victim_edge : TopoEdge
Kind: inner property of collapseFaceToEdge
collapseFaceToEdge~successor_edge : TopoEdge
Kind: inner property of collapseFaceToEdge
partialEdgeCollapse(mesh, edge, victim, replacement)
Removed edge from the mesh by replacing one of the edge vertices (victim) with the other vertex of the edge (replacement) Patches the rest of the topology Useful for mesh simplification
Kind: global function
| Param | Type |
|---|---|
| mesh | TopoMesh |
| edge | TopoEdge |
| victim | TopoVertex |
| replacement | TopoVertex |
collapseEdge(mesh, edge, victim, replacement)
Removed edge from the mesh by replacing one of the edge vertices (victim) with the other vertex of the edge (replacement) Patches the rest of the topology Useful for mesh simplification
Kind: global function
| Param | Type |
|---|---|
| mesh | TopoMesh |
| edge | TopoEdge |
| victim | TopoVertex |
| replacement | TopoVertex |