mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03: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.
199 lines
6.2 KiB
Plaintext
199 lines
6.2 KiB
Plaintext
// Created on: 2000-12-18
|
|
// Created by: Galina KULIKOVA
|
|
// 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 : SetMaxTolerance
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline void BRepBuilderAPI_Sewing::SetMaxTolerance(const Standard_Real theMaxToler)
|
|
{
|
|
myMaxTolerance = theMaxToler;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : MaxTolerance
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Real BRepBuilderAPI_Sewing::MaxTolerance() const
|
|
{
|
|
return myMaxTolerance;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : Tolerance
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Real BRepBuilderAPI_Sewing::Tolerance() const
|
|
{
|
|
return myTolerance;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : SetTolerance
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline void BRepBuilderAPI_Sewing::SetTolerance(const Standard_Real theToler)
|
|
{
|
|
myTolerance = theToler;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : SetMinTolerance
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline void BRepBuilderAPI_Sewing::SetMinTolerance(const Standard_Real theMinToler)
|
|
{
|
|
myMinTolerance = theMinToler;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : MinTolerance
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Real BRepBuilderAPI_Sewing::MinTolerance() const
|
|
{
|
|
return myMinTolerance;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : SetFaceMode
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline void BRepBuilderAPI_Sewing::SetFaceMode(const Standard_Boolean theFaceMode)
|
|
{
|
|
myFaceMode = theFaceMode;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : FaceMode
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean BRepBuilderAPI_Sewing::FaceMode() const
|
|
{
|
|
return myFaceMode;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : SetFloatingEdgesMode
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline void BRepBuilderAPI_Sewing::SetFloatingEdgesMode(const Standard_Boolean theFloatingEdgesMode)
|
|
{
|
|
myFloatingEdgesMode = theFloatingEdgesMode;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : FloatingEdgesMode
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean BRepBuilderAPI_Sewing::FloatingEdgesMode() const
|
|
{
|
|
return myFloatingEdgesMode;
|
|
}
|
|
|
|
/*
|
|
//=======================================================================
|
|
//function : SetCuttingFloatingEdgesMode
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline void BRepBuilderAPI_Sewing::SetCuttingFloatingEdgesMode(const Standard_Boolean
|
|
theCuttingFloatingEdgesMode)
|
|
{
|
|
myCuttingFloatingEdgesMode = theCuttingFloatingEdgesMode;
|
|
}
|
|
|
|
//=======================================================================
|
|
//function : CuttingFloatingEdgesMode
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean BRepBuilderAPI_Sewing::CuttingFloatingEdgesMode() const
|
|
{
|
|
return myCuttingFloatingEdgesMode;
|
|
}
|
|
*/
|
|
|
|
//=======================================================================
|
|
// function : SameParameterMode
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean BRepBuilderAPI_Sewing::SameParameterMode() const
|
|
{
|
|
return mySameParameterMode;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : SetSameParameterMode
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline void BRepBuilderAPI_Sewing::SetSameParameterMode(const Standard_Boolean SameParameterMode)
|
|
{
|
|
mySameParameterMode = SameParameterMode;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : SetLocalTolerancesMode
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline void BRepBuilderAPI_Sewing::SetLocalTolerancesMode(
|
|
const Standard_Boolean theLocalTolerancesMode)
|
|
{
|
|
myLocalToleranceMode = theLocalTolerancesMode;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : LocalTolerancesMode
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean BRepBuilderAPI_Sewing::LocalTolerancesMode() const
|
|
{
|
|
return myLocalToleranceMode;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : SetNonManifoldMode
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline void BRepBuilderAPI_Sewing::SetNonManifoldMode(const Standard_Boolean theNonManifoldMode)
|
|
{
|
|
myNonmanifold = theNonManifoldMode;
|
|
}
|
|
|
|
//=======================================================================
|
|
// function : NonManifoldMode
|
|
// purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean BRepBuilderAPI_Sewing::NonManifoldMode() const
|
|
{
|
|
return myNonmanifold;
|
|
}
|