mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-13 11:46:28 +08:00
The copying permission statements at the beginning of source files updated to refer to LGPL. Copyright dates extended till 2014 in advance.
198 lines
6.2 KiB
Plaintext
198 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 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;
|
|
}
|