Skip to content

ExactGlobe::adjacency does contain duplicate edges despite what documentation says. #2

@VictorElHajj

Description

@VictorElHajj

"The output will not contain duplicate edges but no other guarantees are made."

I'm using this wonderful crate for a bevy project (thanks for the bevy example!) and I ran into an issue building my face connection graph, a lot of faces seem to have duplicate edges. For example (ExactGlobe::<31>::new()) I get these edges:

[(41, 0), (71, 0), (101, 0), (131, 0), (161, 0), (161, 0), (41, 0), (71, 0), (101, 0), (131, 0)]

There are 10 edges containing face 0 with duplications like (41, 0), (0,41).

Another example I got is
[(41, 0), (71, 0), (101, 0), (131, 0), (161, 0), (161, 0), (41, 0), (71, 0), (101, 0), (131, 0)]

In this case there were also duplicates with the same order on the faces (41, 0), (41, 0)

I looked at the other closed issue and saw that you decided to co-operate on subsphere, is this crate still being worked on? I tried that other crate but it was missing the convenient mesh methods you had which made my life much easier :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions