1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0030008: BRepMesh does not respect angular deflection in internal area of bspline surface

1. Check whether the mesh satisfies the required angular deflection has been amended. Namely normals (to the surface) in the ends of any not "frontier" link are made collinear (with the given angular tolerance).

2. New parameters AngleInterior and DeflectionInterior have been added in IMeshTools_Parameters structure.

3. In case of thin long faces with internal edges, add points of internal edges to control parameters using grabParamsOfInternalEdges() in order to avoid aberrations on its ends. Disable addition of parameters from boundary edges in case of BSpline surface. Deviation can be controlled through the deflection parameter.

4. Grab parameters from edges in case if there is just a single interval on BSpline surface along U and V direction.
This commit is contained in:
nbv
2018-10-19 16:38:02 +03:00
committed by bugmaster
parent 7bd071edb1
commit 46478ffe32
26 changed files with 354 additions and 107 deletions

View File

@@ -26,6 +26,8 @@ struct IMeshTools_Parameters {
:
Angle(0.5),
Deflection(0.001),
AngleInterior(-1.0),
DeflectionInterior(-1.0),
MinSize (-1.0),
InParallel (Standard_False),
Relative (Standard_False),
@@ -42,12 +44,18 @@ struct IMeshTools_Parameters {
return 0.1;
}
//! Angular deflection
//! Angular deflection used to tessellate the boundary edges
Standard_Real Angle;
//! Deflection
//!Linear deflection used to tessellate the boundary edges
Standard_Real Deflection;
//! Angular deflection used to tessellate the face interior
Standard_Real AngleInterior;
//! Linear deflection used to tessellate the face interior
Standard_Real DeflectionInterior;
//! Minimal allowed size of mesh element
Standard_Real MinSize;