Point to mesh distance and split a mesh into components

Open
#90 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp

Research direction

Start by reviewing the elementary_geometry header and the existing DisjointSet-based approach mentioned in the issue. Compare the requested point-to-mesh distance with libigl's point_mesh_squared_distance reference, and identify the scope for connected-component splitting and 3D point-to-triangle or line-to-triangle primitives. Done should be defined for each requested utility, with corresponding library tests.

Written by the indexing model from the issue text.

Description

Hello, few questions about the features of the library (it's the first time I use it).

  1. Do you have a function to compute "point to mesh" distance? Something like https://github.com/libigl/libigl/blob/main/include/igl/point_mesh_squared_distance.h

  2. Is there a utility function to split a mesh into multiple meshes where each output mesh is a connected component? At the moment I am using the DisjointSet data structure to work this out.

  3. I am looking also for basic primitives (3D point to triangle distance, line to triangle intersection in 3D space etc), I can see you have something for 2D but nothing for 3D in your elementary_geometry header file?

Dominant language
C++
Stars
1.3k
Forks
183
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nmwsharp/geometry-central

All issues in nmwsharp/geometry-central

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.