Back to home page

EIC code displayed by LXR

 
 

    


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

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 
0030 class MAT_Bisector;
0031 DEFINE_STANDARD_HANDLE(MAT_Bisector, Standard_Transient)
0032 
0033 
0034 class MAT_Bisector : public Standard_Transient
0035 {
0036 
0037 public:
0038 
0039   
0040   Standard_EXPORT MAT_Bisector();
0041   
0042   Standard_EXPORT void AddBisector (const Handle(MAT_Bisector)& abisector) const;
0043   
0044   Standard_EXPORT Handle(MAT_ListOfBisector) List() const;
0045   
0046   Standard_EXPORT Handle(MAT_Bisector) FirstBisector() const;
0047   
0048   Standard_EXPORT Handle(MAT_Bisector) LastBisector() const;
0049   
0050   Standard_EXPORT void BisectorNumber (const Standard_Integer anumber);
0051   
0052   Standard_EXPORT void IndexNumber (const Standard_Integer anumber);
0053   
0054   Standard_EXPORT void FirstEdge (const Handle(MAT_Edge)& anedge);
0055   
0056   Standard_EXPORT void SecondEdge (const Handle(MAT_Edge)& anedge);
0057   
0058   Standard_EXPORT void IssuePoint (const Standard_Integer apoint);
0059   
0060   Standard_EXPORT void EndPoint (const Standard_Integer apoint);
0061   
0062   Standard_EXPORT void DistIssuePoint (const Standard_Real areal);
0063   
0064   Standard_EXPORT void FirstVector (const Standard_Integer avector);
0065   
0066   Standard_EXPORT void SecondVector (const Standard_Integer avector);
0067   
0068   Standard_EXPORT void Sense (const Standard_Real asense);
0069   
0070   Standard_EXPORT void FirstParameter (const Standard_Real aparameter);
0071   
0072   Standard_EXPORT void SecondParameter (const Standard_Real aparameter);
0073   
0074   Standard_EXPORT Standard_Integer BisectorNumber() const;
0075   
0076   Standard_EXPORT Standard_Integer IndexNumber() const;
0077   
0078   Standard_EXPORT Handle(MAT_Edge) FirstEdge() const;
0079   
0080   Standard_EXPORT Handle(MAT_Edge) SecondEdge() const;
0081   
0082   Standard_EXPORT Standard_Integer IssuePoint() const;
0083   
0084   Standard_EXPORT Standard_Integer EndPoint() const;
0085   
0086   Standard_EXPORT Standard_Real DistIssuePoint() const;
0087   
0088   Standard_EXPORT Standard_Integer FirstVector() const;
0089   
0090   Standard_EXPORT Standard_Integer SecondVector() const;
0091   
0092   Standard_EXPORT Standard_Real Sense() const;
0093   
0094   Standard_EXPORT Standard_Real FirstParameter() const;
0095   
0096   Standard_EXPORT Standard_Real SecondParameter() const;
0097   
0098   Standard_EXPORT void Dump (const Standard_Integer ashift, const Standard_Integer alevel) const;
0099 
0100 
0101 
0102 
0103   DEFINE_STANDARD_RTTIEXT(MAT_Bisector,Standard_Transient)
0104 
0105 protected:
0106 
0107 
0108 
0109 
0110 private:
0111 
0112 
0113   Standard_Integer thebisectornumber;
0114   Standard_Integer theindexnumber;
0115   Handle(MAT_Edge) thefirstedge;
0116   Handle(MAT_Edge) thesecondedge;
0117   Handle(MAT_ListOfBisector) thelistofbisectors;
0118   Standard_Integer theissuepoint;
0119   Standard_Integer theendpoint;
0120   Standard_Integer thefirstvector;
0121   Standard_Integer thesecondvector;
0122   Standard_Real thesense;
0123   Standard_Real thefirstparameter;
0124   Standard_Real thesecondparameter;
0125   Standard_Real distissuepoint;
0126 
0127 
0128 };
0129 
0130 
0131 
0132 
0133 
0134 
0135 
0136 #endif // _MAT_Bisector_HeaderFile