Ligament length

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Alexandra Yurova
Posts: 21
Joined: Thu Feb 04, 2021 4:21 am

Ligament length

Post by Alexandra Yurova » Thu Oct 27, 2022 4:00 am

Hello,

is there any way to find out the length of the ligament taking in account its wrapping over the surface of the wrap object? It seems, that getLength() procedure outputs just the distance between origin and insertion points.

Best,
Alexandra

Tags:

User avatar
Thomas Uchida
Posts: 1790
Joined: Wed May 16, 2012 11:40 am

Re: Ligament length

Post by Thomas Uchida » Thu Oct 27, 2022 9:03 am

The getLength() method returns the length of the underlying GeometryPath, which is calculated by GeometryPath::computePath() and does consider via points and wrapping surfaces. https://github.com/opensim-org/opensim- ... h.cpp#L901

POST REPLY