Add field of class <myCheckMissingEdges> to ShapeFix_Wire to be able not to take into account possibility of missing edges.
myFixAddCurve3dMode = -1;
myFixSeamMode = -1;
myFixShiftedMode = -1;
+ myCheckMissingEdges = Standard_True;
myFixSameParameterMode = -1;
myFixVertexToleranceMode = -1;
// abv 23 Feb 00: UKI60107-6 210: additional check for near-degenerated case
//smh#15 PRO19800. Check if the surface is surface of revolution.
- if (surf->Surface()->IsKind (STANDARD_TYPE(Geom_SurfaceOfRevolution))) {
+ if (myCheckMissingEdges &&
+ surf->Surface()->IsKind (STANDARD_TYPE(Geom_SurfaceOfRevolution))) {
if ( ! isDeg && ! vclosed ) {
if ( c2d1.IsNull() && ! sae.PCurve ( E1, Face(), c2d1, a1, b1, Standard_True ) ) continue;
gp_Pnt2d p1 ( SUF, c2d1->Value(b1).Y() );
Standard_Integer& FixShiftedMode();
+ Standard_Boolean& CheckMissingEdgesMode();
+
Standard_Integer& FixSameParameterMode();
Standard_Integer& FixVertexToleranceMode();
Standard_Integer myFixAddCurve3dMode;
Standard_Integer myFixSeamMode;
Standard_Integer myFixShiftedMode;
+ Standard_Boolean myCheckMissingEdges;
Standard_Integer myFixSameParameterMode;
Standard_Integer myFixVertexToleranceMode;
Standard_Integer myFixNotchedEdgesMode;
return myFixShiftedMode;
}
+//=======================================================================
+//function : CheckMissingEdgesMode
+//purpose :
+//=======================================================================
+
+inline Standard_Boolean& ShapeFix_Wire::CheckMissingEdgesMode()
+{
+ return myCheckMissingEdges;
+}
+
//=======================================================================
//function : FixSameParameterMode
//purpose :