Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:11

0001 // Created on: 1997-10-31
0002 // Created by: Joelle CHAUVET
0003 // Copyright (c) 1997-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _BRepFill_CurveConstraint_HeaderFile
0018 #define _BRepFill_CurveConstraint_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 
0023 #include <GeomPlate_CurveConstraint.hxx>
0024 #include <Standard_Integer.hxx>
0025 
0026 class BRepFill_CurveConstraint;
0027 DEFINE_STANDARD_HANDLE(BRepFill_CurveConstraint, GeomPlate_CurveConstraint)
0028 
0029 //! same as CurveConstraint from GeomPlate
0030 //! with BRepAdaptor_Surface instead of
0031 //! GeomAdaptor_Surface
0032 class BRepFill_CurveConstraint : public GeomPlate_CurveConstraint
0033 {
0034 
0035 public:
0036 
0037   
0038   //! Create a constraint
0039   //! Order is the order of the constraint. The possible values for order are -1,0,1,2.
0040   //! Order i means constraints Gi
0041   //! Npt is the number of points associated with the constraint.
0042   //! TolDist is the maximum error to satisfy for G0 constraints
0043   //! TolAng is the maximum error to satisfy for G1 constraints
0044   //! TolCurv is the maximum error to satisfy for G2 constraints
0045   //! These errors can be replaced by laws of criterion.
0046   Standard_EXPORT BRepFill_CurveConstraint(const Handle(Adaptor3d_CurveOnSurface)& 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);
0047   
0048   Standard_EXPORT BRepFill_CurveConstraint(const Handle(Adaptor3d_Curve)& Boundary, const Standard_Integer Tang, const Standard_Integer NPt = 10, const Standard_Real TolDist = 0.0001);
0049 
0050 
0051 
0052 
0053   DEFINE_STANDARD_RTTIEXT(BRepFill_CurveConstraint,GeomPlate_CurveConstraint)
0054 
0055 protected:
0056 
0057 
0058 
0059 
0060 private:
0061 
0062 
0063 
0064 
0065 };
0066 
0067 
0068 
0069 
0070 
0071 
0072 
0073 #endif // _BRepFill_CurveConstraint_HeaderFile