mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0027341: Incorrect exact HLR results
- removal of excess interferences in case of simple hiding face - correct processing of boundary edges coinciding with outlines - change of API for testing Draw Command - correction of Draw command "build3d" - test cases are added. Linux reference data is changed. Partially fixed 0027340: Insufficient exact HLR speed Number of samples in PolyPoly intersection algorithm tuned in each instance of generic class. Default number of the samples in Geom2dAdaptor is changed according to the Adaptor2d_Curve2d class. Minimal number of points in case of B-Spline is changed. Minimal number of samples support is added in intersection algorithms.
This commit is contained in:
@@ -1116,57 +1116,20 @@ IntCurve_IntCurveCurveGen::InternalCompositePerform(const TheCurve& C1,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : SetMinNbSamples
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void IntCurve_IntCurveCurveGen::SetMinNbSamples(const Standard_Integer theMinNbSamples)
|
||||
{
|
||||
intcurvcurv.SetMinNbSamples(theMinNbSamples);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
//-- InterComposite ( C1 , Num1 , C2 , Num2 , Recursion_sur_C2 )
|
||||
//--
|
||||
//-- Boolean Arret = False
|
||||
//--
|
||||
//-- Si C2.Type() == Composite Max2 = C2.GetIntervals() Sinon Max2=2
|
||||
//--
|
||||
//-- Si C1.Type() == Composite Max1 = C1.GetIntervals() Sinon Max1=2
|
||||
//--
|
||||
//-- Si Num2 > Max2 RETURN;
|
||||
//--
|
||||
//-- Sinon
|
||||
//--
|
||||
//-- Si Recursion_sur_C2 == True
|
||||
//--
|
||||
//-- for i = Num1 --> Max1
|
||||
//--
|
||||
//-- Num1 = i
|
||||
//--
|
||||
//-- InterComposite(C2,Num2,C1,Num1,False);
|
||||
//--
|
||||
//-- Si Num2 < Max2
|
||||
//--
|
||||
//-- Num2++
|
||||
//--
|
||||
//-- Num1 = 1
|
||||
//--
|
||||
//-- InterComposite(C1,Num1,C2,Num2,True);
|
||||
//--
|
||||
//-- Sinon
|
||||
//--
|
||||
//-- *** INTERSECTION ENTRE C2[num2] et C1[Num1] ***
|
||||
//--
|
||||
//-- Fin
|
||||
//--
|
||||
//--
|
||||
//-- (( Appel avec C1 , 1 , C2 , 1 , True))
|
||||
//--
|
||||
//-- Exemple : C1 = ABCD C2= 12
|
||||
//--
|
||||
//-- donne : A,1 B,1 C,1 D,1 A,2 B,2 C,2 D,2
|
||||
//----------------------------------------------------------------------
|
||||
//=======================================================================
|
||||
//function : GetMinNbSamples
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
Standard_Integer IntCurve_IntCurveCurveGen::GetMinNbSamples() const
|
||||
{
|
||||
return intcurvcurv.GetMinNbSamples();
|
||||
}
|
||||
|
Reference in New Issue
Block a user