Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-10-01 09:01:24

0001 // Created on: 1992-09-30
0002 // Created by: Gilles DEBARBOUILLE
0003 // Copyright (c) 1992-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 _MAT_Bisector_HeaderFile
0018 #define _MAT_Bisector_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 
0023 #include <Standard_Integer.hxx>
0024 #include <Standard_Real.hxx>
0025 #include <Standard_Transient.hxx>
0026 class MAT_Edge;
0027 class MAT_ListOfBisector;
0028 
0029 class MAT_Bisector : public Standard_Transient
0030 {
0031 
0032 public:
0033   Standard_EXPORT MAT_Bisector();
0034 
0035   Standard_EXPORT void AddBisector(const occ::handle<MAT_Bisector>& abisector) const;
0036 
0037   Standard_EXPORT occ::handle<MAT_ListOfBisector> List() const;
0038 
0039   Standard_EXPORT occ::handle<MAT_Bisector> FirstBisector() const;
0040 
0041   Standard_EXPORT occ::handle<MAT_Bisector> LastBisector() const;
0042 
0043   Standard_EXPORT void BisectorNumber(const int anumber);
0044 
0045   Standard_EXPORT void IndexNumber(const int anumber);
0046 
0047   Standard_EXPORT void FirstEdge(const occ::handle<MAT_Edge>& anedge);
0048 
0049   Standard_EXPORT void SecondEdge(const occ::handle<MAT_Edge>& anedge);
0050 
0051   Standard_EXPORT void IssuePoint(const int apoint);
0052 
0053   Standard_EXPORT void EndPoint(const int apoint);
0054 
0055   Standard_EXPORT void DistIssuePoint(const double areal);
0056 
0057   Standard_EXPORT void FirstVector(const int avector);
0058 
0059   Standard_EXPORT void SecondVector(const int avector);
0060 
0061   Standard_EXPORT void Sense(const double asense);
0062 
0063   Standard_EXPORT void FirstParameter(const double aparameter);
0064 
0065   Standard_EXPORT void SecondParameter(const double aparameter);
0066 
0067   Standard_EXPORT int BisectorNumber() const;
0068 
0069   Standard_EXPORT int IndexNumber() const;
0070 
0071   Standard_EXPORT occ::handle<MAT_Edge> FirstEdge() const;
0072 
0073   Standard_EXPORT occ::handle<MAT_Edge> SecondEdge() const;
0074 
0075   Standard_EXPORT int IssuePoint() const;
0076 
0077   Standard_EXPORT int EndPoint() const;
0078 
0079   Standard_EXPORT double DistIssuePoint() const;
0080 
0081   Standard_EXPORT int FirstVector() const;
0082 
0083   Standard_EXPORT int SecondVector() const;
0084 
0085   Standard_EXPORT double Sense() const;
0086 
0087   Standard_EXPORT double FirstParameter() const;
0088 
0089   Standard_EXPORT double SecondParameter() const;
0090 
0091   Standard_EXPORT void Dump(const int ashift, const int alevel) const;
0092 
0093   DEFINE_STANDARD_RTTIEXT(MAT_Bisector, Standard_Transient)
0094 
0095 private:
0096   int                             thebisectornumber;
0097   int                             theindexnumber;
0098   occ::handle<MAT_Edge>           thefirstedge;
0099   occ::handle<MAT_Edge>           thesecondedge;
0100   occ::handle<MAT_ListOfBisector> thelistofbisectors;
0101   int                             theissuepoint;
0102   int                             theendpoint;
0103   int                             thefirstvector;
0104   int                             thesecondvector;
0105   double                          thesense;
0106   double                          thefirstparameter;
0107   double                          thesecondparameter;
0108   double                          distissuepoint;
0109 };
0110 
0111 #endif // _MAT_Bisector_HeaderFile