Base: replace several reinterpret_cast

This commit is contained in:
wmayer
2022-05-11 20:01:40 +02:00
parent 43f5e3278d
commit 4b483807c7
7 changed files with 56 additions and 59 deletions

View File

@@ -40,7 +40,7 @@ using namespace Base;
std::string PlacementPy::representation() const
{
double A,B,C;
PlacementPy::PointerType ptr = reinterpret_cast<PlacementPy::PointerType>(_pcTwinPointer);
PlacementPy::PointerType ptr = getPlacementPtr();
std::stringstream str;
ptr->getRotation().getYawPitchRoll(A,B,C);