blob: 9541b20f3b02bb44bf21bff1a974fbf27aa55c36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// File: BRepFeat_Builder.cxx
// Created: Tue Jun 13 14:30:58 1995
// Author: Jacques GOUSSARD
// <jag@bravox>
#include <BRepFeat_Builder.ixx>
#include <TopOpeBRepBuild_HBuilder.hxx>
#include <TopOpeBRepDS_HDataStructure.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <BOP_HistoryCollector.hxx>
//=======================================================================
//function : Modified
//purpose :
//=======================================================================
const TopTools_ListOfShape& BRepFeat_Builder::Modified
(const TopoDS_Shape& F)
{
myGenerated.Clear();
TopTools_ListIteratorOfListOfShape it;
const Handle(BOP_HistoryCollector)& B = myBuilder.History();
const TopTools_ListOfShape& aLM=B->Modified(F);
it.Initialize(aLM);
for (; it.More(); it.Next()) {
myGenerated.Append(it.Value());
}
return myGenerated;
}
|