0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / ShapeUpgrade / ShapeUpgrade_ShapeDivideArea.cxx
1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
2 //
3 // This file is part of Open CASCADE Technology software library.
4 //
5 // This library is free software; you can redistribute it and/or modify it under
6 // the terms of the GNU Lesser General Public License version 2.1 as published
7 // by the Free Software Foundation, with special exception defined in the file
8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 // distribution for complete text of the license and disclaimer of any warranty.
10 //
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
13
14 #include <ShapeUpgrade_ShapeDivideArea.ixx>
15 #include <ShapeUpgrade_FaceDivideArea.hxx>
16 #include <Precision.hxx>
17
18 //=======================================================================
19 //function : ShapeUpgrade_ShapeDivideArea
20 //purpose  : 
21 //=======================================================================
22
23 ShapeUpgrade_ShapeDivideArea::ShapeUpgrade_ShapeDivideArea():
24        ShapeUpgrade_ShapeDivide()
25 {
26   myMaxArea = Precision::Infinite();
27 }
28
29 //=======================================================================
30 //function : ShapeUpgrade_ShapeDivideArea
31 //purpose  : 
32 //=======================================================================
33
34 ShapeUpgrade_ShapeDivideArea::ShapeUpgrade_ShapeDivideArea(const TopoDS_Shape& S):
35        ShapeUpgrade_ShapeDivide(S)
36        
37 {
38   myMaxArea = Precision::Infinite();
39 }
40
41 //=======================================================================
42 //function : GetSplitFaceTool
43 //purpose  : 
44 //=======================================================================
45
46  Handle(ShapeUpgrade_FaceDivide) ShapeUpgrade_ShapeDivideArea::GetSplitFaceTool() const
47 {
48   Handle(ShapeUpgrade_FaceDivideArea) aFaceTool = new ShapeUpgrade_FaceDivideArea;
49   aFaceTool->MaxArea() = myMaxArea;
50   return aFaceTool;
51 }
52