Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-10 08:34:05

0001 // Created on: 1994-10-27
0002 // Created by: Jean Yves LEBEY
0003 // Copyright (c) 1994-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 _TopOpeBRep_FFTransitionTool_HeaderFile
0018 #define _TopOpeBRep_FFTransitionTool_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 
0023 #include <Standard_Integer.hxx>
0024 #include <TopAbs_Orientation.hxx>
0025 class TopOpeBRepDS_Transition;
0026 class TopOpeBRep_VPointInter;
0027 class TopOpeBRep_LineInter;
0028 class TopoDS_Shape;
0029 
0030 class TopOpeBRep_FFTransitionTool
0031 {
0032 public:
0033   DEFINE_STANDARD_ALLOC
0034 
0035   Standard_EXPORT static TopOpeBRepDS_Transition ProcessLineTransition(
0036     const TopOpeBRep_VPointInter& P,
0037     const Standard_Integer        Index,
0038     const TopAbs_Orientation      EdgeOrientation);
0039 
0040   Standard_EXPORT static TopOpeBRepDS_Transition ProcessLineTransition(
0041     const TopOpeBRep_VPointInter& P,
0042     const TopOpeBRep_LineInter&   L);
0043 
0044   Standard_EXPORT static TopOpeBRepDS_Transition ProcessEdgeTransition(
0045     const TopOpeBRep_VPointInter& P,
0046     const Standard_Integer        Index,
0047     const TopAbs_Orientation      LineOrientation);
0048 
0049   Standard_EXPORT static TopOpeBRepDS_Transition ProcessFaceTransition(
0050     const TopOpeBRep_LineInter& L,
0051     const Standard_Integer      Index,
0052     const TopAbs_Orientation    FaceOrientation);
0053 
0054   //! compute transition on "IntPatch_Restriction line" edge <R>
0055   //! when crossing edge <E> of face <F> at point <VP>.
0056   //! VP is given on edge <E> of face <F> of index <Index> (1 or 2).
0057   //! <VP> has been classified by FacesFiller as TopAbs_ON an edge <R>
0058   //! of the other face than <F> of current (face/face) intersection.
0059   //! Transition depends on the orientation of E in F.
0060   //! This method should be provided by IntPatch_Line (NYI)
0061   Standard_EXPORT static TopOpeBRepDS_Transition ProcessEdgeONTransition(
0062     const TopOpeBRep_VPointInter& VP,
0063     const Standard_Integer        Index,
0064     const TopoDS_Shape&           R,
0065     const TopoDS_Shape&           E,
0066     const TopoDS_Shape&           F);
0067 
0068 protected:
0069 private:
0070 };
0071 
0072 #endif // _TopOpeBRep_FFTransitionTool_HeaderFile