Skip to content

How to push faces? #274

Answered by jirihon
jirihon asked this question in Q&A
Nov 11, 2022 · 2 comments · 9 replies
Discussion options

You must be logged in to vote

Could I please have another question related to this topic? As I'm working towards "push faces" functionality, I've implemented the following constructor which can make a manifold from a set of 3D polygons, which is great. However, it has one serious drawback. The vertex indices are changed in the output manifold and therefore I'm not able to track the relation between the input 3D polygons and the faces reported by getMeshRelation function called on the resulting manifold.

Is it somehow possible to get the information on how the vertices were reordered during manifold initialization without comparing the coordinates of input and output vertices?

Manifold Manifold::Polyhedron(
    const s…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@jirihon
Comment options

Comment options

You must be logged in to vote
8 replies
@jirihon
Comment options

@elalish
Comment options

@jirihon
Comment options

@elalish
Comment options

@jirihon
Comment options

Answer selected by jirihon
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