-- Created on: 1995-05-02 -- Created by: Jing Cheng MEI -- Copyright (c) 1995-1999 Matra Datavision -- Copyright (c) 1999-2012 OPEN CASCADE SAS -- -- The content of this file is subject to the Open CASCADE Technology Public -- License Version 6.5 (the "License"). You may not use the content of this file -- except in compliance with the License. Please obtain a copy of the License -- at http://www.opencascade.org and read it completely before using this file. -- -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. -- -- The Original Code and all software distributed under the License is -- distributed on an "AS IS" basis, without warranty of any kind, and the -- Initial Developer hereby disclaims all such warranties, including without -- limitation, any warranties of merchantability, fitness for a particular -- purpose or non-infringement. Please see the License for the specific terms -- and conditions governing the rights and limitations under the License. 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