16d57a2d63b0bdbde5bb6c5879739f7f71c3f66b
[occt.git] / samples / mfc / standard / 01_Geometry / src / GeoAlgo_Sol.hxx
1 // File generated by CPPExt (Value)
2 //                     Copyright (C) 1991,1995 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14
15 #ifndef _GeoAlgo_Sol_HeaderFile
16 #define _GeoAlgo_Sol_HeaderFile
17
18 #ifndef _Handle_Geom_BSplineSurface_HeaderFile
19 #include <Geom_BSplineSurface.hxx>
20 #endif
21 #ifndef _Standard_Boolean_HeaderFile
22 #include <Standard_Boolean.hxx>
23 #endif
24 #ifndef _Standard_CString_HeaderFile
25 #include <Standard_CString.hxx>
26 #endif
27 #include <TColgp_SequenceOfXYZ.hxx>
28
29 class Geom_BSplineSurface;
30
31
32 #ifndef _Standard_Macro_HeaderFile
33 #include <Standard_Macro.hxx>
34 #endif
35
36 class GeoAlgo_Sol
37 {
38
39 public:
40
41  // Methods PUBLIC
42  // 
43   Standard_EXPORT GeoAlgo_Sol();
44   Standard_EXPORT GeoAlgo_Sol(const Standard_CString aGroundName);
45   Standard_EXPORT void Build(const Standard_CString aGroundName) ;
46   Standard_EXPORT void Build(const TColgp_SequenceOfXYZ& aSeqofPoints) ;
47   Standard_EXPORT Handle(Geom_BSplineSurface) Surface() const;
48   Standard_EXPORT Standard_Boolean IsDone() const;
49
50 private: 
51
52  // Methods PRIVATE
53  // 
54 Standard_EXPORT   Handle(Geom_BSplineSurface) Read(const Standard_CString aGroundName) ;
55
56  // Fields PRIVATE
57  //
58 Handle(Geom_BSplineSurface) myGround;
59 Standard_Boolean myIsDone;
60
61 };
62
63
64
65
66
67 // other inline functions and methods (like "C++: function call" methods)
68 //
69
70
71 #endif