mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-02 17:51:44 +08:00
Coding - Method guard iterative update (#732)
Used regex in src folder:
^//[\s\n\r\t]*[-=]{2,}[=]*[\n\r]*//[\s\n\r\t]*[a-z]+[\s\n\r\t]*:[\s\n\r\t]*[a-z0-9_:\t\s]*[\s\n\r\t]*//[\s\n\r\t]*[a-z]+[\s\n\r\t]*:[\s\n\r\t]*[a-z0-9_\s\t./-><]{0,22}//[\s\n\r\t]*[-=]{3,}[=]*
This commit is contained in:
@@ -423,10 +423,8 @@ void BRepFill_Draft::Perform(const TopoDS_Shape& StopShape, const Standard_Boole
|
||||
Sewing();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
// function : Init
|
||||
// purpose : Construction of laws.
|
||||
//======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
void BRepFill_Draft::Init(const Handle(Geom_Surface)&,
|
||||
const Standard_Real Length,
|
||||
const Bnd_Box& Box)
|
||||
|
||||
@@ -272,10 +272,8 @@ void BRepFill_PipeShell::SetDiscrete()
|
||||
mySection.Nullify(); // It is required to relocalize sections.
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
// function : Set
|
||||
// purpose : Define a law Constant
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
void BRepFill_PipeShell::Set(const gp_Ax2& Axe)
|
||||
{
|
||||
myTrihedron = GeomFill_IsFixed;
|
||||
|
||||
@@ -27,10 +27,7 @@
|
||||
#include <TopOpeBRep_VPointInter.hxx>
|
||||
#include <TopOpeBRepDS_Transition.hxx>
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
// function : TransitionToOrientation
|
||||
// purpose : static
|
||||
//-----------------------------------------------------------------------
|
||||
//=================================================================================================
|
||||
|
||||
static Standard_Boolean TransitionToOrientation(const IntSurf_Transition& T, TopAbs_Orientation& O)
|
||||
{
|
||||
|
||||
@@ -208,9 +208,7 @@ TopAbs_State TopOpeBRep_FacesFiller::StateVPonFace(const TopOpeBRep_VPointInter&
|
||||
return state;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Class methods
|
||||
// ----------------------------------------------------------------------
|
||||
//=================================================================================================
|
||||
|
||||
//=======================================================================
|
||||
// function : Lminmax
|
||||
|
||||
@@ -113,10 +113,8 @@ void TopOpeBRepTool_CurveTool::SetGeomTool(const TopOpeBRepTool_GeomTool& GT)
|
||||
myGeomTool.Define(GT);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
// function : MakePCurve
|
||||
// purpose :
|
||||
//-----------------------------------------------------------------------
|
||||
//=================================================================================================
|
||||
|
||||
Standard_EXPORT Handle(Geom2d_Curve) MakePCurve(const ProjLib_ProjectedCurve& PC)
|
||||
{
|
||||
Handle(Geom2d_Curve) C2D;
|
||||
|
||||
@@ -246,9 +246,7 @@ Standard_EXPORT Standard_Boolean FUN_tool_projPonS(const gp_Pnt& P
|
||||
return Standard_True;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// projecting point <P> on topologies (edge <E>,face <F>)
|
||||
// ----------------------------------------------------------------------
|
||||
//=================================================================================================
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
Standard_EXPORT Standard_Boolean FUN_tool_projPonE(const gp_Pnt& P,
|
||||
|
||||
@@ -718,9 +718,7 @@ Standard_EXPORT void FUN_tool_mkBnd2d(const TopoDS_Shape& W, const TopoDS_Shape&
|
||||
FUN_tool_UpdateBnd2d(B2d, newB2d);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// closing topologies :
|
||||
// ----------------------------------------------------------------------
|
||||
//=================================================================================================
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
Standard_EXPORT Standard_Boolean FUN_tool_IsClosingE(const TopoDS_Edge& E,
|
||||
@@ -767,9 +765,7 @@ Standard_EXPORT Standard_Boolean FUN_tool_ClosedE(const TopoDS_Edge& E,TopoDS_Sh
|
||||
return Standard_False;
|
||||
}*/
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// shared topologies :
|
||||
// ----------------------------------------------------------------------
|
||||
//=================================================================================================
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
Standard_EXPORT Standard_Boolean FUN_tool_inS(const TopoDS_Shape& subshape,
|
||||
@@ -1063,9 +1059,7 @@ Standard_EXPORT Standard_Boolean FUN_tool_findPinE(const TopoDS_Shape& E,
|
||||
return r;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// tolerances :
|
||||
// ----------------------------------------------------------------------
|
||||
//=================================================================================================
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
Standard_EXPORT Standard_Boolean FUN_tool_maxtol(const TopoDS_Shape& S,
|
||||
@@ -1319,9 +1313,7 @@ Standard_EXPORT Standard_Boolean FUN_tool_pcurveonF(const TopoDS_Face&
|
||||
return Standard_False;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// shared geometry :
|
||||
// ----------------------------------------------------------------------
|
||||
//=================================================================================================
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
Standard_EXPORT Standard_Boolean FUN_tool_curvesSO(const TopoDS_Edge& E1,
|
||||
@@ -1426,9 +1418,7 @@ Standard_EXPORT Standard_Boolean FUN_tool_findAncestor(const TopTools_ListOfShap
|
||||
return Standard_False;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// new topologies :
|
||||
// ----------------------------------------------------------------------
|
||||
//=================================================================================================
|
||||
|
||||
// FUN_ds_* methods are methods of TopOpeBRepDS_BuildTool
|
||||
// that cannot be called (cyclic dependencies)
|
||||
|
||||
@@ -25,9 +25,7 @@
|
||||
#define M_INTERNAL(ori) (ori == TopAbs_INTERNAL)
|
||||
#define M_EXTERNAL(ori) (ori == TopAbs_EXTERNAL)
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// oriented vectors :
|
||||
// ----------------------------------------------------------------------
|
||||
//=================================================================================================
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
Standard_EXPORT gp_Dir FUN_tool_nCinsideS(const gp_Dir& tgC, const gp_Dir& ngS)
|
||||
|
||||
Reference in New Issue
Block a user