Part: [skip ci] rename methods in TopoShape that override non-virtual functions of base class

This commit is contained in:
wmayer
2021-02-03 16:10:38 +01:00
parent cc3a30a221
commit 3ebd7d119b
2 changed files with 11 additions and 5 deletions

View File

@@ -704,7 +704,10 @@ Base::Matrix4D TopoShape::getTransform(void) const
return mtrx;
}
void TopoShape::setPlacement(const Base::Placement& rclTrf)
/*!
* \obsolete
*/
void TopoShape::setShapePlacement(const Base::Placement& rclTrf)
{
const Base::Vector3d& pos = rclTrf.getPosition();
Base::Vector3d axis;
@@ -718,7 +721,10 @@ void TopoShape::setPlacement(const Base::Placement& rclTrf)
_Shape.Location(loc);
}
Base::Placement TopoShape::getPlacemet(void) const
/*!
* \obsolete
*/
Base::Placement TopoShape::getShapePlacement(void) const
{
TopLoc_Location loc = _Shape.Location();
gp_Trsf trsf = loc.Transformation();