Closed alxbilger closed 1 week ago
I understand that this conversion seems natural, but why is it needed and more over why should we make sure it is always the case ?
I need it in https://github.com/sofa-framework/sofa/pull/5122, where I make a link between a 1D position and a vector of reals (triangleData="@../constraintSpace/areaDoFs.position"
)
To make sure that a
Data<sofa::type::vector<sofa::type::Vec1d>>
can be converted to aData<sofa::type::vector<SReal>>
By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).
Reviewers will merge this pull-request only if