Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-28 09:20:44

0001 // Created on: 1999-04-06
0002 // Created by: Fabrice SERVANT
0003 // Copyright (c) 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 _IntPolyh_StartPoint_HeaderFile
0018 #define _IntPolyh_StartPoint_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 
0022 class IntPolyh_Triangle;
0023 
0024 class IntPolyh_StartPoint
0025 {
0026 public:
0027   DEFINE_STANDARD_ALLOC
0028 
0029   Standard_EXPORT IntPolyh_StartPoint();
0030 
0031   Standard_EXPORT IntPolyh_StartPoint(const double xx,
0032                                       const double yy,
0033                                       const double zz,
0034                                       const double uu1,
0035                                       const double vv1,
0036                                       const double uu2,
0037                                       const double vv2,
0038                                       const int    T1,
0039                                       const int    E1,
0040                                       const double LAM1,
0041                                       const int    T2,
0042                                       const int    E2,
0043                                       const double LAM2,
0044                                       const int    List);
0045 
0046   Standard_EXPORT double X() const;
0047 
0048   Standard_EXPORT double Y() const;
0049 
0050   Standard_EXPORT double Z() const;
0051 
0052   Standard_EXPORT double U1() const;
0053 
0054   Standard_EXPORT double V1() const;
0055 
0056   Standard_EXPORT double U2() const;
0057 
0058   Standard_EXPORT double V2() const;
0059 
0060   Standard_EXPORT int T1() const;
0061 
0062   Standard_EXPORT int E1() const;
0063 
0064   Standard_EXPORT double Lambda1() const;
0065 
0066   Standard_EXPORT int T2() const;
0067 
0068   Standard_EXPORT int E2() const;
0069 
0070   Standard_EXPORT double Lambda2() const;
0071 
0072   Standard_EXPORT double GetAngle() const;
0073 
0074   Standard_EXPORT int ChainList() const;
0075 
0076   Standard_EXPORT int GetEdgePoints(const IntPolyh_Triangle& Triangle,
0077                                     int&                     FirstEdgePoint,
0078                                     int&                     SecondEdgePoint,
0079                                     int&                     LastPoint) const;
0080 
0081   Standard_EXPORT void SetXYZ(const double XX, const double YY, const double ZZ);
0082 
0083   Standard_EXPORT void SetUV1(const double UU1, const double VV1);
0084 
0085   Standard_EXPORT void SetUV2(const double UU2, const double VV2);
0086 
0087   Standard_EXPORT void SetEdge1(const int IE1);
0088 
0089   Standard_EXPORT void SetLambda1(const double LAM1);
0090 
0091   Standard_EXPORT void SetEdge2(const int IE2);
0092 
0093   Standard_EXPORT void SetLambda2(const double LAM2);
0094 
0095   Standard_EXPORT void SetCoupleValue(const int IT1, const int IT2);
0096 
0097   Standard_EXPORT void SetAngle(const double ang);
0098 
0099   Standard_EXPORT void SetChainList(const int ChList);
0100 
0101   Standard_EXPORT int CheckSameSP(const IntPolyh_StartPoint& SP) const;
0102 
0103   Standard_EXPORT void Dump() const;
0104 
0105   Standard_EXPORT void Dump(const int i) const;
0106 
0107 private:
0108   double x;
0109   double y;
0110   double z;
0111   double u1;
0112   double v1;
0113   double u2;
0114   double v2;
0115   double lambda1;
0116   double lambda2;
0117   double angle;
0118   int    t1;
0119   int    e1;
0120   int    t2;
0121   int    e2;
0122   int    chainlist;
0123 };
0124 
0125 #endif // _IntPolyh_StartPoint_HeaderFile