fix readability-identifier-length
This commit is contained in:
@@ -76,20 +76,20 @@ PyObject* CoordinateSystemPy::displacement(PyObject* args)
|
||||
if (!PyArg_ParseTuple(args, "O!", &(CoordinateSystemPy::Type), &cs)) {
|
||||
return nullptr;
|
||||
}
|
||||
Placement p = getCoordinateSystemPtr()->displacement(
|
||||
Placement plm = getCoordinateSystemPtr()->displacement(
|
||||
*static_cast<CoordinateSystemPy*>(cs)->getCoordinateSystemPtr());
|
||||
return new PlacementPy(new Placement(p));
|
||||
return new PlacementPy(new Placement(plm));
|
||||
}
|
||||
|
||||
PyObject* CoordinateSystemPy::transformTo(PyObject* args)
|
||||
{
|
||||
PyObject* vec {};
|
||||
if (!PyArg_ParseTuple(args, "O!", &(VectorPy::Type), &vec)) {
|
||||
PyObject* vecpy {};
|
||||
if (!PyArg_ParseTuple(args, "O!", &(VectorPy::Type), &vecpy)) {
|
||||
return nullptr;
|
||||
}
|
||||
Vector3d v = static_cast<VectorPy*>(vec)->value();
|
||||
getCoordinateSystemPtr()->transformTo(v);
|
||||
return new VectorPy(new Vector3d(v));
|
||||
Vector3d vec = static_cast<VectorPy*>(vecpy)->value();
|
||||
getCoordinateSystemPtr()->transformTo(vec);
|
||||
return new VectorPy(new Vector3d(vec));
|
||||
}
|
||||
|
||||
PyObject* CoordinateSystemPy::transform(PyObject* args)
|
||||
|
||||
Reference in New Issue
Block a user