File indexing completed on 2025-10-31 09:08:11
0001 
0002 
0003 
0004 
0005 
0006 
0007 
0008 
0009 
0010 
0011 
0012 
0013 
0014 
0015 
0016 
0017 #ifndef _GeomInt_LineConstructor_HeaderFile
0018 #define _GeomInt_LineConstructor_HeaderFile
0019 
0020 #include <GeomAdaptor_Surface.hxx>
0021 #include <TColStd_SequenceOfReal.hxx>
0022 
0023 class Adaptor3d_TopolTool;
0024 class IntPatch_Line;
0025 
0026 
0027 class GeomInt_LineConstructor 
0028 {
0029 public:
0030 
0031   DEFINE_STANDARD_ALLOC
0032 
0033   
0034 
0035   
0036     GeomInt_LineConstructor();
0037   
0038 
0039   
0040   
0041     void Load (const Handle(Adaptor3d_TopolTool)& D1, const Handle(Adaptor3d_TopolTool)& D2, const Handle(GeomAdaptor_Surface)& S1, const Handle(GeomAdaptor_Surface)& S2);
0042   
0043 
0044   
0045   Standard_EXPORT void Perform (const Handle(IntPatch_Line)& L);
0046   
0047 
0048   
0049     Standard_Boolean IsDone() const;
0050   
0051 
0052   
0053     Standard_Integer NbParts() const;
0054   
0055 
0056   
0057   
0058     void Part (const Standard_Integer I, Standard_Real& WFirst, Standard_Real& WLast) const;
0059 
0060 
0061 
0062 
0063 protected:
0064 
0065   
0066   Standard_EXPORT void TreatCircle (const Handle(IntPatch_Line)& aLine, const Standard_Real aTol);
0067 
0068 
0069 
0070 
0071 private:
0072 
0073 
0074 
0075   Standard_Boolean done;
0076   TColStd_SequenceOfReal seqp;
0077   Handle(Adaptor3d_TopolTool) myDom1;
0078   Handle(Adaptor3d_TopolTool) myDom2;
0079   Handle(GeomAdaptor_Surface) myHS1;
0080   Handle(GeomAdaptor_Surface) myHS2;
0081 
0082 
0083 };
0084 
0085 
0086 #include <GeomInt_LineConstructor.lxx>
0087 
0088 
0089 
0090 
0091 
0092 #endif