// Created on: 1995-05-02 // Created by: Jing Cheng MEI // Copyright (c) 1995-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _BRepOffsetAPI_FindContigousEdges_HeaderFile #define _BRepOffsetAPI_FindContigousEdges_HeaderFile #include #include #include #include #include class BRepBuilderAPI_Sewing; class TopoDS_Shape; class TopoDS_Edge; //! Provides methods to identify contiguous boundaries for continuity control (C0, C1, ...) //! //! Use this function as following: //! - create an object //! - default tolerance 1.E-06 //! - with analysis of degenerated faces on //! - define if necessary a new tolerance //! - set if necessary analysis of degenerated shapes off //! - add shapes to be controlled -> Add //! - compute -> Perfom //! - output couples of connected edges for control //! - output the problems if any class BRepOffsetAPI_FindContigousEdges { public: DEFINE_STANDARD_ALLOC //! Initializes an algorithm for identifying contiguous edges //! on shapes with tolerance as the tolerance of contiguity //! (defaulted to 1.0e-6). This tolerance value is used to //! determine whether two edges or sections of edges are coincident. //! Use the function Add to define the shapes to be checked. //! Set option to false. This argument (defaulted to true) will //! serve in subsequent software releases for performing an //! analysis of degenerated shapes. Standard_EXPORT BRepOffsetAPI_FindContigousEdges(const Standard_Real tolerance = 1.0e-06, const Standard_Boolean option = Standard_True); //! Initializes this algorithm for identifying contiguous edges //! on shapes using the tolerance of contiguity tolerance. //! This tolerance value is used to determine whether two //! edges or sections of edges are coincident. //! Use the function Add to define the shapes to be checked. //! Sets