- This topic has 4 replies, 3 voices, and was last updated 6 years, 2 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] How can I get the index of the tetrahedron which contain a particular point?
Hello everyone,
A part of my work is to obtain the index of the tetrahedron which contain the point specified by myself in TetrahedralFEMForceField.
Is there any convenient and efficient methods in Sofa which can do it?
Hello everyone,
This topic can be ignored. I have solved the problem.
Hi @outtt
When a topic is solved you can close it yourself.
Note for people facing the same question: you can activate in the Visualization Data of the TetrahedronSetGeometryAlgorithm with showPointIndices, showEdgeIndices etc.
A work is in progress to integrate it in a more easy way into a new GUI for SOFA.
Best regards
Hugo
Hello @Hugo
How would you find the vertex numbers for any given general mesh? When not using the TetrahedronSetGeometryAlgorithm
Several components do have such a visualization option (MechanicalObject, SparseGrid, MeshTopology etc.). If you don’t find it, please post us your scene.
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.