mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-07 13:18:19 +08:00
Coding - Update method guards for consistency (#1151)
Used regex:
^//[\s\n\r\t]*[-=~]{3,}[\n\r]*//[\s\n\r\t]*[-~a-z0-9_ =\s\t./><']+[\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,30}//[\s\n\r\t]*[-=~]{3,}\n*
This commit is contained in:
@@ -1168,9 +1168,6 @@ void BRep_Builder::Transfert(const TopoDS_Edge& Ein, const TopoDS_Edge& Eout) co
|
||||
}
|
||||
}
|
||||
|
||||
//=================================================================================================
|
||||
// function : UpdateVertex
|
||||
// purpose : update vertex with 3d point
|
||||
//=================================================================================================
|
||||
|
||||
void BRep_Builder::UpdateVertex(const TopoDS_Vertex& V, const gp_Pnt& P, const double Tol) const
|
||||
@@ -1386,9 +1383,6 @@ void BRep_Builder::UpdateVertex(const TopoDS_Vertex& Ve,
|
||||
TV->Modified(true);
|
||||
}
|
||||
|
||||
//=================================================================================================
|
||||
// function : UpdateVertex
|
||||
// purpose : update vertex with 3d point
|
||||
//=================================================================================================
|
||||
|
||||
void BRep_Builder::UpdateVertex(const TopoDS_Vertex& V, const double Tol) const
|
||||
|
||||
@@ -46,10 +46,7 @@ inline void BRep_Builder::MakeEdge(TopoDS_Edge& E, const occ::handle<Poly_Polygo
|
||||
UpdateEdge(E, P);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
// function : MakeEdge
|
||||
// purpose : make edge from triangulation
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline void BRep_Builder::MakeEdge(TopoDS_Edge& E,
|
||||
const occ::handle<Poly_PolygonOnTriangulation>& P,
|
||||
@@ -59,10 +56,7 @@ inline void BRep_Builder::MakeEdge(TopoDS_Edge&
|
||||
UpdateEdge(E, P, T, TopLoc_Location());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
// function : MakeEdge
|
||||
// purpose : make edge from triangulation
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline void BRep_Builder::MakeEdge(TopoDS_Edge& E,
|
||||
const occ::handle<Poly_PolygonOnTriangulation>& P,
|
||||
|
||||
@@ -1115,9 +1115,6 @@ bool BRep_Tool::HasContinuity(const TopoDS_Edge& E, const TopoDS_Face& F1, const
|
||||
return HasContinuity(E, S1, S2, l1, l2);
|
||||
}
|
||||
|
||||
//=================================================================================================
|
||||
// function : Continuity
|
||||
// purpose : Returns the continuity.
|
||||
//=================================================================================================
|
||||
|
||||
GeomAbs_Shape BRep_Tool::Continuity(const TopoDS_Edge& E,
|
||||
@@ -1159,9 +1156,6 @@ bool BRep_Tool::HasContinuity(const TopoDS_Edge& E,
|
||||
return false;
|
||||
}
|
||||
|
||||
//=================================================================================================
|
||||
// function : Continuity
|
||||
// purpose : Returns the continuity.
|
||||
//=================================================================================================
|
||||
|
||||
GeomAbs_Shape BRep_Tool::Continuity(const TopoDS_Edge& E,
|
||||
@@ -1249,9 +1243,6 @@ gp_Pnt BRep_Tool::Pnt(const TopoDS_Vertex& V)
|
||||
return P.Transformed(V.Location().Transformation());
|
||||
}
|
||||
|
||||
//=================================================================================================
|
||||
// function : Tolerance
|
||||
// purpose : Returns the tolerance.
|
||||
//=================================================================================================
|
||||
|
||||
double BRep_Tool::Tolerance(const TopoDS_Vertex& V)
|
||||
|
||||
Reference in New Issue
Block a user