Back to home page

EIC code displayed by LXR

 
 

    


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

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 
0028   DEFINE_STANDARD_ALLOC
0029 
0030   
0031   Standard_EXPORT IntPolyh_StartPoint();
0032   
0033   Standard_EXPORT IntPolyh_StartPoint(const Standard_Real xx, const Standard_Real yy, const Standard_Real zz, const Standard_Real uu1, const Standard_Real vv1, const Standard_Real uu2, const Standard_Real vv2, const Standard_Integer T1, const Standard_Integer E1, const Standard_Real LAM1, const Standard_Integer T2, const Standard_Integer E2, const Standard_Real LAM2, const Standard_Integer List);
0034   
0035   Standard_EXPORT Standard_Real X() const;
0036   
0037   Standard_EXPORT Standard_Real Y() const;
0038   
0039   Standard_EXPORT Standard_Real Z() const;
0040   
0041   Standard_EXPORT Standard_Real U1() const;
0042   
0043   Standard_EXPORT Standard_Real V1() const;
0044   
0045   Standard_EXPORT Standard_Real U2() const;
0046   
0047   Standard_EXPORT Standard_Real V2() const;
0048   
0049   Standard_EXPORT Standard_Integer T1() const;
0050   
0051   Standard_EXPORT Standard_Integer E1() const;
0052   
0053   Standard_EXPORT Standard_Real Lambda1() const;
0054   
0055   Standard_EXPORT Standard_Integer T2() const;
0056   
0057   Standard_EXPORT Standard_Integer E2() const;
0058   
0059   Standard_EXPORT Standard_Real Lambda2() const;
0060   
0061   Standard_EXPORT Standard_Real GetAngle() const;
0062   
0063   Standard_EXPORT Standard_Integer ChainList() const;
0064   
0065   Standard_EXPORT Standard_Integer GetEdgePoints (const IntPolyh_Triangle& Triangle, Standard_Integer& FirstEdgePoint, Standard_Integer& SecondEdgePoint, Standard_Integer& LastPoint) const;
0066   
0067   Standard_EXPORT void SetXYZ (const Standard_Real XX, const Standard_Real YY, const Standard_Real ZZ);
0068   
0069   Standard_EXPORT void SetUV1 (const Standard_Real UU1, const Standard_Real VV1);
0070   
0071   Standard_EXPORT void SetUV2 (const Standard_Real UU2, const Standard_Real VV2);
0072   
0073   Standard_EXPORT void SetEdge1 (const Standard_Integer IE1);
0074   
0075   Standard_EXPORT void SetLambda1 (const Standard_Real LAM1);
0076   
0077   Standard_EXPORT void SetEdge2 (const Standard_Integer IE2);
0078   
0079   Standard_EXPORT void SetLambda2 (const Standard_Real LAM2);
0080   
0081   Standard_EXPORT void SetCoupleValue (const Standard_Integer IT1, const Standard_Integer IT2);
0082   
0083   Standard_EXPORT void SetAngle (const Standard_Real ang);
0084   
0085   Standard_EXPORT void SetChainList (const Standard_Integer ChList);
0086   
0087   Standard_EXPORT Standard_Integer CheckSameSP (const IntPolyh_StartPoint& SP) const;
0088   
0089   Standard_EXPORT void Dump() const;
0090   
0091   Standard_EXPORT void Dump (const Standard_Integer i) const;
0092 
0093 private:
0094   Standard_Real x;
0095   Standard_Real y;
0096   Standard_Real z;
0097   Standard_Real u1;
0098   Standard_Real v1;
0099   Standard_Real u2;
0100   Standard_Real v2;
0101   Standard_Real lambda1;
0102   Standard_Real lambda2;
0103   Standard_Real angle;
0104   Standard_Integer t1;
0105   Standard_Integer e1;
0106   Standard_Integer t2;
0107   Standard_Integer e2;
0108   Standard_Integer chainlist;
0109 };
0110 
0111 #endif // _IntPolyh_StartPoint_HeaderFile