mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast Wrong license statements corrected in several files. Copyright and license statements added in XSD and GLSL files. Copyright year updated in some files. Obsolete documentation files removed from DrawResources.
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 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;
|
|
}
|