X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FShapeAnalysis%2FShapeAnalysis_Edge.cdl;h=11c054fe41fa5b6fb876fc69e013332e9fb952ad;hb=5402ccdda6943925e01ab5e5a7839f9bb9e018ed;hpb=353474f083c82fe53289992b94f4413a38385e0d diff --git a/src/ShapeAnalysis/ShapeAnalysis_Edge.cdl b/src/ShapeAnalysis/ShapeAnalysis_Edge.cdl index 077aa9c03a..11c054fe41 100644 --- a/src/ShapeAnalysis/ShapeAnalysis_Edge.cdl +++ b/src/ShapeAnalysis/ShapeAnalysis_Edge.cdl @@ -24,6 +24,7 @@ class Edge from ShapeAnalysis -- (3d and pcurve(s) consistency, their adjacency to the vertices). uses + Curve from Adaptor3d, Pnt from gp, Pnt2d from gp, Vec2d from gp, @@ -275,7 +276,20 @@ is -- FAIL1 - edge does not have 3d curve -- FAIL2 - if some computational problems were encountered (when -- projecting points on curves) - + + ComputeDeviation (myclass; CRef : Curve from Adaptor3d; + Other : Curve from Adaptor3d; + SameParameter: Boolean; + dev : in out Real; + NCONTROL : Integer) + returns Boolean; + ---Purpose: Computes the maximal deviation between the two curve + -- representations. + -- dev is an input/output parameter and contains the computed + -- deviation (should be initialized with 0. for the first call). + -- Used by CheckSameParameter(). + ---Returns: True if the computation has been successful and False otherwise. + CheckOverlapping(me :in out; theEdge1, theEdge2 : Edge from TopoDS; theTolOverlap:in out Real; theDomainDist : Real =0.0) returns Boolean; ---Purpose: Checks the first edge is overlapped with second edge.