0027232: Configuration - fix mblen missing building issue on Android
[occt.git] / src / BRepFill / BRepFill_ApproxSeewing.hxx
... / ...
CommitLineData
1// Created on: 1995-09-21
2// Created by: Bruno DUMORTIER
3// Copyright (c) 1995-1999 Matra Datavision
4// Copyright (c) 1999-2014 OPEN CASCADE SAS
5//
6// This file is part of Open CASCADE Technology software library.
7//
8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _BRepFill_ApproxSeewing_HeaderFile
18#define _BRepFill_ApproxSeewing_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24#include <BRepFill_MultiLine.hxx>
25#include <Standard_Boolean.hxx>
26class Geom_Curve;
27class Geom2d_Curve;
28class StdFail_NotDone;
29
30
31//! Evaluate the 3dCurve and the PCurves described in
32//! a MultiLine from BRepFill. The parametrization of
33//! those curves is not imposed by the Bissectrice.
34//! The parametrization is given approximatively by
35//! the abscissa of the curve3d.
36class BRepFill_ApproxSeewing
37{
38public:
39
40 DEFINE_STANDARD_ALLOC
41
42
43 Standard_EXPORT BRepFill_ApproxSeewing();
44
45 Standard_EXPORT BRepFill_ApproxSeewing(const BRepFill_MultiLine& ML);
46
47 Standard_EXPORT void Perform (const BRepFill_MultiLine& ML);
48
49 Standard_EXPORT Standard_Boolean IsDone() const;
50
51 //! returns the approximation of the 3d Curve
52 Standard_EXPORT const Handle(Geom_Curve)& Curve() const;
53
54 //! returns the approximation of the PCurve on the
55 //! first face of the MultiLine
56 Standard_EXPORT const Handle(Geom2d_Curve)& CurveOnF1() const;
57
58 //! returns the approximation of the PCurve on the
59 //! first face of the MultiLine
60 Standard_EXPORT const Handle(Geom2d_Curve)& CurveOnF2() const;
61
62
63
64
65protected:
66
67
68
69
70
71private:
72
73
74
75 BRepFill_MultiLine myML;
76 Standard_Boolean myIsDone;
77 Handle(Geom_Curve) myCurve;
78 Handle(Geom2d_Curve) myPCurve1;
79 Handle(Geom2d_Curve) myPCurve2;
80
81
82};
83
84
85
86
87
88
89
90#endif // _BRepFill_ApproxSeewing_HeaderFile