0027232: Configuration - fix mblen missing building issue on Android
[occt.git] / src / BRepFill / BRepFill_CurveConstraint.hxx
CommitLineData
42cf5bc1 1// Created on: 1997-10-31
2// Created by: Joelle CHAUVET
3// Copyright (c) 1997-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_CurveConstraint_HeaderFile
18#define _BRepFill_CurveConstraint_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_Type.hxx>
22
23#include <GeomPlate_CurveConstraint.hxx>
24#include <Standard_Integer.hxx>
25#include <Standard_Real.hxx>
26class Standard_ConstructionError;
27class Adaptor3d_HCurveOnSurface;
28class Adaptor3d_HCurve;
29
30
31class BRepFill_CurveConstraint;
32DEFINE_STANDARD_HANDLE(BRepFill_CurveConstraint, GeomPlate_CurveConstraint)
33
34//! same as CurveConstraint from GeomPlate
35//! with BRepAdaptor_Surface instead of
36//! GeomAdaptor_Surface
37class BRepFill_CurveConstraint : public GeomPlate_CurveConstraint
38{
39
40public:
41
42
43 //! Create a constraint
44 //! Order is the order of the constraint. The possible values for order are -1,0,1,2.
45 //! Order i means constraints Gi
46 //! Npt is the number of points associated with the constraint.
47 //! TolDist is the maximum error to satisfy for G0 constraints
48 //! TolAng is the maximum error to satisfy for G1 constraints
49 //! TolCurv is the maximum error to satisfy for G2 constraints
50 //! These errors can be replaced by laws of criterion.
51 Standard_EXPORT BRepFill_CurveConstraint(const Handle(Adaptor3d_HCurveOnSurface)& Boundary, const Standard_Integer Order, const Standard_Integer NPt = 10, const Standard_Real TolDist = 0.0001, const Standard_Real TolAng = 0.01, const Standard_Real TolCurv = 0.1);
52
53 Standard_EXPORT BRepFill_CurveConstraint(const Handle(Adaptor3d_HCurve)& Boundary, const Standard_Integer Tang, const Standard_Integer NPt = 10, const Standard_Real TolDist = 0.0001);
54
55
56
57
92efcf78 58 DEFINE_STANDARD_RTTIEXT(BRepFill_CurveConstraint,GeomPlate_CurveConstraint)
42cf5bc1 59
60protected:
61
62
63
64
65private:
66
67
68
69
70};
71
72
73
74
75
76
77
78#endif // _BRepFill_CurveConstraint_HeaderFile