Toposhape/Part: clean and add tests

This commit is contained in:
bgbsww
2024-02-20 12:49:34 -05:00
parent 201d48659f
commit a27e91a272
4 changed files with 680 additions and 336 deletions

View File

@@ -579,6 +579,14 @@ void TopoShape::setPyObject(PyObject* obj)
}
}
//void TopoShape::operator = (const TopoShape& sh)
//{
// if (this != &sh) {
// this->Tag = sh.Tag;
// this->_Shape = sh._Shape;
// }
//}
void TopoShape::convertTogpTrsf(const Base::Matrix4D& mtrx, gp_Trsf& trsf)
{
trsf.SetValues(mtrx[0][0],mtrx[0][1],mtrx[0][2],mtrx[0][3],