Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:04:20

0001 // Created on: 1998-04-09
0002 // Created by: Andre LIEUTIER
0003 // Copyright (c) 1998-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 _NLPlate_HGPPConstraint_HeaderFile
0018 #define _NLPlate_HGPPConstraint_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 
0022 #include <gp_XY.hxx>
0023 #include <Standard_Integer.hxx>
0024 #include <Standard_Transient.hxx>
0025 #include <Standard_Real.hxx>
0026 class gp_XYZ;
0027 class Plate_D1;
0028 class Plate_D2;
0029 class Plate_D3;
0030 
0031 
0032 class NLPlate_HGPPConstraint;
0033 DEFINE_STANDARD_HANDLE(NLPlate_HGPPConstraint, Standard_Transient)
0034 
0035 //! define a PinPoint geometric Constraint used to load a Non Linear Plate
0036 class NLPlate_HGPPConstraint : public Standard_Transient
0037 {
0038 
0039 public:
0040 
0041   
0042   NLPlate_HGPPConstraint() : myActiveOrder(0) {}
0043   
0044   Standard_EXPORT virtual void SetUVFreeSliding (const Standard_Boolean UVFree);
0045   
0046   Standard_EXPORT virtual void SetIncrementalLoadAllowed (const Standard_Boolean ILA);
0047   
0048   Standard_EXPORT virtual void SetActiveOrder (const Standard_Integer ActiveOrder);
0049   
0050   Standard_EXPORT virtual void SetUV (const gp_XY& UV);
0051   
0052   Standard_EXPORT virtual void SetOrientation (const Standard_Integer Orient = 0);
0053   
0054   Standard_EXPORT virtual void SetG0Criterion (const Standard_Real TolDist);
0055   
0056   Standard_EXPORT virtual void SetG1Criterion (const Standard_Real TolAng);
0057   
0058   Standard_EXPORT virtual void SetG2Criterion (const Standard_Real TolCurv);
0059   
0060   Standard_EXPORT virtual void SetG3Criterion (const Standard_Real TolG3);
0061   
0062   Standard_EXPORT virtual Standard_Boolean UVFreeSliding() const;
0063   
0064   Standard_EXPORT virtual Standard_Boolean IncrementalLoadAllowed() const;
0065   
0066   Standard_EXPORT virtual Standard_Integer ActiveOrder() const = 0;
0067   
0068   Standard_EXPORT virtual const gp_XY& UV() const;
0069   
0070   Standard_EXPORT virtual Standard_Integer Orientation();
0071   
0072   Standard_EXPORT virtual Standard_Boolean IsG0() const = 0;
0073   
0074   Standard_EXPORT virtual const gp_XYZ& G0Target() const;
0075   
0076   Standard_EXPORT virtual const Plate_D1& G1Target() const;
0077   
0078   Standard_EXPORT virtual const Plate_D2& G2Target() const;
0079   
0080   Standard_EXPORT virtual const Plate_D3& G3Target() const;
0081   
0082   Standard_EXPORT virtual Standard_Real G0Criterion() const;
0083   
0084   Standard_EXPORT virtual Standard_Real G1Criterion() const;
0085   
0086   Standard_EXPORT virtual Standard_Real G2Criterion() const;
0087   
0088   Standard_EXPORT virtual Standard_Real G3Criterion() const;
0089 
0090 
0091 
0092 
0093   DEFINE_STANDARD_RTTIEXT(NLPlate_HGPPConstraint,Standard_Transient)
0094 
0095 protected:
0096 
0097 
0098   gp_XY myUV;
0099   Standard_Integer myActiveOrder;
0100 
0101 
0102 private:
0103 
0104 
0105 
0106 
0107 };
0108 
0109 
0110 
0111 
0112 
0113 
0114 
0115 #endif // _NLPlate_HGPPConstraint_HeaderFile