Skip to content

Refactoring to include multiple shapes type in the future#126

Draft
gviga wants to merge 2 commits intomainfrom
shape-type
Draft

Refactoring to include multiple shapes type in the future#126
gviga wants to merge 2 commits intomainfrom
shape-type

Conversation

@gviga
Copy link
Collaborator

@gviga gviga commented Feb 8, 2026

This is a crucial PR for the future.
For the moment, geomfum admits having TriangleMesh or PointClouds as shapes, and the distinction is based on a boolean is_mesh value.

In the future, we would like to add other types of meshes (i.e., graphs or Volumetric meshes). For the moment, this PR introduces a key value routing system, not a boolean basen one.

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
geomfum/shape/point_cloud.py 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants