Skip to content
Discussion options

You must be logged in to vote

It was difficult to understand, how to make this work. But here is the solution.
The most annoyint part is that you cannot get order faces around boundary vertices.

std::tuple<compas::RowMatrixXd, std::vector<std::vector<int>>>
pmp_remesh_dual(
    Eigen::Ref<compas::RowMatrixXd> vertices_a,
    Eigen::Ref<compas::RowMatrixXi> faces_a,
    double target_edge_length,
    unsigned int number_of_iterations,
    bool do_project)
{
    /////////////////////////////////////////////////////////////////////////////////
    // Initial Mesh Preparation
    /////////////////////////////////////////////////////////////////////////////////
    // This section initializes the primal mesh and performs …

Replies: 3 comments 1 reply

Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

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