Skip to content

igl::copyleft::cgal::point_areas failed when running example 717: Fast Winding Number For Soups And Clouds #2217

@liuweizhou319

Description

@liuweizhou319

my computei system is windows 11, platform is visual studio 2019.
The project I built with reference to this link https://github.com/broccoli-97/libigl-example-project/tree/main.
And I ran example 717's code but failed. It is an error reported by the Eigen library. After debugging, I found that this line seems to be wrong.
this line:
https://github.com/libigl/libigl/blob/7b6cc272845d583934c6aa4d30cc3c7a31a8f11c/include/igl/copyleft/cgal/point_areas.cpp#L75C35-L75C35
I change MatrixI neighbor_index = I.row(i); to MatrixI neighbor_index = I.row(i).transpose(); The code works.
I don't know if it's a bug or because of my problem with configuring the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions