0028225: MFC sample on OCAF uses old-style definition of a Handle-class
[occt.git] / samples / mfc / standard / 01_Geometry / src / GeoAlgo_Sol.hxx
CommitLineData
7fd59977 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
d7a28eda 18#ifndef _Geom_BSplineSurface_HeaderFile
9e3ca93a 19#include <Geom_BSplineSurface.hxx>
7fd59977 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
29class Geom_BSplineSurface;
30
31
32#ifndef _Standard_Macro_HeaderFile
33#include <Standard_Macro.hxx>
34#endif
35
5c1f974e 36class GeoAlgo_Sol
37{
7fd59977 38
39public:
40
41 // Methods PUBLIC
42 //
5c1f974e 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) ;
92efcf78 47 Standard_EXPORT Handle(Geom_BSplineSurface) Surface() const;
5c1f974e 48 Standard_EXPORT Standard_Boolean IsDone() const;
7fd59977 49
50private:
51
52 // Methods PRIVATE
53 //
92efcf78 54Standard_EXPORT Handle(Geom_BSplineSurface) Read(const Standard_CString aGroundName) ;
7fd59977 55
7fd59977 56 // Fields PRIVATE
57 //
92efcf78 58Handle(Geom_BSplineSurface) myGround;
7fd59977 59Standard_Boolean myIsDone;
60
7fd59977 61};
62
63
64
65
66
67// other inline functions and methods (like "C++: function call" methods)
68//
69
70
71#endif