X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPARTITION%2FPartition_Inter2d.cdl;h=1dcaa264bd7879eba680fd4f41af6cf0462a7798;hb=35c0ccc26885b896b4e62981979fd987e4b20f76;hp=a3a4d15d2052435bf1535bfdae100fed2ecdda96;hpb=d761aab4a92c178a7101653fd38e5c39e17b1615;p=modules%2Fgeom.git diff --git a/src/PARTITION/Partition_Inter2d.cdl b/src/PARTITION/Partition_Inter2d.cdl index a3a4d15d2..1dcaa264b 100644 --- a/src/PARTITION/Partition_Inter2d.cdl +++ b/src/PARTITION/Partition_Inter2d.cdl @@ -62,13 +62,30 @@ is AddVonE(myclass; V : Vertex from TopoDS; E1,E2 : Edge from TopoDS; - AsDes : mutable AsDes from BRepAlgo) + AsDes : mutable AsDes from BRepAlgo; + F: Face from TopoDS) returns Vertex from TopoDS; ---Purpose: Put V in AsDes as intersection of E1 and E2. -- Check that vertex equal to V already exists on one -- of edges, in such a case, V is not added but -- existing vertex is updated to be on E1 and E2 and - -- is returned insead of V. + -- is returned insead of V. + -- Optional F is a face E1 and E2 are on. If F is + -- provided, it is used to find new vertices on E1 + -- and E2 resulting from intersection of new edges on + -- the two other faces the F interferes with and + -- through which E1 and E2 pass too. This helps to + -- avoid small edges. + + + GetTolerance(myclass; theV : Vertex from TopoDS; + theU : Real from Standard; + theE : Edge from TopoDS; + theAsDes : AsDes from BRepAlgo) + returns Real from Standard; + ---Purpose: Returns tolerance theV must have atfer its + -- addition to theE with theU parameter. theAsDes is + -- used to find pcurves of theE end Inter2d;