-- 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. class FindContigousEdges from BRepOffsetAPI ---Purpose: Provides methods to identify contigous 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 uses Edge from TopoDS, Shape from TopoDS, ListOfShape from TopTools, Sewing from BRepBuilderAPI raises OutOfRange from Standard, NoSuchObject from Standard is Create(tolerance: Real = 1.0e-06; -- tolerance of connexity option: Boolean = Standard_True) -- option for analysis of degenerated shapes ---Purpose: 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. returns FindContigousEdges from BRepOffsetAPI; Init(me: in out; tolerance: Real; option: Boolean); ---Purpose: 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