// 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.

//=================================================================================================

inline void BRepBuilderAPI_Sewing::SetMaxTolerance(const double theMaxToler)
{
  myMaxTolerance = theMaxToler;
}

//=================================================================================================

inline double BRepBuilderAPI_Sewing::MaxTolerance() const
{
  return myMaxTolerance;
}

//=================================================================================================

inline double BRepBuilderAPI_Sewing::Tolerance() const
{
  return myTolerance;
}

//=================================================================================================

inline void BRepBuilderAPI_Sewing::SetTolerance(const double theToler)
{
  myTolerance = theToler;
}

//=================================================================================================

inline void BRepBuilderAPI_Sewing::SetMinTolerance(const double theMinToler)
{
  myMinTolerance = theMinToler;
}

//=================================================================================================

inline double BRepBuilderAPI_Sewing::MinTolerance() const
{
  return myMinTolerance;
}

//=================================================================================================

inline void BRepBuilderAPI_Sewing::SetFaceMode(const bool theFaceMode)
{
  myFaceMode = theFaceMode;
}

//=================================================================================================

inline bool BRepBuilderAPI_Sewing::FaceMode() const
{
  return myFaceMode;
}

//=================================================================================================

inline void BRepBuilderAPI_Sewing::SetFloatingEdgesMode(const bool theFloatingEdgesMode)
{
  myFloatingEdgesMode = theFloatingEdgesMode;
}

//=================================================================================================

inline bool BRepBuilderAPI_Sewing::FloatingEdgesMode() const
{
  return myFloatingEdgesMode;
}

/*
//=================================================================================================

inline  void BRepBuilderAPI_Sewing::SetCuttingFloatingEdgesMode(const bool
theCuttingFloatingEdgesMode)
{
  myCuttingFloatingEdgesMode = theCuttingFloatingEdgesMode;
}

//=================================================================================================

inline  bool BRepBuilderAPI_Sewing::CuttingFloatingEdgesMode() const
{
  return myCuttingFloatingEdgesMode;
}
*/

//=================================================================================================

inline bool BRepBuilderAPI_Sewing::SameParameterMode() const
{
  return mySameParameterMode;
}

//=================================================================================================

inline void BRepBuilderAPI_Sewing::SetSameParameterMode(const bool SameParameterMode)
{
  mySameParameterMode = SameParameterMode;
}

//=================================================================================================

inline void BRepBuilderAPI_Sewing::SetLocalTolerancesMode(const bool theLocalTolerancesMode)
{
  myLocalToleranceMode = theLocalTolerancesMode;
}

//=================================================================================================

inline bool BRepBuilderAPI_Sewing::LocalTolerancesMode() const
{
  return myLocalToleranceMode;
}

//=================================================================================================

inline void BRepBuilderAPI_Sewing::SetNonManifoldMode(const bool theNonManifoldMode)
{
  myNonmanifold = theNonManifoldMode;
}

//=================================================================================================

inline bool BRepBuilderAPI_Sewing::NonManifoldMode() const
{
  return myNonmanifold;
}
