Loading files
// Created on: 1997-09-17
// Created by: Jean Yves LEBEY
// Copyright (c) 1997-1999 Matra Datavision
// 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 _TopOpeBRepDS_TKI_HeaderFile
#define _TopOpeBRepDS_TKI_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Standard_Integer.hxx>
#include <TopOpeBRepDS_Interference.hxx>
#include <NCollection_List.hxx>
#include <NCollection_DataMap.hxx>
#include <NCollection_Array1.hxx>
#include <NCollection_HArray1.hxx>
#include <TopOpeBRepDS_Kind.hxx>
#include <TCollection_AsciiString.hxx>
class TopOpeBRepDS_Interference;
class TopOpeBRepDS_TKI
{
public:
DEFINE_STANDARD_ALLOC
Standard_EXPORT TopOpeBRepDS_TKI();
Standard_EXPORT void Clear();
Standard_EXPORT void FillOnGeometry(
const NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L);
Standard_EXPORT void FillOnSupport(
const NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& L);
Standard_EXPORT bool IsBound(const TopOpeBRepDS_Kind K, const int G) const;
Standard_EXPORT const NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& Interferences(
const TopOpeBRepDS_Kind K,
const int G) const;
Standard_EXPORT NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& ChangeInterferences(
const TopOpeBRepDS_Kind K,
const int G);
Standard_EXPORT bool HasInterferences(const TopOpeBRepDS_Kind K, const int G) const;
Standard_EXPORT void Add(const TopOpeBRepDS_Kind K, const int G);
Standard_EXPORT void Add(const TopOpeBRepDS_Kind K,
const int G,
const occ::handle<TopOpeBRepDS_Interference>& HI);
Standard_EXPORT void DumpTKIIterator(const TCollection_AsciiString& s1 = "",
const TCollection_AsciiString& s2 = "");
Standard_EXPORT void Init();
Standard_EXPORT bool More() const;
Standard_EXPORT void Next();
Standard_EXPORT const NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& Value(
TopOpeBRepDS_Kind& K,
int& G) const;
Standard_EXPORT NCollection_List<occ::handle<TopOpeBRepDS_Interference>>& ChangeValue(
TopOpeBRepDS_Kind& K,
int& G);
private:
Standard_EXPORT void Reset();
Standard_EXPORT bool MoreTI() const;
Standard_EXPORT void NextTI();
Standard_EXPORT bool MoreITM() const;
Standard_EXPORT void FindITM();
Standard_EXPORT void NextITM();
Standard_EXPORT void Find();
Standard_EXPORT int KindToTableIndex(const TopOpeBRepDS_Kind K) const;
Standard_EXPORT TopOpeBRepDS_Kind TableIndexToKind(const int TI) const;
Standard_EXPORT bool IsValidTI(const int TI) const;
Standard_EXPORT bool IsValidK(const TopOpeBRepDS_Kind K) const;
Standard_EXPORT bool IsValidG(const int G) const;
Standard_EXPORT bool IsValidKG(const TopOpeBRepDS_Kind K, const int G) const;
int mydelta;
occ::handle<NCollection_HArray1<
NCollection_DataMap<int, NCollection_List<occ::handle<TopOpeBRepDS_Interference>>>>>
myT;
int myTI;
int myG;
NCollection_DataMap<int, NCollection_List<occ::handle<TopOpeBRepDS_Interference>>>::Iterator
myITM;
TopOpeBRepDS_Kind myK;
NCollection_List<occ::handle<TopOpeBRepDS_Interference>> myEmptyLOI;
TCollection_AsciiString myDummyAsciiString;
};
#endif // _TopOpeBRepDS_TKI_HeaderFile
3d097a032This file is pinned to the selected release. Download the original to open it in your design tool.