Assembly: replace properties float by propertylength & propertyangle (#24403)
* Assembly: replace properties float by propertylength & propertyangle * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -433,6 +433,11 @@ double getJointDistance(const App::DocumentObject* joint, const char* propertyNa
|
||||
return prop->getValue();
|
||||
}
|
||||
|
||||
double getJointAngle(const App::DocumentObject* joint)
|
||||
{
|
||||
return getJointDistance(joint, "Angle");
|
||||
}
|
||||
|
||||
double getJointDistance(const App::DocumentObject* joint)
|
||||
{
|
||||
return getJointDistance(joint, "Distance");
|
||||
|
||||
Reference in New Issue
Block a user