mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
Coding - Apply .clang-format formatting #286
Update empty method guards to new style with regex (see PR). Used clang-format 18.1.8. New actions to validate code formatting is added. Update .clang-format with disabling of include sorting. It is temporary changes, then include will be sorted. Apply formatting for /src and /tools folder. The files with .hxx,.cxx,.lxx,.h,.pxx,.hpp,*.cpp extensions.
This commit is contained in:
@@ -14,36 +14,31 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
|
||||
#include <Blend_Function.hxx>
|
||||
#include <BRepBlend_AppFunc.hxx>
|
||||
#include <BRepBlend_Line.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepBlend_AppFunc,BRepBlend_AppFuncRoot)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepBlend_AppFunc, BRepBlend_AppFuncRoot)
|
||||
|
||||
BRepBlend_AppFunc::BRepBlend_AppFunc(Handle(BRepBlend_Line)& Line,
|
||||
Blend_Function& Func,
|
||||
const Standard_Real Tol3d,
|
||||
const Standard_Real Tol2d)
|
||||
:BRepBlend_AppFuncRoot(Line,Func,Tol3d,Tol2d)
|
||||
Blend_Function& Func,
|
||||
const Standard_Real Tol3d,
|
||||
const Standard_Real Tol2d)
|
||||
: BRepBlend_AppFuncRoot(Line, Func, Tol3d, Tol2d)
|
||||
{
|
||||
}
|
||||
|
||||
void BRepBlend_AppFunc::Point(const Blend_AppFunction& Func,
|
||||
const Standard_Real Param,
|
||||
const math_Vector& theSol,
|
||||
Blend_Point& Pnt)const
|
||||
const Standard_Real Param,
|
||||
const math_Vector& theSol,
|
||||
Blend_Point& Pnt) const
|
||||
{
|
||||
Pnt.SetValue(Func.Pnt1(), Func.Pnt2(),
|
||||
Param,
|
||||
theSol(1), theSol(2), theSol(3), theSol(4));
|
||||
Pnt.SetValue(Func.Pnt1(), Func.Pnt2(), Param, theSol(1), theSol(2), theSol(3), theSol(4));
|
||||
}
|
||||
|
||||
void BRepBlend_AppFunc::Vec(math_Vector& theSol,
|
||||
const Blend_Point& Pnt)const
|
||||
void BRepBlend_AppFunc::Vec(math_Vector& theSol, const Blend_Point& Pnt) const
|
||||
{
|
||||
Pnt.ParametersOnS1(theSol(1),theSol(2));
|
||||
Pnt.ParametersOnS2(theSol(3),theSol(4));
|
||||
Pnt.ParametersOnS1(theSol(1), theSol(2));
|
||||
Pnt.ParametersOnS2(theSol(3), theSol(4));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user