Loading files
3d097a032This file is pinned to the selected release. Download the original to open it in your design tool.
// Created by: Peter KURNEV
// Copyright (c) 1999-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.
#ifndef _BOPTest_Objects_HeaderFile
#define _BOPTest_Objects_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <TopoDS_Shape.hxx>
#include <NCollection_List.hxx>
#include <BOPAlgo_CellsBuilder.hxx>
#include <BOPAlgo_GlueEnum.hxx>
//
class BOPAlgo_PaveFiller;
class BOPAlgo_Builder;
class BOPAlgo_BOP;
class BOPAlgo_Section;
class BOPAlgo_Splitter;
class BOPDS_DS;
class BOPTest_Objects
{
public:
DEFINE_STANDARD_ALLOC
Standard_EXPORT static BOPAlgo_PaveFiller& PaveFiller();
Standard_EXPORT static void Init();
Standard_EXPORT static void Clear();
Standard_EXPORT static BOPDS_DS* PDS();
Standard_EXPORT static BOPAlgo_Builder& Builder();
Standard_EXPORT static BOPAlgo_BOP& BOP();
Standard_EXPORT static BOPAlgo_Section& Section();
Standard_EXPORT static BOPAlgo_CellsBuilder& CellsBuilder();
Standard_EXPORT static BOPAlgo_Splitter& Splitter();
Standard_EXPORT static NCollection_List<TopoDS_Shape>& Shapes();
Standard_EXPORT static NCollection_List<TopoDS_Shape>& Tools();
Standard_EXPORT static void SetBuilder(BOPAlgo_Builder* const& theBuilder);
Standard_EXPORT static void SetBuilderDefault();
Standard_EXPORT static void SetDefaultOptions();
Standard_EXPORT static void SetRunParallel(const bool theFlag);
Standard_EXPORT static bool RunParallel();
Standard_EXPORT static void SetFuzzyValue(const double theValue);
Standard_EXPORT static double FuzzyValue();
Standard_EXPORT static void SetNonDestructive(const bool theFlag);
Standard_EXPORT static bool NonDestructive();
Standard_EXPORT static void SetGlue(const BOPAlgo_GlueEnum aGlue);
Standard_EXPORT static BOPAlgo_GlueEnum Glue();
Standard_EXPORT static void SetDrawWarnShapes(const bool bDraw);
Standard_EXPORT static bool DrawWarnShapes();
Standard_EXPORT static void SetCheckInverted(const bool bCheck);
Standard_EXPORT static bool CheckInverted();
Standard_EXPORT static void SetUseOBB(const bool bUseOBB);
Standard_EXPORT static bool UseOBB();
Standard_EXPORT static void SetUnifyEdges(const bool bUE);
Standard_EXPORT static bool UnifyEdges();
Standard_EXPORT static void SetUnifyFaces(const bool bUF);
Standard_EXPORT static bool UnifyFaces();
Standard_EXPORT static void SetAngular(const double bAngTol);
Standard_EXPORT static double Angular();
};
#endif // _BOPTest_Objects_HeaderFile