1 // File: NMTAlgo_Algo.cxx
2 // Created: Tue Jan 27 14:58:21 2004
3 // Author: Peter KURNEV
7 #include <NMTAlgo_Algo.ixx>
9 //=======================================================================
10 // function: NMTAlgo_Algo::NMTAlgo_Algo
12 //=======================================================================
13 NMTAlgo_Algo::NMTAlgo_Algo()
16 myIsDone(Standard_False),
17 myIsComputed(Standard_False),
22 char* xr=getenv("MDISP");
24 if (!strcmp (xr, "yes")) {
29 //=======================================================================
30 // function: NMTAlgo_Algo
32 //=======================================================================
33 NMTAlgo_Algo::~NMTAlgo_Algo()
37 //=======================================================================
40 //=======================================================================
41 void NMTAlgo_Algo::Clear()
43 myIsDone=Standard_False;
44 myIsComputed=Standard_False;
47 //=======================================================================
48 // function: SetFiller
50 //=======================================================================
51 void NMTAlgo_Algo::SetFiller(const NMTTools_DSFiller& aDSF)
53 myDSFiller=(NMTTools_DSFiller *)&aDSF;
55 //=======================================================================
58 //=======================================================================
59 const NMTTools_DSFiller& NMTAlgo_Algo::Filler()const
63 //=======================================================================
64 // function: ComputeWithFiller
66 //=======================================================================
67 void NMTAlgo_Algo::ComputeWithFiller(const NMTTools_DSFiller& aDSF)
71 //=======================================================================
74 //=======================================================================
75 const TopoDS_Shape& NMTAlgo_Algo::Shape()const
79 //=======================================================================
82 //=======================================================================
83 Standard_Boolean NMTAlgo_Algo::IsDone()const
87 //=======================================================================
88 // function: ErrorStatus
90 //=======================================================================
91 Standard_Integer NMTAlgo_Algo::ErrorStatus()const
96 //=======================================================================
99 //=======================================================================
100 void NMTAlgo_Algo::Compute()
103 //=======================================================================
104 // function: SetCompositeShape
106 //=======================================================================
107 void NMTAlgo_Algo::SetCompositeShape(const TopoDS_Shape& aS)
111 //=======================================================================
112 // function: CompositeShape
114 //=======================================================================
115 const TopoDS_Shape& NMTAlgo_Algo::CompositeShape()const
117 return myCompositeShape;