Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-21 09:17:58

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_Type.hxx>
0025 #include <Standard_Transient.hxx>
0026 #include <Standard_Real.hxx>
0027 
0028 class gp_XYZ;
0029 class Plate_D1;
0030 class Plate_D2;
0031 class Plate_D3;
0032 
0033 //! define a PinPoint geometric Constraint used to load a Non Linear Plate
0034 class NLPlate_HGPPConstraint : public Standard_Transient
0035 {
0036 
0037 public:
0038   NLPlate_HGPPConstraint()
0039       : myActiveOrder(0)
0040   {
0041   }
0042 
0043   Standard_EXPORT virtual void SetUVFreeSliding(const bool UVFree);
0044 
0045   Standard_EXPORT virtual void SetIncrementalLoadAllowed(const bool ILA);
0046 
0047   Standard_EXPORT virtual void SetActiveOrder(const int ActiveOrder);
0048 
0049   Standard_EXPORT virtual void SetUV(const gp_XY& UV);
0050 
0051   Standard_EXPORT virtual void SetOrientation(const int Orient = 0);
0052 
0053   Standard_EXPORT virtual void SetG0Criterion(const double TolDist);
0054 
0055   Standard_EXPORT virtual void SetG1Criterion(const double TolAng);
0056 
0057   Standard_EXPORT virtual void SetG2Criterion(const double TolCurv);
0058 
0059   Standard_EXPORT virtual void SetG3Criterion(const double TolG3);
0060 
0061   Standard_EXPORT virtual bool UVFreeSliding() const;
0062 
0063   Standard_EXPORT virtual bool IncrementalLoadAllowed() const;
0064 
0065   Standard_EXPORT virtual int ActiveOrder() const = 0;
0066 
0067   Standard_EXPORT virtual const gp_XY& UV() const;
0068 
0069   Standard_EXPORT virtual int Orientation();
0070 
0071   Standard_EXPORT virtual bool IsG0() const = 0;
0072 
0073   Standard_EXPORT virtual const gp_XYZ& G0Target() const;
0074 
0075   Standard_EXPORT virtual const Plate_D1& G1Target() const;
0076 
0077   Standard_EXPORT virtual const Plate_D2& G2Target() const;
0078 
0079   Standard_EXPORT virtual const Plate_D3& G3Target() const;
0080 
0081   Standard_EXPORT virtual double G0Criterion() const;
0082 
0083   Standard_EXPORT virtual double G1Criterion() const;
0084 
0085   Standard_EXPORT virtual double G2Criterion() const;
0086 
0087   Standard_EXPORT virtual double G3Criterion() const;
0088 
0089   DEFINE_STANDARD_RTTIEXT(NLPlate_HGPPConstraint, Standard_Transient)
0090 
0091 protected:
0092   gp_XY myUV;
0093   int   myActiveOrder;
0094 };
0095 
0096 #endif // _NLPlate_HGPPConstraint_HeaderFile