mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0033108: Coding - Updating geometric adaptors to work via Handles
Updated most interfaces to work with adaptors by handles
This commit is contained in:
@@ -780,8 +780,8 @@ void BRepFill_NSections::Init(const TColStd_SequenceOfReal & P,
|
||||
{
|
||||
Standard_Real U1 = BRep_Tool::Parameter(V1,Edge1);
|
||||
Standard_Real U2 = BRep_Tool::Parameter(V2,Edge2);
|
||||
BRepAdaptor_Curve Curve1(Edge1);
|
||||
BRepAdaptor_Curve Curve2(Edge2);
|
||||
Handle(BRepAdaptor_Curve) Curve1 = new BRepAdaptor_Curve(Edge1);
|
||||
Handle(BRepAdaptor_Curve) Curve2 = new BRepAdaptor_Curve(Edge2);
|
||||
Standard_Real Eps = BRep_Tool::Tolerance(V2) +
|
||||
BRep_Tool::Tolerance(V1);
|
||||
cont_jj = BRepLProp::Continuity(Curve1,Curve2,U1,U2, Eps, TolAngular);
|
||||
|
Reference in New Issue
Block a user