Part: [skip ci] rename methods in TopoShape that override non-virtual functions of base class
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -110,11 +110,11 @@ public:
|
||||
/// set the transformation of the CasCade Shape
|
||||
void setTransform(const Base::Matrix4D& rclTrf);
|
||||
/// set the transformation of the CasCade Shape
|
||||
void setPlacement(const Base::Placement& rclTrf);
|
||||
void setShapePlacement(const Base::Placement& rclTrf);
|
||||
/// get the transformation of the CasCade Shape
|
||||
Base::Placement getShapePlacement(void) const;
|
||||
/// get the transformation of the CasCade Shape
|
||||
Base::Matrix4D getTransform(void) const;
|
||||
/// get the transformation of the CasCade Shape
|
||||
Base::Placement getPlacemet(void) const;
|
||||
/// Bound box from the CasCade shape
|
||||
Base::BoundBox3d getBoundBox(void)const;
|
||||
virtual bool getCenterOfGravity(Base::Vector3d& center) const;
|
||||
|
||||
Reference in New Issue
Block a user