|
||||
File indexing completed on 2025-01-18 10:03:20
0001 // Created on: 1995-06-12 0002 // Created by: Joelle CHAUVET 0003 // Copyright (c) 1995-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 _ChFi2d_HeaderFile 0018 #define _ChFi2d_HeaderFile 0019 0020 #include <Standard.hxx> 0021 #include <Standard_DefineAlloc.hxx> 0022 #include <Standard_Handle.hxx> 0023 0024 #include <Standard_Boolean.hxx> 0025 #include <ChFi2d_ConstructionError.hxx> 0026 class TopoDS_Edge; 0027 class TopoDS_Vertex; 0028 class TopoDS_Face; 0029 0030 0031 //! This package contains the algorithms used to build 0032 //! fillets or chamfers on planar wire. 0033 //! 0034 //! This package provides two algorithms for 2D fillets: 0035 //! ChFi2d_Builder - it constructs a fillet or chamfer 0036 //! for linear and circular edges of a face. 0037 //! ChFi2d_FilletAPI - it encapsulates two algorithms: 0038 //! ChFi2d_AnaFilletAlgo - analytical constructor of the fillet. 0039 //! It works only for linear and circular edges, 0040 //! having a common point. 0041 //! ChFi2d_FilletAlgo - iteration recursive method constructing 0042 //! the fillet edge for any type of edges including 0043 //! ellipses and b-splines. 0044 //! The edges may even have no common point. 0045 //! ChFi2d_ChamferAPI - an algorithm for construction of chamfers 0046 //! between two linear edges of a plane. 0047 //! 0048 //! The algorithms ChFi2d_AnaFilletAlgo and ChFi2d_FilletAlgo may be used directly 0049 //! or via the interface class ChFi2d_FilletAPI. 0050 class ChFi2d 0051 { 0052 public: 0053 0054 DEFINE_STANDARD_ALLOC 0055 0056 Standard_EXPORT static Standard_Boolean CommonVertex (const TopoDS_Edge& E1, const TopoDS_Edge& E2, TopoDS_Vertex& V); 0057 0058 Standard_EXPORT static ChFi2d_ConstructionError FindConnectedEdges (const TopoDS_Face& F, const TopoDS_Vertex& V, TopoDS_Edge& E1, TopoDS_Edge& E2); 0059 0060 }; 0061 0062 #endif // _ChFi2d_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |