- This topic has 3 replies, 2 voices, and was last updated 6 years, 1 month ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] the reason to use "TrianglePressureForceField" and "TTriangleModel"
Tagged: 64_bits, Linux_ubuntu, SOFA_1706
Hi,
In the scene “Tetra2TriangleTopologicalMapping”, what are the functionalities of the “TrianglePressureForceField” and “TTriangleModel” components?
Best,
Zahra
Hi @zahra,
For any such code-related question, never hesitate to give a look at the doc / code / API doc. You can most of the time find info.
In the case of the two classes you mentioned, it’s no trivial to find them though.
TrianglePressureForceField: is a forcefield, it implements an external force applying a user-defined pressure on an object with a triangular topology
TTriangleModel: it is a collision model for an object with a triangular topology. This class is used to compute discrete intersections for collision detection.
Does this help you?
Hugo
Dear @Hugo,
Thank you for your explanation. At this level, yes, I think I understood their functionality.
best,
Zahra
Alright, I close the topic then.
If you have any further question, as usual, do not hesitate to post it !
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.