Skip to content

Issue with Geodesic Distance Computation #30

@whb007

Description

@whb007

Hello. Thank you for sharing your code.

However, I believe I’ve encountered an issue with the geodesic distance computation. I used the following code:
solver = pp3d.MeshHeatMethodDistanceSolver(vertices, faces)
dist = solver.compute_distance(2)

to compute the geodesic distance on a simple mesh with the following data:

`v 0 0 0
v 1 -3 0
v 2 0 0
v 1 3 0

f 1 2 3
f 1 3 4`

The result I obtained was:
[1.51446671 2.71666474 0. 2.71666474]

However, this result seems incorrect given the simple planar configuration of the mesh. I would greatly appreciate it if you could take a look and let me know whether this is expected behavior, or if there might be an issue with the implementation or usage.

Thank you again for your time and effort in making the code available.

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