Skip to content

Need help understanding a piece of Extrude code. #734

Answered by elalish
briansturgill asked this question in Q&A
Discussion options

You must be logged in to vote

It's only foring over the number of polygons, not polygon verts. If you extrude a donut into a cone, you have two polygons, but if you only add one top vert, it's a non-manifold vert otherwise known as a "kissing vert" - imagine a bowtie. Genus is the standard topological definition, coming from the Euler characteristic, but that assumes there aren't any non-manifold verts.

The fundamental difference between this Manifold library and many other geometry libraries that have come before is that it allows duplicate verts as necessary to keep the topology sane. Anything that combines all verts that have the same position in space will not be able to retain manifoldness in general. So it basic…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by briansturgill
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants