mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0032448: Modeling Algorithms - Provide exact validating (as option) using GeomLib_CheckCurveOnSurface
Add '-exact' option to checkshape command to use exact method to validate edges using BRepLib_ValidateEdge class. Default mode is calculating in finite number of points.
This commit is contained in:
@@ -807,7 +807,8 @@ Standard_Boolean IntTools_Tools::ComputeTolerance
|
||||
new Adaptor3d_CurveOnSurface(aGeom2dAdaptorCurve, aGeomAdaptorSurface);
|
||||
|
||||
aCS.Init(aGeomAdaptorCurve, theTolRange);
|
||||
aCS.Perform(anAdaptor3dCurveOnSurface, theToRunParallel);
|
||||
aCS.SetParallel(theToRunParallel);
|
||||
aCS.Perform(anAdaptor3dCurveOnSurface);
|
||||
if (!aCS.IsDone()) {
|
||||
return Standard_False;
|
||||
}
|
||||
|
Reference in New Issue
Block a user