Part/Toponaming: clang-tidy cleanup of cache calls

This commit is contained in:
Chris Hennes
2023-12-23 11:39:57 -06:00
committed by Chris Hennes
parent 58e53c1b22
commit 2dc5e8de5b
3 changed files with 6 additions and 25 deletions

View File

@@ -8,9 +8,7 @@
#include <gp_Quaternion.hxx>
#include <TopoDS_TVertex.hxx>
#include <BRep_TVertex.hxx>
#include <BRep_TEdge.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepAlgoAPI_Common.hxx>
#include <BRepAlgoAPI_Fuse.hxx>
#include <BRepPrimAPI_MakeBox.hxx>
#include <TopoDS_Edge.hxx>
@@ -62,22 +60,6 @@ private:
App::StringHasherRef _hasher;
};
/*
Methods to test
-------------
DONE - explicit TopoShapeCache(const TopoDS_Shape& tds);
DONE - void insertRelation(const ShapeRelationKey& key, const QVector<Data::MappedElement>& value);
DONE - bool isTouched(const TopoDS_Shape& tds) const;
DONE Ancestry& getAncestry(TopAbs_ShapeEnum type);
DONE int countShape(TopAbs_ShapeEnum type);
DONE int findShape(const TopoDS_Shape& parent, const TopoDS_Shape& subShape);
DONE TopoDS_Shape findShape(const TopoDS_Shape& parent, TopAbs_ShapeEnum type, int index);
TopoDS_Shape findAncestor(const TopoDS_Shape& parent,
const TopoDS_Shape& subShape,
TopAbs_ShapeEnum type,
std::vector<TopoDS_Shape>* ancestors = nullptr);
*/
TEST_F(TopoShapeCacheTest, ConstructionFromTopoDS_Shape)
{
// Arrange - create a TopoDS shape with some location transformation applied