Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/IntSurf.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Created on: 1992-08-24
0002 // Created by: Jacques GOUSSARD
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 _IntSurf_HeaderFile
0018 #define _IntSurf_HeaderFile
0019 
0020 #include <Adaptor3d_Surface.hxx>
0021 
0022 class IntSurf_Transition;
0023 class gp_Dir;
0024 class gp_Vec;
0025 
0026 //! This package provides resources for
0027 //! all the packages concerning the intersection
0028 //! between surfaces.
0029 class IntSurf
0030 {
0031 public:
0032   DEFINE_STANDARD_ALLOC
0033 
0034   //! Computes the transition of the intersection point
0035   //! between the two lines.
0036   //! TgFirst is the tangent vector of the first line.
0037   //! TgSecond is the tangent vector of the second line.
0038   //! Normal is the direction used to orientate the cross
0039   //! product TgFirst^TgSecond.
0040   //! TFirst is the transition of the point on the first line.
0041   //! TSecond is the transition of the point on the second line.
0042   Standard_EXPORT static void MakeTransition(const gp_Vec&       TgFirst,
0043                                              const gp_Vec&       TgSecond,
0044                                              const gp_Dir&       Normal,
0045                                              IntSurf_Transition& TFirst,
0046                                              IntSurf_Transition& TSecond);
0047 
0048   //! Fills theArrOfPeriod array by the period values of theFirstSurf and theSecondSurf.
0049   //! [0] = U-period of theFirstSurf,
0050   //! [1] = V-period of theFirstSurf,
0051   //! [2] = U-period of theSecondSurf,
0052   //! [3] = V-period of theSecondSurf.
0053   //!
0054   //! If surface is not periodic in correspond direction then
0055   //! its period is considered to be equal to 0.
0056   Standard_EXPORT static void SetPeriod(const occ::handle<Adaptor3d_Surface>& theFirstSurf,
0057                                         const occ::handle<Adaptor3d_Surface>& theSecondSurf,
0058                                         double                                theArrOfPeriod[4]);
0059 };
0060 
0061 #endif // _IntSurf_HeaderFile