mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-05 06:56:50 +08:00
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.
171 lines
5.5 KiB
Plaintext
171 lines
5.5 KiB
Plaintext
// Created on: 2000-05-22
|
|
// Created by: data exchange team
|
|
// Copyright (c) 2000-2014 OPEN CASCADE SAS
|
|
//
|
|
// This file is part of Open CASCADE Technology software library.
|
|
//
|
|
// This library is free software; you can redistribute it and/or modify it under
|
|
// the terms of the GNU Lesser General Public License version 2.1 as published
|
|
// by the Free Software Foundation, with special exception defined in the file
|
|
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
// distribution for complete text of the license and disclaimer of any warranty.
|
|
//
|
|
// Alternatively, this file may be used under the terms of Open CASCADE
|
|
// commercial license or contractual agreement.
|
|
|
|
//=======================================================================
|
|
// function : GMaxDegree
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Integer& ShapeCustom_RestrictionParameters::GMaxDegree()
|
|
{
|
|
return myGMaxDegree;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : GMaxSeg
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Integer& ShapeCustom_RestrictionParameters::GMaxSeg()
|
|
{
|
|
return myGMaxSeg;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : ConvertPlane
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertPlane()
|
|
{
|
|
return myConvPlane;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : ConvertBezierSurf
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertBezierSurf()
|
|
{
|
|
return myConvBezierSurf;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : ConvertRevolutionSurf
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertRevolutionSurf()
|
|
{
|
|
return myConvRevolSurf;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : ConvertExtrusionSurf
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertExtrusionSurf()
|
|
{
|
|
return myConvExtrSurf;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : ConvertOffsetSurf
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertOffsetSurf()
|
|
{
|
|
return myConvOffsetSurf;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : SegmentSurfaceMode
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean& ShapeCustom_RestrictionParameters::SegmentSurfaceMode()
|
|
{
|
|
return mySegmentSurfaceMode;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : ConvertCurve3d
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertCurve3d()
|
|
{
|
|
return myConvCurve3d;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : ConvertOffsetCurv3d
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertOffsetCurv3d()
|
|
{
|
|
return myConvOffsetCurv3d;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : ConvertCurve2d
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertCurve2d()
|
|
{
|
|
return myConvCurve2d;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : ConvertOffsetCurv2d
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertOffsetCurv2d()
|
|
{
|
|
return myConvOffsetCurv2d;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : ConvertConicalSurface
|
|
// purpose :
|
|
//=======================================================================
|
|
inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertConicalSurf()
|
|
{
|
|
return myConvConicalSurf;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : ConvertSphericalSurf
|
|
// purpose :
|
|
//=======================================================================
|
|
inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertSphericalSurf()
|
|
{
|
|
return myConvSphericalSurf;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : ConvertToroidalSurf
|
|
// purpose :
|
|
//=======================================================================
|
|
inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertToroidalSurf()
|
|
{
|
|
return myConvCylindricalSurf;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : ConvertCylindricalSurf
|
|
// purpose :
|
|
//=======================================================================
|
|
inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertCylindricalSurf()
|
|
{
|
|
return myConvToroidalSurf;
|
|
}
|