summaryrefslogtreecommitdiff
path: root/src/ShapeUpgrade/ShapeUpgrade_Tool.cxx
blob: 2b724a2c539258383016ef1604eabbbfe553c870 (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:	ShapeUpgrade_Tool.cxx
// Created:	Tue Aug 31 15:16:08 1999
// Author:	Pavel DURANDIN
//		<pdn@friendox.nnov.matra-dtv.fr>


#include <ShapeUpgrade_Tool.ixx>
#include <Precision.hxx>

//=======================================================================
//function : ShapeUpgrade_Tool
//purpose  : 
//=======================================================================

ShapeUpgrade_Tool::ShapeUpgrade_Tool()
{
  myPrecision = myMinTol = Precision::Confusion();
  myMaxTol = 1; //Precision::Infinite() ?? pdn
}

//=======================================================================
//function : Set
//purpose  : 
//=======================================================================

void ShapeUpgrade_Tool::Set(const Handle(ShapeUpgrade_Tool)& tool)
{
  myContext   = tool->myContext;
  myPrecision = tool->myPrecision;
  myMinTol    = tool->myMinTol;
  myMaxTol    = tool->myMaxTol;
}