diff --git a/src/Contap/Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking.hxx b/src/Contap/Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking.hxx deleted file mode 100644 index 82db5e1d21..0000000000 --- a/src/Contap/Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking.hxx +++ /dev/null @@ -1,82 +0,0 @@ -// Created on: 1993-02-05 -// Created by: Jacques GOUSSARD -// Copyright (c) 1993-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 _Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking_HeaderFile -#define _Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking_HeaderFile - -#include -#include - -#include -#include -class Contap_TheIWLineOfTheIWalking; -class Contap_SequenceOfIWLineOfTheIWalking; - - -class Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking; -DEFINE_STANDARD_HANDLE(Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking, TCollection_SeqNode) - - -class Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking : public TCollection_SeqNode -{ - -public: - - - Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking(const Handle(Contap_TheIWLineOfTheIWalking)& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - Handle(Contap_TheIWLineOfTheIWalking)& Value() const; - - - - - DEFINE_STANDARD_RTTI(Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking,TCollection_SeqNode) - -protected: - - - - -private: - - - Handle(Contap_TheIWLineOfTheIWalking) myValue; - - -}; - -#define SeqItem Handle(Contap_TheIWLineOfTheIWalking) -#define SeqItem_hxx -#define TCollection_SequenceNode Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking) -#define TCollection_Sequence Contap_SequenceOfIWLineOfTheIWalking -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking_HeaderFile diff --git a/src/Contap/Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking_0.cxx b/src/Contap/Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking_0.cxx deleted file mode 100644 index e525dc98cf..0000000000 --- a/src/Contap/Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1993-02-05 -// Created by: Jacques GOUSSARD -// Copyright (c) 1993-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem Handle(Contap_TheIWLineOfTheIWalking) -#define SeqItem_hxx -#define TCollection_SequenceNode Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking) -#define TCollection_Sequence Contap_SequenceOfIWLineOfTheIWalking -#define TCollection_Sequence_hxx -#include - diff --git a/src/Contap/Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch.hxx b/src/Contap/Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch.hxx deleted file mode 100644 index 9cc72f70af..0000000000 --- a/src/Contap/Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch.hxx +++ /dev/null @@ -1,83 +0,0 @@ -// Created on: 1993-02-05 -// Created by: Jacques GOUSSARD -// Copyright (c) 1993-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 _Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch_HeaderFile -#define _Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch_HeaderFile - -#include -#include - -#include -#include -#include -class Contap_ThePathPointOfTheSearch; -class Contap_SequenceOfPathPointOfTheSearch; - - -class Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch; -DEFINE_STANDARD_HANDLE(Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch, TCollection_SeqNode) - - -class Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch : public TCollection_SeqNode -{ - -public: - - - Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch(const Contap_ThePathPointOfTheSearch& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - Contap_ThePathPointOfTheSearch& Value() const; - - - - - DEFINE_STANDARD_RTTI(Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch,TCollection_SeqNode) - -protected: - - - - -private: - - - Contap_ThePathPointOfTheSearch myValue; - - -}; - -#define SeqItem Contap_ThePathPointOfTheSearch -#define SeqItem_hxx -#define TCollection_SequenceNode Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch) -#define TCollection_Sequence Contap_SequenceOfPathPointOfTheSearch -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch_HeaderFile diff --git a/src/Contap/Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch_0.cxx b/src/Contap/Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch_0.cxx deleted file mode 100644 index 6342ba72fc..0000000000 --- a/src/Contap/Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1993-02-05 -// Created by: Jacques GOUSSARD -// Copyright (c) 1993-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem Contap_ThePathPointOfTheSearch -#define SeqItem_hxx -#define TCollection_SequenceNode Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch) -#define TCollection_Sequence Contap_SequenceOfPathPointOfTheSearch -#define TCollection_Sequence_hxx -#include - diff --git a/src/Contap/Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch.hxx b/src/Contap/Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch.hxx deleted file mode 100644 index 5ba93f962c..0000000000 --- a/src/Contap/Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch.hxx +++ /dev/null @@ -1,83 +0,0 @@ -// Created on: 1993-02-05 -// Created by: Jacques GOUSSARD -// Copyright (c) 1993-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 _Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch_HeaderFile -#define _Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch_HeaderFile - -#include -#include - -#include -#include -#include -class Contap_TheSegmentOfTheSearch; -class Contap_SequenceOfSegmentOfTheSearch; - - -class Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch; -DEFINE_STANDARD_HANDLE(Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch, TCollection_SeqNode) - - -class Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch : public TCollection_SeqNode -{ - -public: - - - Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch(const Contap_TheSegmentOfTheSearch& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - Contap_TheSegmentOfTheSearch& Value() const; - - - - - DEFINE_STANDARD_RTTI(Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch,TCollection_SeqNode) - -protected: - - - - -private: - - - Contap_TheSegmentOfTheSearch myValue; - - -}; - -#define SeqItem Contap_TheSegmentOfTheSearch -#define SeqItem_hxx -#define TCollection_SequenceNode Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch) -#define TCollection_Sequence Contap_SequenceOfSegmentOfTheSearch -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch_HeaderFile diff --git a/src/Contap/Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch_0.cxx b/src/Contap/Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch_0.cxx deleted file mode 100644 index 8a4565624b..0000000000 --- a/src/Contap/Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1993-02-05 -// Created by: Jacques GOUSSARD -// Copyright (c) 1993-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem Contap_TheSegmentOfTheSearch -#define SeqItem_hxx -#define TCollection_SequenceNode Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch) -#define TCollection_Sequence Contap_SequenceOfSegmentOfTheSearch -#define TCollection_Sequence_hxx -#include - diff --git a/src/Contap/Contap_SequenceOfIWLineOfTheIWalking.hxx b/src/Contap/Contap_SequenceOfIWLineOfTheIWalking.hxx index 7ace1d6acc..1d6a69d5a3 100644 --- a/src/Contap/Contap_SequenceOfIWLineOfTheIWalking.hxx +++ b/src/Contap/Contap_SequenceOfIWLineOfTheIWalking.hxx @@ -17,267 +17,9 @@ #ifndef _Contap_SequenceOfIWLineOfTheIWalking_HeaderFile #define _Contap_SequenceOfIWLineOfTheIWalking_HeaderFile -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class Contap_TheIWLineOfTheIWalking; -class Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking; - - - -class Contap_SequenceOfIWLineOfTheIWalking : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - Contap_SequenceOfIWLineOfTheIWalking(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT Contap_SequenceOfIWLineOfTheIWalking(const Contap_SequenceOfIWLineOfTheIWalking& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~Contap_SequenceOfIWLineOfTheIWalking() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const Contap_SequenceOfIWLineOfTheIWalking& Assign (const Contap_SequenceOfIWLineOfTheIWalking& Other); -const Contap_SequenceOfIWLineOfTheIWalking& operator = (const Contap_SequenceOfIWLineOfTheIWalking& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const Handle(Contap_TheIWLineOfTheIWalking)& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (Contap_SequenceOfIWLineOfTheIWalking& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const Handle(Contap_TheIWLineOfTheIWalking)& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (Contap_SequenceOfIWLineOfTheIWalking& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const Handle(Contap_TheIWLineOfTheIWalking)& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, Contap_SequenceOfIWLineOfTheIWalking& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(Contap_TheIWLineOfTheIWalking)& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, Contap_SequenceOfIWLineOfTheIWalking& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const Handle(Contap_TheIWLineOfTheIWalking)& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const Handle(Contap_TheIWLineOfTheIWalking)& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, Contap_SequenceOfIWLineOfTheIWalking& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const Handle(Contap_TheIWLineOfTheIWalking)& Value (const Standard_Integer Index) const; -const Handle(Contap_TheIWLineOfTheIWalking)& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(Contap_TheIWLineOfTheIWalking)& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT Handle(Contap_TheIWLineOfTheIWalking)& ChangeValue (const Standard_Integer Index); -Handle(Contap_TheIWLineOfTheIWalking)& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem Handle(Contap_TheIWLineOfTheIWalking) -#define SeqItem_hxx -#define TCollection_SequenceNode Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking) -#define TCollection_Sequence Contap_SequenceOfIWLineOfTheIWalking -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - +#include +#include +typedef NCollection_Sequence Contap_SequenceOfIWLineOfTheIWalking; #endif // _Contap_SequenceOfIWLineOfTheIWalking_HeaderFile diff --git a/src/Contap/Contap_SequenceOfIWLineOfTheIWalking_0.cxx b/src/Contap/Contap_SequenceOfIWLineOfTheIWalking_0.cxx deleted file mode 100644 index 23d5ff9037..0000000000 --- a/src/Contap/Contap_SequenceOfIWLineOfTheIWalking_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1993-02-05 -// Created by: Jacques GOUSSARD -// Copyright (c) 1993-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem Handle(Contap_TheIWLineOfTheIWalking) -#define SeqItem_hxx -#define TCollection_SequenceNode Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking) -#define TCollection_Sequence Contap_SequenceOfIWLineOfTheIWalking -#define TCollection_Sequence_hxx -#include - diff --git a/src/Contap/Contap_SequenceOfPathPointOfTheSearch.hxx b/src/Contap/Contap_SequenceOfPathPointOfTheSearch.hxx index d25d1b4427..5380d9939e 100644 --- a/src/Contap/Contap_SequenceOfPathPointOfTheSearch.hxx +++ b/src/Contap/Contap_SequenceOfPathPointOfTheSearch.hxx @@ -17,267 +17,9 @@ #ifndef _Contap_SequenceOfPathPointOfTheSearch_HeaderFile #define _Contap_SequenceOfPathPointOfTheSearch_HeaderFile -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class Contap_ThePathPointOfTheSearch; -class Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch; - - - -class Contap_SequenceOfPathPointOfTheSearch : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - Contap_SequenceOfPathPointOfTheSearch(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT Contap_SequenceOfPathPointOfTheSearch(const Contap_SequenceOfPathPointOfTheSearch& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~Contap_SequenceOfPathPointOfTheSearch() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const Contap_SequenceOfPathPointOfTheSearch& Assign (const Contap_SequenceOfPathPointOfTheSearch& Other); -const Contap_SequenceOfPathPointOfTheSearch& operator = (const Contap_SequenceOfPathPointOfTheSearch& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const Contap_ThePathPointOfTheSearch& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (Contap_SequenceOfPathPointOfTheSearch& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const Contap_ThePathPointOfTheSearch& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (Contap_SequenceOfPathPointOfTheSearch& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const Contap_ThePathPointOfTheSearch& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, Contap_SequenceOfPathPointOfTheSearch& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Contap_ThePathPointOfTheSearch& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, Contap_SequenceOfPathPointOfTheSearch& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const Contap_ThePathPointOfTheSearch& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const Contap_ThePathPointOfTheSearch& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, Contap_SequenceOfPathPointOfTheSearch& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const Contap_ThePathPointOfTheSearch& Value (const Standard_Integer Index) const; -const Contap_ThePathPointOfTheSearch& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const Contap_ThePathPointOfTheSearch& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT Contap_ThePathPointOfTheSearch& ChangeValue (const Standard_Integer Index); -Contap_ThePathPointOfTheSearch& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem Contap_ThePathPointOfTheSearch -#define SeqItem_hxx -#define TCollection_SequenceNode Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch) -#define TCollection_Sequence Contap_SequenceOfPathPointOfTheSearch -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - +#include +#include +typedef NCollection_Sequence Contap_SequenceOfPathPointOfTheSearch; #endif // _Contap_SequenceOfPathPointOfTheSearch_HeaderFile diff --git a/src/Contap/Contap_SequenceOfPathPointOfTheSearch_0.cxx b/src/Contap/Contap_SequenceOfPathPointOfTheSearch_0.cxx deleted file mode 100644 index 7a6e574bc4..0000000000 --- a/src/Contap/Contap_SequenceOfPathPointOfTheSearch_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1993-02-05 -// Created by: Jacques GOUSSARD -// Copyright (c) 1993-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem Contap_ThePathPointOfTheSearch -#define SeqItem_hxx -#define TCollection_SequenceNode Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch) -#define TCollection_Sequence Contap_SequenceOfPathPointOfTheSearch -#define TCollection_Sequence_hxx -#include - diff --git a/src/Contap/Contap_SequenceOfSegmentOfTheSearch.hxx b/src/Contap/Contap_SequenceOfSegmentOfTheSearch.hxx index 0748b30e2f..6595bc5b90 100644 --- a/src/Contap/Contap_SequenceOfSegmentOfTheSearch.hxx +++ b/src/Contap/Contap_SequenceOfSegmentOfTheSearch.hxx @@ -17,267 +17,9 @@ #ifndef _Contap_SequenceOfSegmentOfTheSearch_HeaderFile #define _Contap_SequenceOfSegmentOfTheSearch_HeaderFile -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class Contap_TheSegmentOfTheSearch; -class Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch; - - - -class Contap_SequenceOfSegmentOfTheSearch : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - Contap_SequenceOfSegmentOfTheSearch(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT Contap_SequenceOfSegmentOfTheSearch(const Contap_SequenceOfSegmentOfTheSearch& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~Contap_SequenceOfSegmentOfTheSearch() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const Contap_SequenceOfSegmentOfTheSearch& Assign (const Contap_SequenceOfSegmentOfTheSearch& Other); -const Contap_SequenceOfSegmentOfTheSearch& operator = (const Contap_SequenceOfSegmentOfTheSearch& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const Contap_TheSegmentOfTheSearch& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (Contap_SequenceOfSegmentOfTheSearch& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const Contap_TheSegmentOfTheSearch& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (Contap_SequenceOfSegmentOfTheSearch& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const Contap_TheSegmentOfTheSearch& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, Contap_SequenceOfSegmentOfTheSearch& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Contap_TheSegmentOfTheSearch& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, Contap_SequenceOfSegmentOfTheSearch& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const Contap_TheSegmentOfTheSearch& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const Contap_TheSegmentOfTheSearch& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, Contap_SequenceOfSegmentOfTheSearch& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const Contap_TheSegmentOfTheSearch& Value (const Standard_Integer Index) const; -const Contap_TheSegmentOfTheSearch& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const Contap_TheSegmentOfTheSearch& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT Contap_TheSegmentOfTheSearch& ChangeValue (const Standard_Integer Index); -Contap_TheSegmentOfTheSearch& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem Contap_TheSegmentOfTheSearch -#define SeqItem_hxx -#define TCollection_SequenceNode Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch) -#define TCollection_Sequence Contap_SequenceOfSegmentOfTheSearch -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - +#include +#include +typedef NCollection_Sequence Contap_SequenceOfSegmentOfTheSearch; #endif // _Contap_SequenceOfSegmentOfTheSearch_HeaderFile diff --git a/src/Contap/Contap_SequenceOfSegmentOfTheSearch_0.cxx b/src/Contap/Contap_SequenceOfSegmentOfTheSearch_0.cxx deleted file mode 100644 index dab3f77295..0000000000 --- a/src/Contap/Contap_SequenceOfSegmentOfTheSearch_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1993-02-05 -// Created by: Jacques GOUSSARD -// Copyright (c) 1993-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem Contap_TheSegmentOfTheSearch -#define SeqItem_hxx -#define TCollection_SequenceNode Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch) -#define TCollection_Sequence Contap_SequenceOfSegmentOfTheSearch -#define TCollection_Sequence_hxx -#include - diff --git a/src/Contap/Contap_TheIWalking.hxx b/src/Contap/Contap_TheIWalking.hxx index 11267f76fc..1a4d886e6d 100644 --- a/src/Contap/Contap_TheIWalking.hxx +++ b/src/Contap/Contap_TheIWalking.hxx @@ -46,12 +46,8 @@ class Adaptor3d_HSurface; class Adaptor3d_HSurfaceTool; class Contap_SurfFunction; class Contap_TheIWLineOfTheIWalking; -class Contap_SequenceOfIWLineOfTheIWalking; -class Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking; class IntSurf_PntOn2S; - - class Contap_TheIWalking { public: @@ -190,13 +186,7 @@ private: #define IntWalk_TheIWLine_hxx #define IntWalk_SequenceOfIWLine Contap_SequenceOfIWLineOfTheIWalking #define IntWalk_SequenceOfIWLine_hxx -#define IntWalk_SequenceNodeOfSequenceOfIWLine Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define IntWalk_SequenceNodeOfSequenceOfIWLine_hxx -#define IntWalk_SequenceNodeOfSequenceOfIWLine Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define IntWalk_SequenceNodeOfSequenceOfIWLine_hxx #define Handle_IntWalk_TheIWLine Handle(Contap_TheIWLineOfTheIWalking) -#define Handle_IntWalk_SequenceNodeOfSequenceOfIWLine Handle(Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking) -#define Handle_IntWalk_SequenceNodeOfSequenceOfIWLine Handle(Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking) #define IntWalk_IWalking Contap_TheIWalking #define IntWalk_IWalking_hxx @@ -224,13 +214,7 @@ private: #undef IntWalk_TheIWLine_hxx #undef IntWalk_SequenceOfIWLine #undef IntWalk_SequenceOfIWLine_hxx -#undef IntWalk_SequenceNodeOfSequenceOfIWLine -#undef IntWalk_SequenceNodeOfSequenceOfIWLine_hxx -#undef IntWalk_SequenceNodeOfSequenceOfIWLine -#undef IntWalk_SequenceNodeOfSequenceOfIWLine_hxx #undef Handle_IntWalk_TheIWLine -#undef Handle_IntWalk_SequenceNodeOfSequenceOfIWLine -#undef Handle_IntWalk_SequenceNodeOfSequenceOfIWLine #undef IntWalk_IWalking #undef IntWalk_IWalking_hxx diff --git a/src/Contap/Contap_TheIWalking_0.cxx b/src/Contap/Contap_TheIWalking_0.cxx index 3cf3215bfc..9345921ca2 100644 --- a/src/Contap/Contap_TheIWalking_0.cxx +++ b/src/Contap/Contap_TheIWalking_0.cxx @@ -27,9 +27,7 @@ #include #include #include -#include #include - #define ThePointOfPath IntSurf_PathPoint #define ThePointOfPath_hxx @@ -53,13 +51,7 @@ #define IntWalk_TheIWLine_hxx #define IntWalk_SequenceOfIWLine Contap_SequenceOfIWLineOfTheIWalking #define IntWalk_SequenceOfIWLine_hxx -#define IntWalk_SequenceNodeOfSequenceOfIWLine Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define IntWalk_SequenceNodeOfSequenceOfIWLine_hxx -#define IntWalk_SequenceNodeOfSequenceOfIWLine Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define IntWalk_SequenceNodeOfSequenceOfIWLine_hxx #define Handle_IntWalk_TheIWLine Handle(Contap_TheIWLineOfTheIWalking) -#define Handle_IntWalk_SequenceNodeOfSequenceOfIWLine Handle(Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking) -#define Handle_IntWalk_SequenceNodeOfSequenceOfIWLine Handle(Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking) #define IntWalk_IWalking Contap_TheIWalking #define IntWalk_IWalking_hxx #include diff --git a/src/Contap/Contap_TheSearch.hxx b/src/Contap/Contap_TheSearch.hxx index e17bbe5efb..8809d0f6f7 100644 --- a/src/Contap/Contap_TheSearch.hxx +++ b/src/Contap/Contap_TheSearch.hxx @@ -36,13 +36,7 @@ class Contap_HContTool; class Adaptor3d_TopolTool; class Contap_ArcFunction; class Contap_ThePathPointOfTheSearch; -class Contap_SequenceOfPathPointOfTheSearch; -class Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch; class Contap_TheSegmentOfTheSearch; -class Contap_SequenceOfSegmentOfTheSearch; -class Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch; - - class Contap_TheSearch { @@ -129,22 +123,10 @@ private: #define IntStart_ThePathPoint_hxx #define IntStart_SequenceOfPathPoint Contap_SequenceOfPathPointOfTheSearch #define IntStart_SequenceOfPathPoint_hxx -#define IntStart_SequenceNodeOfSequenceOfPathPoint Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch -#define IntStart_SequenceNodeOfSequenceOfPathPoint_hxx -#define IntStart_SequenceNodeOfSequenceOfPathPoint Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch -#define IntStart_SequenceNodeOfSequenceOfPathPoint_hxx #define IntStart_TheSegment Contap_TheSegmentOfTheSearch #define IntStart_TheSegment_hxx #define IntStart_SequenceOfSegment Contap_SequenceOfSegmentOfTheSearch #define IntStart_SequenceOfSegment_hxx -#define IntStart_SequenceNodeOfSequenceOfSegment Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch -#define IntStart_SequenceNodeOfSequenceOfSegment_hxx -#define IntStart_SequenceNodeOfSequenceOfSegment Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch -#define IntStart_SequenceNodeOfSequenceOfSegment_hxx -#define Handle_IntStart_SequenceNodeOfSequenceOfPathPoint Handle(Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch) -#define Handle_IntStart_SequenceNodeOfSequenceOfPathPoint Handle(Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch) -#define Handle_IntStart_SequenceNodeOfSequenceOfSegment Handle(Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch) -#define Handle_IntStart_SequenceNodeOfSequenceOfSegment Handle(Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch) #define IntStart_SearchOnBoundaries Contap_TheSearch #define IntStart_SearchOnBoundaries_hxx @@ -167,22 +149,10 @@ private: #undef IntStart_ThePathPoint_hxx #undef IntStart_SequenceOfPathPoint #undef IntStart_SequenceOfPathPoint_hxx -#undef IntStart_SequenceNodeOfSequenceOfPathPoint -#undef IntStart_SequenceNodeOfSequenceOfPathPoint_hxx -#undef IntStart_SequenceNodeOfSequenceOfPathPoint -#undef IntStart_SequenceNodeOfSequenceOfPathPoint_hxx #undef IntStart_TheSegment #undef IntStart_TheSegment_hxx #undef IntStart_SequenceOfSegment #undef IntStart_SequenceOfSegment_hxx -#undef IntStart_SequenceNodeOfSequenceOfSegment -#undef IntStart_SequenceNodeOfSequenceOfSegment_hxx -#undef IntStart_SequenceNodeOfSequenceOfSegment -#undef IntStart_SequenceNodeOfSequenceOfSegment_hxx -#undef Handle_IntStart_SequenceNodeOfSequenceOfPathPoint -#undef Handle_IntStart_SequenceNodeOfSequenceOfPathPoint -#undef Handle_IntStart_SequenceNodeOfSequenceOfSegment -#undef Handle_IntStart_SequenceNodeOfSequenceOfSegment #undef IntStart_SearchOnBoundaries #undef IntStart_SearchOnBoundaries_hxx diff --git a/src/Contap/Contap_TheSearch_0.cxx b/src/Contap/Contap_TheSearch_0.cxx index a432412997..ca23e32721 100644 --- a/src/Contap/Contap_TheSearch_0.cxx +++ b/src/Contap/Contap_TheSearch_0.cxx @@ -27,11 +27,8 @@ #include #include #include -#include #include #include -#include - #define TheVertex Handle(Adaptor3d_HVertex) #define TheVertex_hxx @@ -50,22 +47,10 @@ #define IntStart_ThePathPoint_hxx #define IntStart_SequenceOfPathPoint Contap_SequenceOfPathPointOfTheSearch #define IntStart_SequenceOfPathPoint_hxx -#define IntStart_SequenceNodeOfSequenceOfPathPoint Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch -#define IntStart_SequenceNodeOfSequenceOfPathPoint_hxx -#define IntStart_SequenceNodeOfSequenceOfPathPoint Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch -#define IntStart_SequenceNodeOfSequenceOfPathPoint_hxx #define IntStart_TheSegment Contap_TheSegmentOfTheSearch #define IntStart_TheSegment_hxx #define IntStart_SequenceOfSegment Contap_SequenceOfSegmentOfTheSearch #define IntStart_SequenceOfSegment_hxx -#define IntStart_SequenceNodeOfSequenceOfSegment Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch -#define IntStart_SequenceNodeOfSequenceOfSegment_hxx -#define IntStart_SequenceNodeOfSequenceOfSegment Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch -#define IntStart_SequenceNodeOfSequenceOfSegment_hxx -#define Handle_IntStart_SequenceNodeOfSequenceOfPathPoint Handle(Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch) -#define Handle_IntStart_SequenceNodeOfSequenceOfPathPoint Handle(Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch) -#define Handle_IntStart_SequenceNodeOfSequenceOfSegment Handle(Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch) -#define Handle_IntStart_SequenceNodeOfSequenceOfSegment Handle(Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch) #define IntStart_SearchOnBoundaries Contap_TheSearch #define IntStart_SearchOnBoundaries_hxx #include diff --git a/src/Contap/FILES b/src/Contap/FILES index 35bfc2581e..d97434f281 100644 --- a/src/Contap/FILES +++ b/src/Contap/FILES @@ -19,18 +19,9 @@ Contap_Line.lxx Contap_Point.cxx Contap_Point.hxx Contap_Point.lxx -Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking.hxx -Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking_0.cxx -Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch.hxx -Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch_0.cxx -Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch.hxx -Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch_0.cxx Contap_SequenceOfIWLineOfTheIWalking.hxx -Contap_SequenceOfIWLineOfTheIWalking_0.cxx Contap_SequenceOfPathPointOfTheSearch.hxx -Contap_SequenceOfPathPointOfTheSearch_0.cxx Contap_SequenceOfSegmentOfTheSearch.hxx -Contap_SequenceOfSegmentOfTheSearch_0.cxx Contap_SurfFunction.cxx Contap_SurfFunction.hxx Contap_SurfFunction.lxx diff --git a/src/Extrema/Extrema_CCLocFOfLocECC.hxx b/src/Extrema/Extrema_CCLocFOfLocECC.hxx index 9dad65b4b0..432c972d1f 100644 --- a/src/Extrema/Extrema_CCLocFOfLocECC.hxx +++ b/src/Extrema/Extrema_CCLocFOfLocECC.hxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -37,8 +37,6 @@ class Extrema_CurveTool; class Extrema_POnCurv; class gp_Pnt; class gp_Vec; -class Extrema_SeqPOnCOfCCLocFOfLocECC; -class Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC; class math_Matrix; @@ -121,7 +119,7 @@ private: gp_Vec myDu; gp_Vec myDv; TColStd_SequenceOfReal mySqDist; - Extrema_SeqPOnCOfCCLocFOfLocECC myPoints; + Extrema_SequenceOfPOnCurv myPoints; Standard_Real myTolC1; Standard_Real myTolC2; Standard_Integer myMaxDerivOrderC1; @@ -148,14 +146,8 @@ private: #define Pnt_hxx #define Vec gp_Vec #define Vec_hxx -#define Extrema_SeqPOnC Extrema_SeqPOnCOfCCLocFOfLocECC -#define Extrema_SeqPOnC_hxx -#define Extrema_SequenceNodeOfSeqPOnC Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC -#define Extrema_SequenceNodeOfSeqPOnC_hxx -#define Extrema_SequenceNodeOfSeqPOnC Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC -#define Extrema_SequenceNodeOfSeqPOnC_hxx -#define Handle_Extrema_SequenceNodeOfSeqPOnC Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC) -#define Handle_Extrema_SequenceNodeOfSeqPOnC Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC) +#define Extrema_SeqPOnC Extrema_SequenceOfPOnCurv +#define Extrema_SeqPOnC_hxx #define Extrema_FuncExtCC Extrema_CCLocFOfLocECC #define Extrema_FuncExtCC_hxx @@ -177,12 +169,6 @@ private: #undef Vec_hxx #undef Extrema_SeqPOnC #undef Extrema_SeqPOnC_hxx -#undef Extrema_SequenceNodeOfSeqPOnC -#undef Extrema_SequenceNodeOfSeqPOnC_hxx -#undef Extrema_SequenceNodeOfSeqPOnC -#undef Extrema_SequenceNodeOfSeqPOnC_hxx -#undef Handle_Extrema_SequenceNodeOfSeqPOnC -#undef Handle_Extrema_SequenceNodeOfSeqPOnC #undef Extrema_FuncExtCC #undef Extrema_FuncExtCC_hxx diff --git a/src/Extrema/Extrema_CCLocFOfLocECC2d.hxx b/src/Extrema/Extrema_CCLocFOfLocECC2d.hxx index d057f1da97..4748dedb7c 100644 --- a/src/Extrema/Extrema_CCLocFOfLocECC2d.hxx +++ b/src/Extrema/Extrema_CCLocFOfLocECC2d.hxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -37,8 +37,6 @@ class Extrema_Curve2dTool; class Extrema_POnCurv2d; class gp_Pnt2d; class gp_Vec2d; -class Extrema_SeqPOnCOfCCLocFOfLocECC2d; -class Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d; class math_Matrix; @@ -121,7 +119,7 @@ private: gp_Vec2d myDu; gp_Vec2d myDv; TColStd_SequenceOfReal mySqDist; - Extrema_SeqPOnCOfCCLocFOfLocECC2d myPoints; + Extrema_SequenceOfPOnCurv2d myPoints; Standard_Real myTolC1; Standard_Real myTolC2; Standard_Integer myMaxDerivOrderC1; @@ -148,14 +146,8 @@ private: #define Pnt_hxx #define Vec gp_Vec2d #define Vec_hxx -#define Extrema_SeqPOnC Extrema_SeqPOnCOfCCLocFOfLocECC2d -#define Extrema_SeqPOnC_hxx -#define Extrema_SequenceNodeOfSeqPOnC Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d -#define Extrema_SequenceNodeOfSeqPOnC_hxx -#define Extrema_SequenceNodeOfSeqPOnC Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d -#define Extrema_SequenceNodeOfSeqPOnC_hxx -#define Handle_Extrema_SequenceNodeOfSeqPOnC Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d) -#define Handle_Extrema_SequenceNodeOfSeqPOnC Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d) +#define Extrema_SeqPOnC Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPOnC_hxx #define Extrema_FuncExtCC Extrema_CCLocFOfLocECC2d #define Extrema_FuncExtCC_hxx @@ -177,12 +169,6 @@ private: #undef Vec_hxx #undef Extrema_SeqPOnC #undef Extrema_SeqPOnC_hxx -#undef Extrema_SequenceNodeOfSeqPOnC -#undef Extrema_SequenceNodeOfSeqPOnC_hxx -#undef Extrema_SequenceNodeOfSeqPOnC -#undef Extrema_SequenceNodeOfSeqPOnC_hxx -#undef Handle_Extrema_SequenceNodeOfSeqPOnC -#undef Handle_Extrema_SequenceNodeOfSeqPOnC #undef Extrema_FuncExtCC #undef Extrema_FuncExtCC_hxx diff --git a/src/Extrema/Extrema_CCLocFOfLocECC2d_0.cxx b/src/Extrema/Extrema_CCLocFOfLocECC2d_0.cxx index 88e4cd38b0..5386a62fbc 100644 --- a/src/Extrema/Extrema_CCLocFOfLocECC2d_0.cxx +++ b/src/Extrema/Extrema_CCLocFOfLocECC2d_0.cxx @@ -22,8 +22,7 @@ #include #include #include -#include -#include +#include #include @@ -41,14 +40,8 @@ #define Pnt_hxx #define Vec gp_Vec2d #define Vec_hxx -#define Extrema_SeqPOnC Extrema_SeqPOnCOfCCLocFOfLocECC2d -#define Extrema_SeqPOnC_hxx -#define Extrema_SequenceNodeOfSeqPOnC Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d -#define Extrema_SequenceNodeOfSeqPOnC_hxx -#define Extrema_SequenceNodeOfSeqPOnC Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d -#define Extrema_SequenceNodeOfSeqPOnC_hxx -#define Handle_Extrema_SequenceNodeOfSeqPOnC Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d) -#define Handle_Extrema_SequenceNodeOfSeqPOnC Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d) +#define Extrema_SeqPOnC Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPOnC_hxx #define Extrema_FuncExtCC Extrema_CCLocFOfLocECC2d #define Extrema_FuncExtCC_hxx #include diff --git a/src/Extrema/Extrema_CCLocFOfLocECC_0.cxx b/src/Extrema/Extrema_CCLocFOfLocECC_0.cxx index 6693c2ee08..682e8d9165 100644 --- a/src/Extrema/Extrema_CCLocFOfLocECC_0.cxx +++ b/src/Extrema/Extrema_CCLocFOfLocECC_0.cxx @@ -22,8 +22,7 @@ #include #include #include -#include -#include +#include #include @@ -41,14 +40,8 @@ #define Pnt_hxx #define Vec gp_Vec #define Vec_hxx -#define Extrema_SeqPOnC Extrema_SeqPOnCOfCCLocFOfLocECC -#define Extrema_SeqPOnC_hxx -#define Extrema_SequenceNodeOfSeqPOnC Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC -#define Extrema_SequenceNodeOfSeqPOnC_hxx -#define Extrema_SequenceNodeOfSeqPOnC Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC -#define Extrema_SequenceNodeOfSeqPOnC_hxx -#define Handle_Extrema_SequenceNodeOfSeqPOnC Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC) -#define Handle_Extrema_SequenceNodeOfSeqPOnC Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC) +#define Extrema_SeqPOnC Extrema_SequenceOfPOnCurv +#define Extrema_SeqPOnC_hxx #define Extrema_FuncExtCC Extrema_CCLocFOfLocECC #define Extrema_FuncExtCC_hxx #include diff --git a/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC.hxx b/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC.hxx index 490e12c2ef..4ffd1283ce 100644 --- a/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC.hxx +++ b/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC.hxx @@ -34,9 +34,6 @@ class Extrema_POnCurv; class gp_Pnt; class gp_Vec; class Extrema_PCFOfEPCOfELPCOfLocateExtPC; -class Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC; - - class Extrema_EPCOfELPCOfLocateExtPC { diff --git a/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC2d.hxx b/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC2d.hxx index ea3c8bc91a..040a7e9b1d 100644 --- a/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC2d.hxx +++ b/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC2d.hxx @@ -34,9 +34,6 @@ class Extrema_POnCurv2d; class gp_Pnt2d; class gp_Vec2d; class Extrema_PCFOfEPCOfELPCOfLocateExtPC2d; -class Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d; - - class Extrema_EPCOfELPCOfLocateExtPC2d { diff --git a/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC2d_0.cxx b/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC2d_0.cxx index ef2d238dd0..3f8ed60883 100644 --- a/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC2d_0.cxx +++ b/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC2d_0.cxx @@ -25,7 +25,7 @@ #include #include #include -#include +#include #define Curve Adaptor2d_Curve2d @@ -40,10 +40,10 @@ #define Vec_hxx #define Extrema_PCF Extrema_PCFOfEPCOfELPCOfLocateExtPC2d #define Extrema_PCF_hxx -#define Extrema_SeqPCOfPCF Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d -#define Extrema_SeqPCOfPCF_hxx -#define Extrema_SeqPCOfPCF Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d -#define Extrema_SeqPCOfPCF_hxx +#define Extrema_SeqPCOfPCF Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPCOfPCF_hxx +#define Extrema_SeqPCOfPCF Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPCOfPCF_hxx #define Extrema_GenExtPC Extrema_EPCOfELPCOfLocateExtPC2d #define Extrema_GenExtPC_hxx #include diff --git a/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC_0.cxx b/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC_0.cxx index cdbe269ae7..2935373de0 100644 --- a/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC_0.cxx +++ b/src/Extrema/Extrema_EPCOfELPCOfLocateExtPC_0.cxx @@ -25,7 +25,7 @@ #include #include #include -#include +#include #define Curve Adaptor3d_Curve @@ -40,10 +40,10 @@ #define Vec_hxx #define Extrema_PCF Extrema_PCFOfEPCOfELPCOfLocateExtPC #define Extrema_PCF_hxx -#define Extrema_SeqPCOfPCF Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC -#define Extrema_SeqPCOfPCF_hxx -#define Extrema_SeqPCOfPCF Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC -#define Extrema_SeqPCOfPCF_hxx +#define Extrema_SeqPCOfPCF Extrema_SequenceOfPOnCurv +#define Extrema_SeqPCOfPCF_hxx +#define Extrema_SeqPCOfPCF Extrema_SequenceOfPOnCurv +#define Extrema_SeqPCOfPCF_hxx #define Extrema_GenExtPC Extrema_EPCOfELPCOfLocateExtPC #define Extrema_GenExtPC_hxx #include diff --git a/src/Extrema/Extrema_EPCOfExtPC.hxx b/src/Extrema/Extrema_EPCOfExtPC.hxx index 2ffad69f28..b81e085d5e 100644 --- a/src/Extrema/Extrema_EPCOfExtPC.hxx +++ b/src/Extrema/Extrema_EPCOfExtPC.hxx @@ -34,9 +34,6 @@ class Extrema_POnCurv; class gp_Pnt; class gp_Vec; class Extrema_PCFOfEPCOfExtPC; -class Extrema_SeqPCOfPCFOfEPCOfExtPC; - - class Extrema_EPCOfExtPC { diff --git a/src/Extrema/Extrema_EPCOfExtPC2d.hxx b/src/Extrema/Extrema_EPCOfExtPC2d.hxx index 47dafa0819..33c8cc3eaa 100644 --- a/src/Extrema/Extrema_EPCOfExtPC2d.hxx +++ b/src/Extrema/Extrema_EPCOfExtPC2d.hxx @@ -34,9 +34,6 @@ class Extrema_POnCurv2d; class gp_Pnt2d; class gp_Vec2d; class Extrema_PCFOfEPCOfExtPC2d; -class Extrema_SeqPCOfPCFOfEPCOfExtPC2d; - - class Extrema_EPCOfExtPC2d { diff --git a/src/Extrema/Extrema_EPCOfExtPC2d_0.cxx b/src/Extrema/Extrema_EPCOfExtPC2d_0.cxx index 0afef4c203..afe9710113 100644 --- a/src/Extrema/Extrema_EPCOfExtPC2d_0.cxx +++ b/src/Extrema/Extrema_EPCOfExtPC2d_0.cxx @@ -25,7 +25,7 @@ #include #include #include -#include +#include #define Curve Adaptor2d_Curve2d @@ -40,10 +40,10 @@ #define Vec_hxx #define Extrema_PCF Extrema_PCFOfEPCOfExtPC2d #define Extrema_PCF_hxx -#define Extrema_SeqPCOfPCF Extrema_SeqPCOfPCFOfEPCOfExtPC2d -#define Extrema_SeqPCOfPCF_hxx -#define Extrema_SeqPCOfPCF Extrema_SeqPCOfPCFOfEPCOfExtPC2d -#define Extrema_SeqPCOfPCF_hxx +#define Extrema_SeqPCOfPCF Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPCOfPCF_hxx +#define Extrema_SeqPCOfPCF Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPCOfPCF_hxx #define Extrema_GenExtPC Extrema_EPCOfExtPC2d #define Extrema_GenExtPC_hxx #include diff --git a/src/Extrema/Extrema_EPCOfExtPC_0.cxx b/src/Extrema/Extrema_EPCOfExtPC_0.cxx index 45056d7e89..d31fcd450a 100644 --- a/src/Extrema/Extrema_EPCOfExtPC_0.cxx +++ b/src/Extrema/Extrema_EPCOfExtPC_0.cxx @@ -25,7 +25,7 @@ #include #include #include -#include +#include #define Curve Adaptor3d_Curve @@ -40,10 +40,10 @@ #define Vec_hxx #define Extrema_PCF Extrema_PCFOfEPCOfExtPC #define Extrema_PCF_hxx -#define Extrema_SeqPCOfPCF Extrema_SeqPCOfPCFOfEPCOfExtPC -#define Extrema_SeqPCOfPCF_hxx -#define Extrema_SeqPCOfPCF Extrema_SeqPCOfPCFOfEPCOfExtPC -#define Extrema_SeqPCOfPCF_hxx +#define Extrema_SeqPCOfPCF Extrema_SequenceOfPOnCurv +#define Extrema_SeqPCOfPCF_hxx +#define Extrema_SeqPCOfPCF Extrema_SequenceOfPOnCurv +#define Extrema_SeqPCOfPCF_hxx #define Extrema_GenExtPC Extrema_EPCOfExtPC #define Extrema_GenExtPC_hxx #include diff --git a/src/Extrema/Extrema_LocECC.hxx b/src/Extrema/Extrema_LocECC.hxx index 0dbf490777..a4d5b0c83b 100644 --- a/src/Extrema/Extrema_LocECC.hxx +++ b/src/Extrema/Extrema_LocECC.hxx @@ -24,6 +24,8 @@ #include #include #include +#include + class Standard_DomainError; class StdFail_NotDone; class Adaptor3d_Curve; @@ -32,9 +34,6 @@ class Extrema_POnCurv; class gp_Pnt; class gp_Vec; class Extrema_CCLocFOfLocECC; -class Extrema_SeqPOnCOfCCLocFOfLocECC; - - class Extrema_LocECC { diff --git a/src/Extrema/Extrema_LocECC2d.hxx b/src/Extrema/Extrema_LocECC2d.hxx index 0674cd36bc..68efddb71c 100644 --- a/src/Extrema/Extrema_LocECC2d.hxx +++ b/src/Extrema/Extrema_LocECC2d.hxx @@ -24,6 +24,8 @@ #include #include #include +#include + class Standard_DomainError; class StdFail_NotDone; class Adaptor2d_Curve2d; @@ -32,9 +34,6 @@ class Extrema_POnCurv2d; class gp_Pnt2d; class gp_Vec2d; class Extrema_CCLocFOfLocECC2d; -class Extrema_SeqPOnCOfCCLocFOfLocECC2d; - - class Extrema_LocECC2d { diff --git a/src/Extrema/Extrema_LocECC2d_0.cxx b/src/Extrema/Extrema_LocECC2d_0.cxx index 342f4042f3..c172451618 100644 --- a/src/Extrema/Extrema_LocECC2d_0.cxx +++ b/src/Extrema/Extrema_LocECC2d_0.cxx @@ -24,7 +24,7 @@ #include #include #include -#include +#include #define Curve1 Adaptor2d_Curve2d @@ -43,10 +43,10 @@ #define Vec_hxx #define Extrema_CCLocF Extrema_CCLocFOfLocECC2d #define Extrema_CCLocF_hxx -#define Extrema_SeqPOnCOfCCLocF Extrema_SeqPOnCOfCCLocFOfLocECC2d -#define Extrema_SeqPOnCOfCCLocF_hxx -#define Extrema_SeqPOnCOfCCLocF Extrema_SeqPOnCOfCCLocFOfLocECC2d -#define Extrema_SeqPOnCOfCCLocF_hxx +#define Extrema_SeqPOnCOfCCLocF Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPOnCOfCCLocF_hxx +#define Extrema_SeqPOnCOfCCLocF Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPOnCOfCCLocF_hxx #define Extrema_GenLocateExtCC Extrema_LocECC2d #define Extrema_GenLocateExtCC_hxx #include diff --git a/src/Extrema/Extrema_LocECC_0.cxx b/src/Extrema/Extrema_LocECC_0.cxx index 177adbd869..e8a9a3ce12 100644 --- a/src/Extrema/Extrema_LocECC_0.cxx +++ b/src/Extrema/Extrema_LocECC_0.cxx @@ -24,7 +24,7 @@ #include #include #include -#include +#include #define Curve1 Adaptor3d_Curve @@ -43,10 +43,10 @@ #define Vec_hxx #define Extrema_CCLocF Extrema_CCLocFOfLocECC #define Extrema_CCLocF_hxx -#define Extrema_SeqPOnCOfCCLocF Extrema_SeqPOnCOfCCLocFOfLocECC -#define Extrema_SeqPOnCOfCCLocF_hxx -#define Extrema_SeqPOnCOfCCLocF Extrema_SeqPOnCOfCCLocFOfLocECC -#define Extrema_SeqPOnCOfCCLocF_hxx +#define Extrema_SeqPOnCOfCCLocF Extrema_SequenceOfPOnCurv +#define Extrema_SeqPOnCOfCCLocF_hxx +#define Extrema_SeqPOnCOfCCLocF Extrema_SequenceOfPOnCurv +#define Extrema_SeqPOnCOfCCLocF_hxx #define Extrema_GenLocateExtCC Extrema_LocECC #define Extrema_GenLocateExtCC_hxx #include diff --git a/src/Extrema/Extrema_LocEPCOfLocateExtPC.hxx b/src/Extrema/Extrema_LocEPCOfLocateExtPC.hxx index ab7f2e6a06..c17faf65ec 100644 --- a/src/Extrema/Extrema_LocEPCOfLocateExtPC.hxx +++ b/src/Extrema/Extrema_LocEPCOfLocateExtPC.hxx @@ -33,9 +33,6 @@ class Extrema_POnCurv; class gp_Pnt; class gp_Vec; class Extrema_PCLocFOfLocEPCOfLocateExtPC; -class Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC; - - class Extrema_LocEPCOfLocateExtPC { diff --git a/src/Extrema/Extrema_LocEPCOfLocateExtPC2d.hxx b/src/Extrema/Extrema_LocEPCOfLocateExtPC2d.hxx index 27c5ae0615..f6c667f3cc 100644 --- a/src/Extrema/Extrema_LocEPCOfLocateExtPC2d.hxx +++ b/src/Extrema/Extrema_LocEPCOfLocateExtPC2d.hxx @@ -33,9 +33,6 @@ class Extrema_POnCurv2d; class gp_Pnt2d; class gp_Vec2d; class Extrema_PCLocFOfLocEPCOfLocateExtPC2d; -class Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d; - - class Extrema_LocEPCOfLocateExtPC2d { diff --git a/src/Extrema/Extrema_LocEPCOfLocateExtPC2d_0.cxx b/src/Extrema/Extrema_LocEPCOfLocateExtPC2d_0.cxx index 36a1698f38..47bd650ac2 100644 --- a/src/Extrema/Extrema_LocEPCOfLocateExtPC2d_0.cxx +++ b/src/Extrema/Extrema_LocEPCOfLocateExtPC2d_0.cxx @@ -25,7 +25,7 @@ #include #include #include -#include +#include #define Curve Adaptor2d_Curve2d @@ -40,10 +40,10 @@ #define Vec_hxx #define Extrema_PCLocF Extrema_PCLocFOfLocEPCOfLocateExtPC2d #define Extrema_PCLocF_hxx -#define Extrema_SeqPCOfPCLocF Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d -#define Extrema_SeqPCOfPCLocF_hxx -#define Extrema_SeqPCOfPCLocF Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d -#define Extrema_SeqPCOfPCLocF_hxx +#define Extrema_SeqPCOfPCLocF Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPCOfPCLocF_hxx +#define Extrema_SeqPCOfPCLocF Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPCOfPCLocF_hxx #define Extrema_GenLocateExtPC Extrema_LocEPCOfLocateExtPC2d #define Extrema_GenLocateExtPC_hxx #include diff --git a/src/Extrema/Extrema_LocEPCOfLocateExtPC_0.cxx b/src/Extrema/Extrema_LocEPCOfLocateExtPC_0.cxx index 15af83ac73..7c76117660 100644 --- a/src/Extrema/Extrema_LocEPCOfLocateExtPC_0.cxx +++ b/src/Extrema/Extrema_LocEPCOfLocateExtPC_0.cxx @@ -25,7 +25,7 @@ #include #include #include -#include +#include #define Curve Adaptor3d_Curve @@ -40,10 +40,10 @@ #define Vec_hxx #define Extrema_PCLocF Extrema_PCLocFOfLocEPCOfLocateExtPC #define Extrema_PCLocF_hxx -#define Extrema_SeqPCOfPCLocF Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC -#define Extrema_SeqPCOfPCLocF_hxx -#define Extrema_SeqPCOfPCLocF Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC -#define Extrema_SeqPCOfPCLocF_hxx +#define Extrema_SeqPCOfPCLocF Extrema_SequenceOfPOnCurv +#define Extrema_SeqPCOfPCLocF_hxx +#define Extrema_SeqPCOfPCLocF Extrema_SequenceOfPOnCurv +#define Extrema_SeqPCOfPCLocF_hxx #define Extrema_GenLocateExtPC Extrema_LocEPCOfLocateExtPC #define Extrema_GenLocateExtPC_hxx #include diff --git a/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC.hxx b/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC.hxx index ae3d71ff8b..a2250a203d 100644 --- a/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC.hxx +++ b/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC.hxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -37,10 +37,6 @@ class Extrema_CurveTool; class Extrema_POnCurv; class gp_Pnt; class gp_Vec; -class Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC; -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC; - - class Extrema_PCFOfEPCOfELPCOfLocateExtPC : public math_FunctionWithDerivative { @@ -110,7 +106,7 @@ private: Standard_Real myD1f; TColStd_SequenceOfReal mySqDist; TColStd_SequenceOfInteger myIsMin; - Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC myPoint; + Extrema_SequenceOfPOnCurv myPoint; Standard_Boolean myPinit; Standard_Boolean myCinit; Standard_Boolean myD1Init; diff --git a/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC2d.hxx b/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC2d.hxx index c56b0d7a90..9720ae127b 100644 --- a/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC2d.hxx +++ b/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC2d.hxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -37,10 +37,6 @@ class Extrema_Curve2dTool; class Extrema_POnCurv2d; class gp_Pnt2d; class gp_Vec2d; -class Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d; -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d; - - class Extrema_PCFOfEPCOfELPCOfLocateExtPC2d : public math_FunctionWithDerivative { @@ -110,7 +106,7 @@ private: Standard_Real myD1f; TColStd_SequenceOfReal mySqDist; TColStd_SequenceOfInteger myIsMin; - Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d myPoint; + Extrema_SequenceOfPOnCurv2d myPoint; Standard_Boolean myPinit; Standard_Boolean myCinit; Standard_Boolean myD1Init; diff --git a/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC2d_0.cxx b/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC2d_0.cxx index 557a32614e..4596b87a01 100644 --- a/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC2d_0.cxx +++ b/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC2d_0.cxx @@ -23,9 +23,7 @@ #include #include #include -#include -#include - +#include #define Curve Adaptor2d_Curve2d #define Curve_hxx @@ -37,14 +35,8 @@ #define Pnt_hxx #define Vec gp_Vec2d #define Vec_hxx -#define Extrema_SeqPC Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d -#define Extrema_SeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d) -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d) +#define Extrema_SeqPC Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPC_hxx #define Extrema_FuncExtPC Extrema_PCFOfEPCOfELPCOfLocateExtPC2d #define Extrema_FuncExtPC_hxx #include diff --git a/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC_0.cxx b/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC_0.cxx index 68f0f96b8f..66ee027500 100644 --- a/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC_0.cxx +++ b/src/Extrema/Extrema_PCFOfEPCOfELPCOfLocateExtPC_0.cxx @@ -23,9 +23,7 @@ #include #include #include -#include -#include - +#include #define Curve Adaptor3d_Curve #define Curve_hxx @@ -37,14 +35,8 @@ #define Pnt_hxx #define Vec gp_Vec #define Vec_hxx -#define Extrema_SeqPC Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC -#define Extrema_SeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC) -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC) +#define Extrema_SeqPC Extrema_SequenceOfPOnCurv +#define Extrema_SeqPC_hxx #define Extrema_FuncExtPC Extrema_PCFOfEPCOfELPCOfLocateExtPC #define Extrema_FuncExtPC_hxx #include diff --git a/src/Extrema/Extrema_PCFOfEPCOfExtPC.hxx b/src/Extrema/Extrema_PCFOfEPCOfExtPC.hxx index 0db3f90a72..ee66363c13 100644 --- a/src/Extrema/Extrema_PCFOfEPCOfExtPC.hxx +++ b/src/Extrema/Extrema_PCFOfEPCOfExtPC.hxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -37,10 +37,6 @@ class Extrema_CurveTool; class Extrema_POnCurv; class gp_Pnt; class gp_Vec; -class Extrema_SeqPCOfPCFOfEPCOfExtPC; -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC; - - class Extrema_PCFOfEPCOfExtPC : public math_FunctionWithDerivative { @@ -110,7 +106,7 @@ private: Standard_Real myD1f; TColStd_SequenceOfReal mySqDist; TColStd_SequenceOfInteger myIsMin; - Extrema_SeqPCOfPCFOfEPCOfExtPC myPoint; + Extrema_SequenceOfPOnCurv myPoint; Standard_Boolean myPinit; Standard_Boolean myCinit; Standard_Boolean myD1Init; diff --git a/src/Extrema/Extrema_PCFOfEPCOfExtPC2d.hxx b/src/Extrema/Extrema_PCFOfEPCOfExtPC2d.hxx index 0c12b82532..1f6c1c681f 100644 --- a/src/Extrema/Extrema_PCFOfEPCOfExtPC2d.hxx +++ b/src/Extrema/Extrema_PCFOfEPCOfExtPC2d.hxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -37,10 +37,6 @@ class Extrema_Curve2dTool; class Extrema_POnCurv2d; class gp_Pnt2d; class gp_Vec2d; -class Extrema_SeqPCOfPCFOfEPCOfExtPC2d; -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d; - - class Extrema_PCFOfEPCOfExtPC2d : public math_FunctionWithDerivative { @@ -110,7 +106,7 @@ private: Standard_Real myD1f; TColStd_SequenceOfReal mySqDist; TColStd_SequenceOfInteger myIsMin; - Extrema_SeqPCOfPCFOfEPCOfExtPC2d myPoint; + Extrema_SequenceOfPOnCurv2d myPoint; Standard_Boolean myPinit; Standard_Boolean myCinit; Standard_Boolean myD1Init; diff --git a/src/Extrema/Extrema_PCFOfEPCOfExtPC2d_0.cxx b/src/Extrema/Extrema_PCFOfEPCOfExtPC2d_0.cxx index 067e8b6216..1861dc4fcd 100644 --- a/src/Extrema/Extrema_PCFOfEPCOfExtPC2d_0.cxx +++ b/src/Extrema/Extrema_PCFOfEPCOfExtPC2d_0.cxx @@ -23,9 +23,7 @@ #include #include #include -#include -#include - +#include #define Curve Adaptor2d_Curve2d #define Curve_hxx @@ -37,14 +35,8 @@ #define Pnt_hxx #define Vec gp_Vec2d #define Vec_hxx -#define Extrema_SeqPC Extrema_SeqPCOfPCFOfEPCOfExtPC2d -#define Extrema_SeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d) -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d) +#define Extrema_SeqPC Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPC_hxx #define Extrema_FuncExtPC Extrema_PCFOfEPCOfExtPC2d #define Extrema_FuncExtPC_hxx #include diff --git a/src/Extrema/Extrema_PCFOfEPCOfExtPC_0.cxx b/src/Extrema/Extrema_PCFOfEPCOfExtPC_0.cxx index 8057b99fcd..0665f0592e 100644 --- a/src/Extrema/Extrema_PCFOfEPCOfExtPC_0.cxx +++ b/src/Extrema/Extrema_PCFOfEPCOfExtPC_0.cxx @@ -23,9 +23,7 @@ #include #include #include -#include -#include - +#include #define Curve Adaptor3d_Curve #define Curve_hxx @@ -37,14 +35,8 @@ #define Pnt_hxx #define Vec gp_Vec #define Vec_hxx -#define Extrema_SeqPC Extrema_SeqPCOfPCFOfEPCOfExtPC -#define Extrema_SeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC) -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC) +#define Extrema_SeqPC Extrema_SequenceOfPOnCurv +#define Extrema_SeqPC_hxx #define Extrema_FuncExtPC Extrema_PCFOfEPCOfExtPC #define Extrema_FuncExtPC_hxx #include diff --git a/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC.hxx b/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC.hxx index 6f22f0a91b..2d8445a808 100644 --- a/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC.hxx +++ b/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC.hxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -37,10 +37,6 @@ class Extrema_CurveTool; class Extrema_POnCurv; class gp_Pnt; class gp_Vec; -class Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC; -class Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC; - - class Extrema_PCLocFOfLocEPCOfLocateExtPC : public math_FunctionWithDerivative { @@ -110,7 +106,7 @@ private: Standard_Real myD1f; TColStd_SequenceOfReal mySqDist; TColStd_SequenceOfInteger myIsMin; - Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC myPoint; + Extrema_SequenceOfPOnCurv myPoint; Standard_Boolean myPinit; Standard_Boolean myCinit; Standard_Boolean myD1Init; diff --git a/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC2d.hxx b/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC2d.hxx index c4969f6c40..dd197134b6 100644 --- a/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC2d.hxx +++ b/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC2d.hxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -37,10 +37,6 @@ class Extrema_Curve2dTool; class Extrema_POnCurv2d; class gp_Pnt2d; class gp_Vec2d; -class Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d; -class Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d; - - class Extrema_PCLocFOfLocEPCOfLocateExtPC2d : public math_FunctionWithDerivative { @@ -110,7 +106,7 @@ private: Standard_Real myD1f; TColStd_SequenceOfReal mySqDist; TColStd_SequenceOfInteger myIsMin; - Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d myPoint; + Extrema_SequenceOfPOnCurv2d myPoint; Standard_Boolean myPinit; Standard_Boolean myCinit; Standard_Boolean myD1Init; diff --git a/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC2d_0.cxx b/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC2d_0.cxx index a80cf77375..f485877b12 100644 --- a/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC2d_0.cxx +++ b/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC2d_0.cxx @@ -23,9 +23,7 @@ #include #include #include -#include -#include - +#include #define Curve Adaptor2d_Curve2d #define Curve_hxx @@ -37,14 +35,8 @@ #define Pnt_hxx #define Vec gp_Vec2d #define Vec_hxx -#define Extrema_SeqPC Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d -#define Extrema_SeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d) -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d) +#define Extrema_SeqPC Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPC_hxx #define Extrema_FuncExtPC Extrema_PCLocFOfLocEPCOfLocateExtPC2d #define Extrema_FuncExtPC_hxx #include diff --git a/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC_0.cxx b/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC_0.cxx index 0c7ca956c5..9eed971224 100644 --- a/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC_0.cxx +++ b/src/Extrema/Extrema_PCLocFOfLocEPCOfLocateExtPC_0.cxx @@ -23,9 +23,7 @@ #include #include #include -#include -#include - +#include #define Curve Adaptor3d_Curve #define Curve_hxx @@ -37,14 +35,8 @@ #define Pnt_hxx #define Vec gp_Vec #define Vec_hxx -#define Extrema_SeqPC Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC -#define Extrema_SeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC) -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC) +#define Extrema_SeqPC Extrema_SequenceOfPOnCurv +#define Extrema_SeqPC_hxx #define Extrema_FuncExtPC Extrema_PCLocFOfLocEPCOfLocateExtPC #define Extrema_FuncExtPC_hxx #include diff --git a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC.hxx b/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC.hxx deleted file mode 100644 index fade95856f..0000000000 --- a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC.hxx +++ /dev/null @@ -1,283 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC_HeaderFile -#define _Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC_HeaderFile - -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class Extrema_POnCurv; -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC; - - - -class Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC(const Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC& Assign (const Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC& Other); -const Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC& operator = (const Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const Extrema_POnCurv& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const Extrema_POnCurv& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const Extrema_POnCurv& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Extrema_POnCurv& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const Extrema_POnCurv& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const Extrema_POnCurv& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const Extrema_POnCurv& Value (const Standard_Integer Index) const; -const Extrema_POnCurv& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const Extrema_POnCurv& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT Extrema_POnCurv& ChangeValue (const Standard_Integer Index); -Extrema_POnCurv& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC_HeaderFile diff --git a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d.hxx b/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d.hxx deleted file mode 100644 index b7b205ce12..0000000000 --- a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d.hxx +++ /dev/null @@ -1,283 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d_HeaderFile -#define _Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d_HeaderFile - -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class Extrema_POnCurv2d; -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d; - - - -class Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d(const Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d& Assign (const Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d& Other); -const Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d& operator = (const Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const Extrema_POnCurv2d& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const Extrema_POnCurv2d& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const Extrema_POnCurv2d& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Extrema_POnCurv2d& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const Extrema_POnCurv2d& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const Extrema_POnCurv2d& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const Extrema_POnCurv2d& Value (const Standard_Integer Index) const; -const Extrema_POnCurv2d& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const Extrema_POnCurv2d& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT Extrema_POnCurv2d& ChangeValue (const Standard_Integer Index); -Extrema_POnCurv2d& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d_HeaderFile diff --git a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d_0.cxx b/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d_0.cxx deleted file mode 100644 index 48e0555aed..0000000000 --- a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC_0.cxx b/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC_0.cxx deleted file mode 100644 index f27121579d..0000000000 --- a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfExtPC.hxx b/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfExtPC.hxx deleted file mode 100644 index f777b46e7a..0000000000 --- a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfExtPC.hxx +++ /dev/null @@ -1,283 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SeqPCOfPCFOfEPCOfExtPC_HeaderFile -#define _Extrema_SeqPCOfPCFOfEPCOfExtPC_HeaderFile - -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class Extrema_POnCurv; -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC; - - - -class Extrema_SeqPCOfPCFOfEPCOfExtPC : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - Extrema_SeqPCOfPCFOfEPCOfExtPC(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT Extrema_SeqPCOfPCFOfEPCOfExtPC(const Extrema_SeqPCOfPCFOfEPCOfExtPC& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~Extrema_SeqPCOfPCFOfEPCOfExtPC() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const Extrema_SeqPCOfPCFOfEPCOfExtPC& Assign (const Extrema_SeqPCOfPCFOfEPCOfExtPC& Other); -const Extrema_SeqPCOfPCFOfEPCOfExtPC& operator = (const Extrema_SeqPCOfPCFOfEPCOfExtPC& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const Extrema_POnCurv& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (Extrema_SeqPCOfPCFOfEPCOfExtPC& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const Extrema_POnCurv& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (Extrema_SeqPCOfPCFOfEPCOfExtPC& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const Extrema_POnCurv& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, Extrema_SeqPCOfPCFOfEPCOfExtPC& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Extrema_POnCurv& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, Extrema_SeqPCOfPCFOfEPCOfExtPC& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const Extrema_POnCurv& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const Extrema_POnCurv& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, Extrema_SeqPCOfPCFOfEPCOfExtPC& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const Extrema_POnCurv& Value (const Standard_Integer Index) const; -const Extrema_POnCurv& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const Extrema_POnCurv& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT Extrema_POnCurv& ChangeValue (const Standard_Integer Index); -Extrema_POnCurv& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfExtPC -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SeqPCOfPCFOfEPCOfExtPC_HeaderFile diff --git a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfExtPC2d.hxx b/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfExtPC2d.hxx deleted file mode 100644 index 7cf5e77603..0000000000 --- a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfExtPC2d.hxx +++ /dev/null @@ -1,283 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SeqPCOfPCFOfEPCOfExtPC2d_HeaderFile -#define _Extrema_SeqPCOfPCFOfEPCOfExtPC2d_HeaderFile - -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class Extrema_POnCurv2d; -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d; - - - -class Extrema_SeqPCOfPCFOfEPCOfExtPC2d : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - Extrema_SeqPCOfPCFOfEPCOfExtPC2d(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT Extrema_SeqPCOfPCFOfEPCOfExtPC2d(const Extrema_SeqPCOfPCFOfEPCOfExtPC2d& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~Extrema_SeqPCOfPCFOfEPCOfExtPC2d() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const Extrema_SeqPCOfPCFOfEPCOfExtPC2d& Assign (const Extrema_SeqPCOfPCFOfEPCOfExtPC2d& Other); -const Extrema_SeqPCOfPCFOfEPCOfExtPC2d& operator = (const Extrema_SeqPCOfPCFOfEPCOfExtPC2d& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const Extrema_POnCurv2d& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (Extrema_SeqPCOfPCFOfEPCOfExtPC2d& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const Extrema_POnCurv2d& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (Extrema_SeqPCOfPCFOfEPCOfExtPC2d& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const Extrema_POnCurv2d& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, Extrema_SeqPCOfPCFOfEPCOfExtPC2d& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Extrema_POnCurv2d& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, Extrema_SeqPCOfPCFOfEPCOfExtPC2d& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const Extrema_POnCurv2d& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const Extrema_POnCurv2d& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, Extrema_SeqPCOfPCFOfEPCOfExtPC2d& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const Extrema_POnCurv2d& Value (const Standard_Integer Index) const; -const Extrema_POnCurv2d& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const Extrema_POnCurv2d& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT Extrema_POnCurv2d& ChangeValue (const Standard_Integer Index); -Extrema_POnCurv2d& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfExtPC2d -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SeqPCOfPCFOfEPCOfExtPC2d_HeaderFile diff --git a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfExtPC2d_0.cxx b/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfExtPC2d_0.cxx deleted file mode 100644 index f715f093d4..0000000000 --- a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfExtPC2d_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfExtPC2d -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfExtPC_0.cxx b/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfExtPC_0.cxx deleted file mode 100644 index f06e9fcf13..0000000000 --- a/src/Extrema/Extrema_SeqPCOfPCFOfEPCOfExtPC_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfExtPC -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC.hxx b/src/Extrema/Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC.hxx deleted file mode 100644 index 347bae2ee4..0000000000 --- a/src/Extrema/Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC.hxx +++ /dev/null @@ -1,283 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC_HeaderFile -#define _Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC_HeaderFile - -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class Extrema_POnCurv; -class Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC; - - - -class Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC(const Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC& Assign (const Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC& Other); -const Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC& operator = (const Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const Extrema_POnCurv& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const Extrema_POnCurv& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const Extrema_POnCurv& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Extrema_POnCurv& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const Extrema_POnCurv& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const Extrema_POnCurv& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const Extrema_POnCurv& Value (const Standard_Integer Index) const; -const Extrema_POnCurv& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const Extrema_POnCurv& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT Extrema_POnCurv& ChangeValue (const Standard_Integer Index); -Extrema_POnCurv& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC) -#define TCollection_Sequence Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC_HeaderFile diff --git a/src/Extrema/Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d.hxx b/src/Extrema/Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d.hxx deleted file mode 100644 index 60d0d04103..0000000000 --- a/src/Extrema/Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d.hxx +++ /dev/null @@ -1,283 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d_HeaderFile -#define _Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d_HeaderFile - -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class Extrema_POnCurv2d; -class Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d; - - - -class Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d(const Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d& Assign (const Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d& Other); -const Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d& operator = (const Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const Extrema_POnCurv2d& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const Extrema_POnCurv2d& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const Extrema_POnCurv2d& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Extrema_POnCurv2d& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const Extrema_POnCurv2d& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const Extrema_POnCurv2d& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const Extrema_POnCurv2d& Value (const Standard_Integer Index) const; -const Extrema_POnCurv2d& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const Extrema_POnCurv2d& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT Extrema_POnCurv2d& ChangeValue (const Standard_Integer Index); -Extrema_POnCurv2d& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d) -#define TCollection_Sequence Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d_HeaderFile diff --git a/src/Extrema/Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d_0.cxx b/src/Extrema/Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d_0.cxx deleted file mode 100644 index 36dd5d01f5..0000000000 --- a/src/Extrema/Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d) -#define TCollection_Sequence Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC_0.cxx b/src/Extrema/Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC_0.cxx deleted file mode 100644 index 7342f218ab..0000000000 --- a/src/Extrema/Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC) -#define TCollection_Sequence Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SeqPOnCOfCCLocFOfLocECC.hxx b/src/Extrema/Extrema_SeqPOnCOfCCLocFOfLocECC.hxx deleted file mode 100644 index d117ea9c59..0000000000 --- a/src/Extrema/Extrema_SeqPOnCOfCCLocFOfLocECC.hxx +++ /dev/null @@ -1,283 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SeqPOnCOfCCLocFOfLocECC_HeaderFile -#define _Extrema_SeqPOnCOfCCLocFOfLocECC_HeaderFile - -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class Extrema_POnCurv; -class Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC; - - - -class Extrema_SeqPOnCOfCCLocFOfLocECC : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - Extrema_SeqPOnCOfCCLocFOfLocECC(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT Extrema_SeqPOnCOfCCLocFOfLocECC(const Extrema_SeqPOnCOfCCLocFOfLocECC& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~Extrema_SeqPOnCOfCCLocFOfLocECC() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const Extrema_SeqPOnCOfCCLocFOfLocECC& Assign (const Extrema_SeqPOnCOfCCLocFOfLocECC& Other); -const Extrema_SeqPOnCOfCCLocFOfLocECC& operator = (const Extrema_SeqPOnCOfCCLocFOfLocECC& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const Extrema_POnCurv& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (Extrema_SeqPOnCOfCCLocFOfLocECC& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const Extrema_POnCurv& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (Extrema_SeqPOnCOfCCLocFOfLocECC& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const Extrema_POnCurv& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, Extrema_SeqPOnCOfCCLocFOfLocECC& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Extrema_POnCurv& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, Extrema_SeqPOnCOfCCLocFOfLocECC& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const Extrema_POnCurv& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const Extrema_POnCurv& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, Extrema_SeqPOnCOfCCLocFOfLocECC& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const Extrema_POnCurv& Value (const Standard_Integer Index) const; -const Extrema_POnCurv& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const Extrema_POnCurv& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT Extrema_POnCurv& ChangeValue (const Standard_Integer Index); -Extrema_POnCurv& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC) -#define TCollection_Sequence Extrema_SeqPOnCOfCCLocFOfLocECC -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SeqPOnCOfCCLocFOfLocECC_HeaderFile diff --git a/src/Extrema/Extrema_SeqPOnCOfCCLocFOfLocECC2d.hxx b/src/Extrema/Extrema_SeqPOnCOfCCLocFOfLocECC2d.hxx deleted file mode 100644 index ace2231d15..0000000000 --- a/src/Extrema/Extrema_SeqPOnCOfCCLocFOfLocECC2d.hxx +++ /dev/null @@ -1,283 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SeqPOnCOfCCLocFOfLocECC2d_HeaderFile -#define _Extrema_SeqPOnCOfCCLocFOfLocECC2d_HeaderFile - -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class Extrema_POnCurv2d; -class Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d; - - - -class Extrema_SeqPOnCOfCCLocFOfLocECC2d : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - Extrema_SeqPOnCOfCCLocFOfLocECC2d(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT Extrema_SeqPOnCOfCCLocFOfLocECC2d(const Extrema_SeqPOnCOfCCLocFOfLocECC2d& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~Extrema_SeqPOnCOfCCLocFOfLocECC2d() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const Extrema_SeqPOnCOfCCLocFOfLocECC2d& Assign (const Extrema_SeqPOnCOfCCLocFOfLocECC2d& Other); -const Extrema_SeqPOnCOfCCLocFOfLocECC2d& operator = (const Extrema_SeqPOnCOfCCLocFOfLocECC2d& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const Extrema_POnCurv2d& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (Extrema_SeqPOnCOfCCLocFOfLocECC2d& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const Extrema_POnCurv2d& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (Extrema_SeqPOnCOfCCLocFOfLocECC2d& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const Extrema_POnCurv2d& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, Extrema_SeqPOnCOfCCLocFOfLocECC2d& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Extrema_POnCurv2d& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, Extrema_SeqPOnCOfCCLocFOfLocECC2d& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const Extrema_POnCurv2d& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const Extrema_POnCurv2d& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, Extrema_SeqPOnCOfCCLocFOfLocECC2d& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const Extrema_POnCurv2d& Value (const Standard_Integer Index) const; -const Extrema_POnCurv2d& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const Extrema_POnCurv2d& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT Extrema_POnCurv2d& ChangeValue (const Standard_Integer Index); -Extrema_POnCurv2d& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d) -#define TCollection_Sequence Extrema_SeqPOnCOfCCLocFOfLocECC2d -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SeqPOnCOfCCLocFOfLocECC2d_HeaderFile diff --git a/src/Extrema/Extrema_SeqPOnCOfCCLocFOfLocECC2d_0.cxx b/src/Extrema/Extrema_SeqPOnCOfCCLocFOfLocECC2d_0.cxx deleted file mode 100644 index 7ecb9bd0c2..0000000000 --- a/src/Extrema/Extrema_SeqPOnCOfCCLocFOfLocECC2d_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d) -#define TCollection_Sequence Extrema_SeqPOnCOfCCLocFOfLocECC2d -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SeqPOnCOfCCLocFOfLocECC_0.cxx b/src/Extrema/Extrema_SeqPOnCOfCCLocFOfLocECC_0.cxx deleted file mode 100644 index 011d5933a1..0000000000 --- a/src/Extrema/Extrema_SeqPOnCOfCCLocFOfLocECC_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC) -#define TCollection_Sequence Extrema_SeqPOnCOfCCLocFOfLocECC -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC.hxx b/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC.hxx deleted file mode 100644 index b326b36654..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC.hxx +++ /dev/null @@ -1,83 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC_HeaderFile -#define _Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC_HeaderFile - -#include -#include - -#include -#include -#include -class Extrema_POnCurv; -class Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC; - - -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC; -DEFINE_STANDARD_HANDLE(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC, TCollection_SeqNode) - - -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC : public TCollection_SeqNode -{ - -public: - - - Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC(const Extrema_POnCurv& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - Extrema_POnCurv& Value() const; - - - - - DEFINE_STANDARD_RTTI(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC,TCollection_SeqNode) - -protected: - - - - -private: - - - Extrema_POnCurv myValue; - - -}; - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC_HeaderFile diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d.hxx b/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d.hxx deleted file mode 100644 index ba484277c2..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d.hxx +++ /dev/null @@ -1,83 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d_HeaderFile -#define _Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d_HeaderFile - -#include -#include - -#include -#include -#include -class Extrema_POnCurv2d; -class Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d; - - -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d; -DEFINE_STANDARD_HANDLE(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d, TCollection_SeqNode) - - -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d : public TCollection_SeqNode -{ - -public: - - - Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d(const Extrema_POnCurv2d& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - Extrema_POnCurv2d& Value() const; - - - - - DEFINE_STANDARD_RTTI(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d,TCollection_SeqNode) - -protected: - - - - -private: - - - Extrema_POnCurv2d myValue; - - -}; - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d_HeaderFile diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d_0.cxx b/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d_0.cxx deleted file mode 100644 index 621c57b0c9..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC_0.cxx b/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC_0.cxx deleted file mode 100644 index 9d34b96043..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC.hxx b/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC.hxx deleted file mode 100644 index 135715aa6f..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC.hxx +++ /dev/null @@ -1,83 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC_HeaderFile -#define _Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC_HeaderFile - -#include -#include - -#include -#include -#include -class Extrema_POnCurv; -class Extrema_SeqPCOfPCFOfEPCOfExtPC; - - -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC; -DEFINE_STANDARD_HANDLE(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC, TCollection_SeqNode) - - -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC : public TCollection_SeqNode -{ - -public: - - - Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC(const Extrema_POnCurv& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - Extrema_POnCurv& Value() const; - - - - - DEFINE_STANDARD_RTTI(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC,TCollection_SeqNode) - -protected: - - - - -private: - - - Extrema_POnCurv myValue; - - -}; - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfExtPC -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC_HeaderFile diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d.hxx b/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d.hxx deleted file mode 100644 index a3b612b75d..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d.hxx +++ /dev/null @@ -1,83 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d_HeaderFile -#define _Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d_HeaderFile - -#include -#include - -#include -#include -#include -class Extrema_POnCurv2d; -class Extrema_SeqPCOfPCFOfEPCOfExtPC2d; - - -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d; -DEFINE_STANDARD_HANDLE(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d, TCollection_SeqNode) - - -class Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d : public TCollection_SeqNode -{ - -public: - - - Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d(const Extrema_POnCurv2d& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - Extrema_POnCurv2d& Value() const; - - - - - DEFINE_STANDARD_RTTI(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d,TCollection_SeqNode) - -protected: - - - - -private: - - - Extrema_POnCurv2d myValue; - - -}; - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfExtPC2d -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d_HeaderFile diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d_0.cxx b/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d_0.cxx deleted file mode 100644 index ce7b694d86..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfExtPC2d -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC_0.cxx b/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC_0.cxx deleted file mode 100644 index dd649929e6..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC) -#define TCollection_Sequence Extrema_SeqPCOfPCFOfEPCOfExtPC -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC.hxx b/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC.hxx deleted file mode 100644 index 239ba45369..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC.hxx +++ /dev/null @@ -1,83 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC_HeaderFile -#define _Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC_HeaderFile - -#include -#include - -#include -#include -#include -class Extrema_POnCurv; -class Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC; - - -class Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC; -DEFINE_STANDARD_HANDLE(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC, TCollection_SeqNode) - - -class Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC : public TCollection_SeqNode -{ - -public: - - - Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC(const Extrema_POnCurv& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - Extrema_POnCurv& Value() const; - - - - - DEFINE_STANDARD_RTTI(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC,TCollection_SeqNode) - -protected: - - - - -private: - - - Extrema_POnCurv myValue; - - -}; - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC) -#define TCollection_Sequence Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC_HeaderFile diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d.hxx b/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d.hxx deleted file mode 100644 index fa1b474cda..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d.hxx +++ /dev/null @@ -1,83 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d_HeaderFile -#define _Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d_HeaderFile - -#include -#include - -#include -#include -#include -class Extrema_POnCurv2d; -class Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d; - - -class Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d; -DEFINE_STANDARD_HANDLE(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d, TCollection_SeqNode) - - -class Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d : public TCollection_SeqNode -{ - -public: - - - Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d(const Extrema_POnCurv2d& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - Extrema_POnCurv2d& Value() const; - - - - - DEFINE_STANDARD_RTTI(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d,TCollection_SeqNode) - -protected: - - - - -private: - - - Extrema_POnCurv2d myValue; - - -}; - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d) -#define TCollection_Sequence Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d_HeaderFile diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d_0.cxx b/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d_0.cxx deleted file mode 100644 index a713621149..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d) -#define TCollection_Sequence Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC_0.cxx b/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC_0.cxx deleted file mode 100644 index f686e9b686..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC) -#define TCollection_Sequence Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC.hxx b/src/Extrema/Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC.hxx deleted file mode 100644 index e672931346..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC.hxx +++ /dev/null @@ -1,83 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC_HeaderFile -#define _Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC_HeaderFile - -#include -#include - -#include -#include -#include -class Extrema_POnCurv; -class Extrema_SeqPOnCOfCCLocFOfLocECC; - - -class Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC; -DEFINE_STANDARD_HANDLE(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC, TCollection_SeqNode) - - -class Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC : public TCollection_SeqNode -{ - -public: - - - Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC(const Extrema_POnCurv& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - Extrema_POnCurv& Value() const; - - - - - DEFINE_STANDARD_RTTI(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC,TCollection_SeqNode) - -protected: - - - - -private: - - - Extrema_POnCurv myValue; - - -}; - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC) -#define TCollection_Sequence Extrema_SeqPOnCOfCCLocFOfLocECC -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC_HeaderFile diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d.hxx b/src/Extrema/Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d.hxx deleted file mode 100644 index abb8b46466..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d.hxx +++ /dev/null @@ -1,83 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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 _Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d_HeaderFile -#define _Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d_HeaderFile - -#include -#include - -#include -#include -#include -class Extrema_POnCurv2d; -class Extrema_SeqPOnCOfCCLocFOfLocECC2d; - - -class Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d; -DEFINE_STANDARD_HANDLE(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d, TCollection_SeqNode) - - -class Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d : public TCollection_SeqNode -{ - -public: - - - Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d(const Extrema_POnCurv2d& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - Extrema_POnCurv2d& Value() const; - - - - - DEFINE_STANDARD_RTTI(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d,TCollection_SeqNode) - -protected: - - - - -private: - - - Extrema_POnCurv2d myValue; - - -}; - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d) -#define TCollection_Sequence Extrema_SeqPOnCOfCCLocFOfLocECC2d -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d_HeaderFile diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d_0.cxx b/src/Extrema/Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d_0.cxx deleted file mode 100644 index dfd45a6928..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d) -#define TCollection_Sequence Extrema_SeqPOnCOfCCLocFOfLocECC2d -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC_0.cxx b/src/Extrema/Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC_0.cxx deleted file mode 100644 index 29a674c1cd..0000000000 --- a/src/Extrema/Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1991-02-26 -// Created by: Isabelle GRIGNON -// Copyright (c) 1991-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem Extrema_POnCurv -#define SeqItem_hxx -#define TCollection_SequenceNode Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC) -#define TCollection_Sequence Extrema_SeqPOnCOfCCLocFOfLocECC -#define TCollection_Sequence_hxx -#include - diff --git a/src/Extrema/FILES b/src/Extrema/FILES index 7bfa7d3497..33f2e0b3b4 100644 --- a/src/Extrema/FILES +++ b/src/Extrema/FILES @@ -146,38 +146,6 @@ Extrema_POnSurf.lxx Extrema_POnSurfParams.cxx Extrema_POnSurfParams.hxx Extrema_POnSurfParams.lxx -Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC.hxx -Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d.hxx -Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d_0.cxx -Extrema_SeqPCOfPCFOfEPCOfELPCOfLocateExtPC_0.cxx -Extrema_SeqPCOfPCFOfEPCOfExtPC.hxx -Extrema_SeqPCOfPCFOfEPCOfExtPC2d.hxx -Extrema_SeqPCOfPCFOfEPCOfExtPC2d_0.cxx -Extrema_SeqPCOfPCFOfEPCOfExtPC_0.cxx -Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC.hxx -Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d.hxx -Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC2d_0.cxx -Extrema_SeqPCOfPCLocFOfLocEPCOfLocateExtPC_0.cxx -Extrema_SeqPOnCOfCCLocFOfLocECC.hxx -Extrema_SeqPOnCOfCCLocFOfLocECC2d.hxx -Extrema_SeqPOnCOfCCLocFOfLocECC2d_0.cxx -Extrema_SeqPOnCOfCCLocFOfLocECC_0.cxx -Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC.hxx -Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d.hxx -Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC2d_0.cxx -Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfELPCOfLocateExtPC_0.cxx -Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC.hxx -Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d.hxx -Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC2d_0.cxx -Extrema_SequenceNodeOfSeqPCOfPCFOfEPCOfExtPC_0.cxx -Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC.hxx -Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d.hxx -Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC2d_0.cxx -Extrema_SequenceNodeOfSeqPCOfPCLocFOfLocEPCOfLocateExtPC_0.cxx -Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC.hxx -Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d.hxx -Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC2d_0.cxx -Extrema_SequenceNodeOfSeqPOnCOfCCLocFOfLocECC_0.cxx Extrema_SequenceOfPOnCurv.hxx Extrema_SequenceOfPOnCurv2d.hxx Extrema_SequenceOfPOnSurf.hxx diff --git a/src/Geom2dInt/FILES b/src/Geom2dInt/FILES index 1d19fce1ac..a9fa7b14ff 100644 --- a/src/Geom2dInt/FILES +++ b/src/Geom2dInt/FILES @@ -11,10 +11,6 @@ Geom2dInt_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfGInter.hxx Geom2dInt_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfGInter_0.cxx Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_0.cxx -Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx -Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_0.cxx -Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx -Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_0.cxx Geom2dInt_TheCurveLocatorOfTheProjPCurOfGInter.hxx Geom2dInt_TheCurveLocatorOfTheProjPCurOfGInter_0.cxx Geom2dInt_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfGInter.hxx diff --git a/src/Geom2dInt/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx b/src/Geom2dInt/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx index c431350dda..3d1539fa67 100644 --- a/src/Geom2dInt/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx +++ b/src/Geom2dInt/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -37,10 +37,6 @@ class Geom2dInt_Geom2dCurveTool; class Extrema_POnCurv2d; class gp_Pnt2d; class gp_Vec2d; -class Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter; -class Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter; - - class Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter : public math_FunctionWithDerivative { @@ -110,7 +106,7 @@ private: Standard_Real myD1f; TColStd_SequenceOfReal mySqDist; TColStd_SequenceOfInteger myIsMin; - Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter myPoint; + Extrema_SequenceOfPOnCurv2d myPoint; Standard_Boolean myPinit; Standard_Boolean myCinit; Standard_Boolean myD1Init; diff --git a/src/Geom2dInt/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_0.cxx b/src/Geom2dInt/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_0.cxx index df6b2f3775..21b1ba26f7 100644 --- a/src/Geom2dInt/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_0.cxx +++ b/src/Geom2dInt/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_0.cxx @@ -23,9 +23,7 @@ #include #include #include -#include -#include - +#include #define Curve Adaptor2d_Curve2d #define Curve_hxx @@ -37,14 +35,8 @@ #define Pnt_hxx #define Vec gp_Vec2d #define Vec_hxx -#define Extrema_SeqPC Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter -#define Extrema_SeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter) -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter) +#define Extrema_SeqPC Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPC_hxx #define Extrema_FuncExtPC Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter #define Extrema_FuncExtPC_hxx #include diff --git a/src/Geom2dInt/Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx b/src/Geom2dInt/Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx deleted file mode 100644 index 00024b8417..0000000000 --- a/src/Geom2dInt/Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx +++ /dev/null @@ -1,283 +0,0 @@ -// Created on: 1992-06-04 -// Created by: Jacques GOUSSARD -// Copyright (c) 1992-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 _Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_HeaderFile -#define _Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_HeaderFile - -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class Extrema_POnCurv2d; -class Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter; - - - -class Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter(const Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter& Assign (const Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter& Other); -const Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter& operator = (const Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const Extrema_POnCurv2d& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const Extrema_POnCurv2d& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const Extrema_POnCurv2d& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Extrema_POnCurv2d& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const Extrema_POnCurv2d& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const Extrema_POnCurv2d& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const Extrema_POnCurv2d& Value (const Standard_Integer Index) const; -const Extrema_POnCurv2d& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const Extrema_POnCurv2d& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT Extrema_POnCurv2d& ChangeValue (const Standard_Integer Index); -Extrema_POnCurv2d& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter) -#define TCollection_Sequence Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_HeaderFile diff --git a/src/Geom2dInt/Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_0.cxx b/src/Geom2dInt/Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_0.cxx deleted file mode 100644 index 945ed11bf8..0000000000 --- a/src/Geom2dInt/Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1992-06-04 -// Created by: Jacques GOUSSARD -// Copyright (c) 1992-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter) -#define TCollection_Sequence Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter -#define TCollection_Sequence_hxx -#include - diff --git a/src/Geom2dInt/Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx b/src/Geom2dInt/Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx deleted file mode 100644 index 2e66a28813..0000000000 --- a/src/Geom2dInt/Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx +++ /dev/null @@ -1,83 +0,0 @@ -// Created on: 1992-06-04 -// Created by: Jacques GOUSSARD -// Copyright (c) 1992-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 _Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_HeaderFile -#define _Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_HeaderFile - -#include -#include - -#include -#include -#include -class Extrema_POnCurv2d; -class Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter; - - -class Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter; -DEFINE_STANDARD_HANDLE(Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter, TCollection_SeqNode) - - -class Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter : public TCollection_SeqNode -{ - -public: - - - Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter(const Extrema_POnCurv2d& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - Extrema_POnCurv2d& Value() const; - - - - - DEFINE_STANDARD_RTTI(Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter,TCollection_SeqNode) - -protected: - - - - -private: - - - Extrema_POnCurv2d myValue; - - -}; - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter) -#define TCollection_Sequence Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_HeaderFile diff --git a/src/Geom2dInt/Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_0.cxx b/src/Geom2dInt/Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_0.cxx deleted file mode 100644 index 59f35e188e..0000000000 --- a/src/Geom2dInt/Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1992-06-04 -// Created by: Jacques GOUSSARD -// Copyright (c) 1992-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(Geom2dInt_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter) -#define TCollection_Sequence Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter -#define TCollection_Sequence_hxx -#include - diff --git a/src/Geom2dInt/Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter.hxx b/src/Geom2dInt/Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter.hxx index 29fe3eedfb..8bb0e9fae1 100644 --- a/src/Geom2dInt/Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter.hxx +++ b/src/Geom2dInt/Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter.hxx @@ -32,10 +32,6 @@ class Geom2dInt_Geom2dCurveTool; class Extrema_POnCurv2d; class gp_Pnt2d; class gp_Vec2d; -class Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter; -class Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter; - - class Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter { diff --git a/src/Geom2dInt/Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter_0.cxx b/src/Geom2dInt/Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter_0.cxx index d9fd91b3d9..3a593f0908 100644 --- a/src/Geom2dInt/Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter_0.cxx +++ b/src/Geom2dInt/Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter_0.cxx @@ -25,7 +25,7 @@ #include #include #include -#include +#include #define Curve Adaptor2d_Curve2d @@ -40,10 +40,10 @@ #define Vec_hxx #define Extrema_PCLocF Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter #define Extrema_PCLocF_hxx -#define Extrema_SeqPCOfPCLocF Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter -#define Extrema_SeqPCOfPCLocF_hxx -#define Extrema_SeqPCOfPCLocF Geom2dInt_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfGInter -#define Extrema_SeqPCOfPCLocF_hxx +#define Extrema_SeqPCOfPCLocF Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPCOfPCLocF_hxx +#define Extrema_SeqPCOfPCLocF Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPCOfPCLocF_hxx #define Extrema_GenLocateExtPC Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter #define Extrema_GenLocateExtPC_hxx #include diff --git a/src/HLRBRep/FILES b/src/HLRBRep/FILES index 1c28221ce4..422c9c1a0c 100644 --- a/src/HLRBRep/FILES +++ b/src/HLRBRep/FILES @@ -85,10 +85,6 @@ HLRBRep_PolyHLRToShape.cxx HLRBRep_PolyHLRToShape.hxx HLRBRep_PolyHLRToShape.lxx HLRBRep_SeqOfShapeBounds.hxx -HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx -HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_0.cxx -HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx -HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_0.cxx HLRBRep_ShapeBounds.cxx HLRBRep_ShapeBounds.hxx HLRBRep_ShapeBounds.lxx diff --git a/src/HLRBRep/HLRBRep.hxx b/src/HLRBRep/HLRBRep.hxx index 27a41ffbdb..9bf5860c4a 100644 --- a/src/HLRBRep/HLRBRep.hxx +++ b/src/HLRBRep/HLRBRep.hxx @@ -59,8 +59,6 @@ class HLRBRep_BiPoint; class HLRBRep_BiPnt2D; class HLRBRep_PolyHLRToShape; class HLRBRep_TheCurveLocatorOfTheProjPCurOfCInter; -class HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter; -class HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter; class HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter; class HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter; class HLRBRep_TheProjPCurOfCInter; @@ -150,8 +148,6 @@ friend class HLRBRep_BiPoint; friend class HLRBRep_BiPnt2D; friend class HLRBRep_PolyHLRToShape; friend class HLRBRep_TheCurveLocatorOfTheProjPCurOfCInter; -friend class HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter; -friend class HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter; friend class HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter; friend class HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter; friend class HLRBRep_TheProjPCurOfCInter; diff --git a/src/HLRBRep/HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx b/src/HLRBRep/HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx index 261ae03b77..8a698979a5 100644 --- a/src/HLRBRep/HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx +++ b/src/HLRBRep/HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -36,10 +36,6 @@ class HLRBRep_CurveTool; class Extrema_POnCurv2d; class gp_Pnt2d; class gp_Vec2d; -class HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter; -class HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter; - - class HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter : public math_FunctionWithDerivative { @@ -109,7 +105,7 @@ private: Standard_Real myD1f; TColStd_SequenceOfReal mySqDist; TColStd_SequenceOfInteger myIsMin; - HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter myPoint; + Extrema_SequenceOfPOnCurv2d myPoint; Standard_Boolean myPinit; Standard_Boolean myCinit; Standard_Boolean myD1Init; diff --git a/src/HLRBRep/HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_0.cxx b/src/HLRBRep/HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_0.cxx index baaeee64ed..833873ec6e 100644 --- a/src/HLRBRep/HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_0.cxx +++ b/src/HLRBRep/HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_0.cxx @@ -22,9 +22,7 @@ #include #include #include -#include -#include - +#include #define Curve Standard_Address #define Curve_hxx @@ -36,14 +34,8 @@ #define Pnt_hxx #define Vec gp_Vec2d #define Vec_hxx -#define Extrema_SeqPC HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter -#define Extrema_SeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Extrema_SequenceNodeOfSeqPC HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter -#define Extrema_SequenceNodeOfSeqPC_hxx -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter) -#define Handle_Extrema_SequenceNodeOfSeqPC Handle(HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter) +#define Extrema_SeqPC Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPC_hxx #define Extrema_FuncExtPC HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter #define Extrema_FuncExtPC_hxx #include diff --git a/src/HLRBRep/HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx b/src/HLRBRep/HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx deleted file mode 100644 index dc36b5da21..0000000000 --- a/src/HLRBRep/HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx +++ /dev/null @@ -1,283 +0,0 @@ -// Created on: 1992-10-14 -// Created by: Christophe MARION -// Copyright (c) 1992-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 _HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_HeaderFile -#define _HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_HeaderFile - -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class Extrema_POnCurv2d; -class HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter; - - - -class HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter(const HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter& Assign (const HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter& Other); -const HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter& operator = (const HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const Extrema_POnCurv2d& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const Extrema_POnCurv2d& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const Extrema_POnCurv2d& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Extrema_POnCurv2d& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const Extrema_POnCurv2d& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const Extrema_POnCurv2d& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const Extrema_POnCurv2d& Value (const Standard_Integer Index) const; -const Extrema_POnCurv2d& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const Extrema_POnCurv2d& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT Extrema_POnCurv2d& ChangeValue (const Standard_Integer Index); -Extrema_POnCurv2d& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter) -#define TCollection_Sequence HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_HeaderFile diff --git a/src/HLRBRep/HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_0.cxx b/src/HLRBRep/HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_0.cxx deleted file mode 100644 index 8f1c3a632e..0000000000 --- a/src/HLRBRep/HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1992-10-14 -// Created by: Christophe MARION -// Copyright (c) 1992-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter) -#define TCollection_Sequence HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter -#define TCollection_Sequence_hxx -#include - diff --git a/src/HLRBRep/HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx b/src/HLRBRep/HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx deleted file mode 100644 index 27e6affcd7..0000000000 --- a/src/HLRBRep/HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter.hxx +++ /dev/null @@ -1,83 +0,0 @@ -// Created on: 1992-10-14 -// Created by: Christophe MARION -// Copyright (c) 1992-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 _HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_HeaderFile -#define _HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_HeaderFile - -#include -#include - -#include -#include -#include -class Extrema_POnCurv2d; -class HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter; - - -class HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter; -DEFINE_STANDARD_HANDLE(HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter, TCollection_SeqNode) - - -class HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter : public TCollection_SeqNode -{ - -public: - - - HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter(const Extrema_POnCurv2d& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - Extrema_POnCurv2d& Value() const; - - - - - DEFINE_STANDARD_RTTI(HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter,TCollection_SeqNode) - -protected: - - - - -private: - - - Extrema_POnCurv2d myValue; - - -}; - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter) -#define TCollection_Sequence HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_HeaderFile diff --git a/src/HLRBRep/HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_0.cxx b/src/HLRBRep/HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_0.cxx deleted file mode 100644 index 824e88065a..0000000000 --- a/src/HLRBRep/HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1992-10-14 -// Created by: Christophe MARION -// Copyright (c) 1992-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem Extrema_POnCurv2d -#define SeqItem_hxx -#define TCollection_SequenceNode HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter) -#define TCollection_Sequence HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter -#define TCollection_Sequence_hxx -#include - diff --git a/src/HLRBRep/HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter.hxx b/src/HLRBRep/HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter.hxx index 1128e73ec9..74fea28759 100644 --- a/src/HLRBRep/HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter.hxx +++ b/src/HLRBRep/HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter.hxx @@ -33,9 +33,6 @@ class Extrema_POnCurv2d; class gp_Pnt2d; class gp_Vec2d; class HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter; -class HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter; - - class HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter { diff --git a/src/HLRBRep/HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter_0.cxx b/src/HLRBRep/HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter_0.cxx index 515eb522c7..9d806e3181 100644 --- a/src/HLRBRep/HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter_0.cxx +++ b/src/HLRBRep/HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter_0.cxx @@ -24,7 +24,7 @@ #include #include #include -#include +#include #define Curve Standard_Address @@ -39,10 +39,10 @@ #define Vec_hxx #define Extrema_PCLocF HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter #define Extrema_PCLocF_hxx -#define Extrema_SeqPCOfPCLocF HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter -#define Extrema_SeqPCOfPCLocF_hxx -#define Extrema_SeqPCOfPCLocF HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter -#define Extrema_SeqPCOfPCLocF_hxx +#define Extrema_SeqPCOfPCLocF Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPCOfPCLocF_hxx +#define Extrema_SeqPCOfPCLocF Extrema_SequenceOfPOnCurv2d +#define Extrema_SeqPCOfPCLocF_hxx #define Extrema_GenLocateExtPC HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter #define Extrema_GenLocateExtPC_hxx #include diff --git a/src/IntPatch/FILES b/src/IntPatch/FILES index 59d8648b36..4f4ccc9753 100755 --- a/src/IntPatch/FILES +++ b/src/IntPatch/FILES @@ -72,20 +72,11 @@ IntPatch_RLine.lxx IntPatch_RstInt.cxx IntPatch_RstInt.hxx IntPatch_SearchPnt.hxx -IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking.hxx -IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking_0.cxx -IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds.hxx -IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds_0.cxx -IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds.hxx -IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds_0.cxx IntPatch_SequenceOfIWLineOfTheIWalking.hxx -IntPatch_SequenceOfIWLineOfTheIWalking_0.cxx IntPatch_SequenceOfLine.hxx IntPatch_SequenceOfPathPointOfTheSOnBounds.hxx -IntPatch_SequenceOfPathPointOfTheSOnBounds_0.cxx IntPatch_SequenceOfPoint.hxx IntPatch_SequenceOfSegmentOfTheSOnBounds.hxx -IntPatch_SequenceOfSegmentOfTheSOnBounds_0.cxx IntPatch_TheIWalking.hxx IntPatch_TheIWalking_0.cxx IntPatch_TheIWLineOfTheIWalking.hxx diff --git a/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking.hxx b/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking.hxx deleted file mode 100644 index e85be32a5e..0000000000 --- a/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking.hxx +++ /dev/null @@ -1,82 +0,0 @@ -// Created on: 1992-05-06 -// Created by: Jacques GOUSSARD -// Copyright (c) 1992-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 _IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking_HeaderFile -#define _IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking_HeaderFile - -#include -#include - -#include -#include -class IntPatch_TheIWLineOfTheIWalking; -class IntPatch_SequenceOfIWLineOfTheIWalking; - - -class IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking; -DEFINE_STANDARD_HANDLE(IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking, TCollection_SeqNode) - - -class IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking : public TCollection_SeqNode -{ - -public: - - - IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking(const Handle(IntPatch_TheIWLineOfTheIWalking)& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - Handle(IntPatch_TheIWLineOfTheIWalking)& Value() const; - - - - - DEFINE_STANDARD_RTTI(IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking,TCollection_SeqNode) - -protected: - - - - -private: - - - Handle(IntPatch_TheIWLineOfTheIWalking) myValue; - - -}; - -#define SeqItem Handle(IntPatch_TheIWLineOfTheIWalking) -#define SeqItem_hxx -#define TCollection_SequenceNode IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking) -#define TCollection_Sequence IntPatch_SequenceOfIWLineOfTheIWalking -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking_HeaderFile diff --git a/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking_0.cxx b/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking_0.cxx deleted file mode 100644 index 9ffeac2f39..0000000000 --- a/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1992-05-06 -// Created by: Jacques GOUSSARD -// Copyright (c) 1992-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem Handle(IntPatch_TheIWLineOfTheIWalking) -#define SeqItem_hxx -#define TCollection_SequenceNode IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking) -#define TCollection_Sequence IntPatch_SequenceOfIWLineOfTheIWalking -#define TCollection_Sequence_hxx -#include - diff --git a/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds.hxx b/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds.hxx deleted file mode 100644 index c9a2914b28..0000000000 --- a/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds.hxx +++ /dev/null @@ -1,83 +0,0 @@ -// Created on: 1992-05-06 -// Created by: Jacques GOUSSARD -// Copyright (c) 1992-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 _IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds_HeaderFile -#define _IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds_HeaderFile - -#include -#include - -#include -#include -#include -class IntPatch_ThePathPointOfTheSOnBounds; -class IntPatch_SequenceOfPathPointOfTheSOnBounds; - - -class IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds; -DEFINE_STANDARD_HANDLE(IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds, TCollection_SeqNode) - - -class IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds : public TCollection_SeqNode -{ - -public: - - - IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds(const IntPatch_ThePathPointOfTheSOnBounds& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - IntPatch_ThePathPointOfTheSOnBounds& Value() const; - - - - - DEFINE_STANDARD_RTTI(IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds,TCollection_SeqNode) - -protected: - - - - -private: - - - IntPatch_ThePathPointOfTheSOnBounds myValue; - - -}; - -#define SeqItem IntPatch_ThePathPointOfTheSOnBounds -#define SeqItem_hxx -#define TCollection_SequenceNode IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds) -#define TCollection_Sequence IntPatch_SequenceOfPathPointOfTheSOnBounds -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds_HeaderFile diff --git a/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds_0.cxx b/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds_0.cxx deleted file mode 100644 index 2ac4462bdc..0000000000 --- a/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1992-05-06 -// Created by: Jacques GOUSSARD -// Copyright (c) 1992-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem IntPatch_ThePathPointOfTheSOnBounds -#define SeqItem_hxx -#define TCollection_SequenceNode IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds) -#define TCollection_Sequence IntPatch_SequenceOfPathPointOfTheSOnBounds -#define TCollection_Sequence_hxx -#include - diff --git a/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds.hxx b/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds.hxx deleted file mode 100644 index 122f93c6ea..0000000000 --- a/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds.hxx +++ /dev/null @@ -1,83 +0,0 @@ -// Created on: 1992-05-06 -// Created by: Jacques GOUSSARD -// Copyright (c) 1992-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 _IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds_HeaderFile -#define _IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds_HeaderFile - -#include -#include - -#include -#include -#include -class IntPatch_TheSegmentOfTheSOnBounds; -class IntPatch_SequenceOfSegmentOfTheSOnBounds; - - -class IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds; -DEFINE_STANDARD_HANDLE(IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds, TCollection_SeqNode) - - -class IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds : public TCollection_SeqNode -{ - -public: - - - IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds(const IntPatch_TheSegmentOfTheSOnBounds& I, const TCollection_SeqNodePtr& n, const TCollection_SeqNodePtr& p); - - IntPatch_TheSegmentOfTheSOnBounds& Value() const; - - - - - DEFINE_STANDARD_RTTI(IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds,TCollection_SeqNode) - -protected: - - - - -private: - - - IntPatch_TheSegmentOfTheSOnBounds myValue; - - -}; - -#define SeqItem IntPatch_TheSegmentOfTheSOnBounds -#define SeqItem_hxx -#define TCollection_SequenceNode IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds) -#define TCollection_Sequence IntPatch_SequenceOfSegmentOfTheSOnBounds -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - - - -#endif // _IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds_HeaderFile diff --git a/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds_0.cxx b/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds_0.cxx deleted file mode 100644 index 66b0f3dd30..0000000000 --- a/src/IntPatch/IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds_0.cxx +++ /dev/null @@ -1,41 +0,0 @@ -// Created on: 1992-05-06 -// Created by: Jacques GOUSSARD -// Copyright (c) 1992-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. - -#include - -#include - -#include -#include - - - - - - - - - - -#define SeqItem IntPatch_TheSegmentOfTheSOnBounds -#define SeqItem_hxx -#define TCollection_SequenceNode IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds) -#define TCollection_Sequence IntPatch_SequenceOfSegmentOfTheSOnBounds -#define TCollection_Sequence_hxx -#include - diff --git a/src/IntPatch/IntPatch_SequenceOfIWLineOfTheIWalking.hxx b/src/IntPatch/IntPatch_SequenceOfIWLineOfTheIWalking.hxx index a769feddd6..4c9a8b6bc6 100644 --- a/src/IntPatch/IntPatch_SequenceOfIWLineOfTheIWalking.hxx +++ b/src/IntPatch/IntPatch_SequenceOfIWLineOfTheIWalking.hxx @@ -17,267 +17,9 @@ #ifndef _IntPatch_SequenceOfIWLineOfTheIWalking_HeaderFile #define _IntPatch_SequenceOfIWLineOfTheIWalking_HeaderFile -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class IntPatch_TheIWLineOfTheIWalking; -class IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking; - - - -class IntPatch_SequenceOfIWLineOfTheIWalking : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - IntPatch_SequenceOfIWLineOfTheIWalking(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT IntPatch_SequenceOfIWLineOfTheIWalking(const IntPatch_SequenceOfIWLineOfTheIWalking& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~IntPatch_SequenceOfIWLineOfTheIWalking() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const IntPatch_SequenceOfIWLineOfTheIWalking& Assign (const IntPatch_SequenceOfIWLineOfTheIWalking& Other); -const IntPatch_SequenceOfIWLineOfTheIWalking& operator = (const IntPatch_SequenceOfIWLineOfTheIWalking& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const Handle(IntPatch_TheIWLineOfTheIWalking)& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (IntPatch_SequenceOfIWLineOfTheIWalking& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const Handle(IntPatch_TheIWLineOfTheIWalking)& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (IntPatch_SequenceOfIWLineOfTheIWalking& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const Handle(IntPatch_TheIWLineOfTheIWalking)& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, IntPatch_SequenceOfIWLineOfTheIWalking& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const Handle(IntPatch_TheIWLineOfTheIWalking)& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, IntPatch_SequenceOfIWLineOfTheIWalking& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const Handle(IntPatch_TheIWLineOfTheIWalking)& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const Handle(IntPatch_TheIWLineOfTheIWalking)& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, IntPatch_SequenceOfIWLineOfTheIWalking& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const Handle(IntPatch_TheIWLineOfTheIWalking)& Value (const Standard_Integer Index) const; -const Handle(IntPatch_TheIWLineOfTheIWalking)& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(IntPatch_TheIWLineOfTheIWalking)& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT Handle(IntPatch_TheIWLineOfTheIWalking)& ChangeValue (const Standard_Integer Index); -Handle(IntPatch_TheIWLineOfTheIWalking)& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem Handle(IntPatch_TheIWLineOfTheIWalking) -#define SeqItem_hxx -#define TCollection_SequenceNode IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking) -#define TCollection_Sequence IntPatch_SequenceOfIWLineOfTheIWalking -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - +#include +#include +typedef NCollection_Sequence IntPatch_SequenceOfIWLineOfTheIWalking; #endif // _IntPatch_SequenceOfIWLineOfTheIWalking_HeaderFile diff --git a/src/IntPatch/IntPatch_SequenceOfIWLineOfTheIWalking_0.cxx b/src/IntPatch/IntPatch_SequenceOfIWLineOfTheIWalking_0.cxx deleted file mode 100644 index 66b09b5836..0000000000 --- a/src/IntPatch/IntPatch_SequenceOfIWLineOfTheIWalking_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1992-05-06 -// Created by: Jacques GOUSSARD -// Copyright (c) 1992-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem Handle(IntPatch_TheIWLineOfTheIWalking) -#define SeqItem_hxx -#define TCollection_SequenceNode IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking) -#define TCollection_Sequence IntPatch_SequenceOfIWLineOfTheIWalking -#define TCollection_Sequence_hxx -#include - diff --git a/src/IntPatch/IntPatch_SequenceOfPathPointOfTheSOnBounds.hxx b/src/IntPatch/IntPatch_SequenceOfPathPointOfTheSOnBounds.hxx index 2e72da36b4..40299709a0 100644 --- a/src/IntPatch/IntPatch_SequenceOfPathPointOfTheSOnBounds.hxx +++ b/src/IntPatch/IntPatch_SequenceOfPathPointOfTheSOnBounds.hxx @@ -17,267 +17,9 @@ #ifndef _IntPatch_SequenceOfPathPointOfTheSOnBounds_HeaderFile #define _IntPatch_SequenceOfPathPointOfTheSOnBounds_HeaderFile -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class IntPatch_ThePathPointOfTheSOnBounds; -class IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds; - - - -class IntPatch_SequenceOfPathPointOfTheSOnBounds : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - IntPatch_SequenceOfPathPointOfTheSOnBounds(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT IntPatch_SequenceOfPathPointOfTheSOnBounds(const IntPatch_SequenceOfPathPointOfTheSOnBounds& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~IntPatch_SequenceOfPathPointOfTheSOnBounds() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const IntPatch_SequenceOfPathPointOfTheSOnBounds& Assign (const IntPatch_SequenceOfPathPointOfTheSOnBounds& Other); -const IntPatch_SequenceOfPathPointOfTheSOnBounds& operator = (const IntPatch_SequenceOfPathPointOfTheSOnBounds& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const IntPatch_ThePathPointOfTheSOnBounds& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (IntPatch_SequenceOfPathPointOfTheSOnBounds& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const IntPatch_ThePathPointOfTheSOnBounds& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (IntPatch_SequenceOfPathPointOfTheSOnBounds& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const IntPatch_ThePathPointOfTheSOnBounds& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, IntPatch_SequenceOfPathPointOfTheSOnBounds& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const IntPatch_ThePathPointOfTheSOnBounds& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, IntPatch_SequenceOfPathPointOfTheSOnBounds& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const IntPatch_ThePathPointOfTheSOnBounds& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const IntPatch_ThePathPointOfTheSOnBounds& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, IntPatch_SequenceOfPathPointOfTheSOnBounds& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const IntPatch_ThePathPointOfTheSOnBounds& Value (const Standard_Integer Index) const; -const IntPatch_ThePathPointOfTheSOnBounds& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const IntPatch_ThePathPointOfTheSOnBounds& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT IntPatch_ThePathPointOfTheSOnBounds& ChangeValue (const Standard_Integer Index); -IntPatch_ThePathPointOfTheSOnBounds& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem IntPatch_ThePathPointOfTheSOnBounds -#define SeqItem_hxx -#define TCollection_SequenceNode IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds) -#define TCollection_Sequence IntPatch_SequenceOfPathPointOfTheSOnBounds -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - +#include +#include +typedef NCollection_Sequence IntPatch_SequenceOfPathPointOfTheSOnBounds; #endif // _IntPatch_SequenceOfPathPointOfTheSOnBounds_HeaderFile diff --git a/src/IntPatch/IntPatch_SequenceOfPathPointOfTheSOnBounds_0.cxx b/src/IntPatch/IntPatch_SequenceOfPathPointOfTheSOnBounds_0.cxx deleted file mode 100644 index 161779c044..0000000000 --- a/src/IntPatch/IntPatch_SequenceOfPathPointOfTheSOnBounds_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1992-05-06 -// Created by: Jacques GOUSSARD -// Copyright (c) 1992-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem IntPatch_ThePathPointOfTheSOnBounds -#define SeqItem_hxx -#define TCollection_SequenceNode IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds) -#define TCollection_Sequence IntPatch_SequenceOfPathPointOfTheSOnBounds -#define TCollection_Sequence_hxx -#include - diff --git a/src/IntPatch/IntPatch_SequenceOfSegmentOfTheSOnBounds.hxx b/src/IntPatch/IntPatch_SequenceOfSegmentOfTheSOnBounds.hxx index e12e5923e1..c815a51ad2 100644 --- a/src/IntPatch/IntPatch_SequenceOfSegmentOfTheSOnBounds.hxx +++ b/src/IntPatch/IntPatch_SequenceOfSegmentOfTheSOnBounds.hxx @@ -17,267 +17,9 @@ #ifndef _IntPatch_SequenceOfSegmentOfTheSOnBounds_HeaderFile #define _IntPatch_SequenceOfSegmentOfTheSOnBounds_HeaderFile -#include -#include -#include - -#include -#include -class Standard_NoSuchObject; -class Standard_OutOfRange; -class IntPatch_TheSegmentOfTheSOnBounds; -class IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds; - - - -class IntPatch_SequenceOfSegmentOfTheSOnBounds : public TCollection_BaseSequence -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an empty sequence. - //! Use: - //! - the function Append or Prepend to add an item or - //! a collection of items at the end, or at the beginning of the sequence, - //! - the function InsertAfter or InsertBefore to add an - //! item or a collection of items at any position in the sequence, - //! - operator() or the function SetValue to assign a - //! new value to an item of the sequence, - //! - operator() to read an item of the sequence, - //! - the function Remove to remove an item at any - //! position in the sequence. - //! Warning - //! To copy a sequence, you must explicitly call the - //! assignment operator (operator=). - IntPatch_SequenceOfSegmentOfTheSOnBounds(); - - //! Creation by copy of existing Sequence. - Standard_EXPORT IntPatch_SequenceOfSegmentOfTheSOnBounds(const IntPatch_SequenceOfSegmentOfTheSOnBounds& Other); - - //! Removes all element(s) of the sequence - //! Example: - //! before - //! me = (A B C) - //! after - //! me = () - Standard_EXPORT void Clear(); -~IntPatch_SequenceOfSegmentOfTheSOnBounds() -{ - Clear(); -} - - //! Copies the contents of the sequence Other into this sequence. - //! If this sequence is not empty, it is automatically cleared before the copy. - Standard_EXPORT const IntPatch_SequenceOfSegmentOfTheSOnBounds& Assign (const IntPatch_SequenceOfSegmentOfTheSOnBounds& Other); -const IntPatch_SequenceOfSegmentOfTheSOnBounds& operator = (const IntPatch_SequenceOfSegmentOfTheSOnBounds& Other) -{ - return Assign(Other); -} - - //! Appends at the end of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C T) - Standard_EXPORT void Append (const IntPatch_TheSegmentOfTheSOnBounds& T); - - //! Concatenates at the end of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) - //! S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void Append (IntPatch_SequenceOfSegmentOfTheSOnBounds& S); - - //! Add at the beginning of . - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (T A B C ) - Standard_EXPORT void Prepend (const IntPatch_TheSegmentOfTheSOnBounds& T); - - //! Concatenates at the beginning of . - //! is cleared. - //! Example: - //! before - //! me = (A B C) S = (D E F) - //! after me = (D E F A B C) - //! S = () - void Prepend (IntPatch_SequenceOfSegmentOfTheSOnBounds& S); - - //! Inserts in before the position . - //! Raises an exception if the index is out of bounds. - //! Example: - //! before - //! me = (A B D), Index = 3, T = C - //! after - //! me = (A B C D ) - void InsertBefore (const Standard_Integer Index, const IntPatch_TheSegmentOfTheSOnBounds& T); - - //! Inserts the sequence in before - //! the position . is cleared. - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B F), Index = 3, S = (C D E) - //! after - //! me = (A B C D E F) - //! S = () - void InsertBefore (const Standard_Integer Index, IntPatch_SequenceOfSegmentOfTheSOnBounds& S); - - //! Inserts in after the position . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 3, T = D - //! after - //! me = (A B C D) - Standard_EXPORT void InsertAfter (const Standard_Integer Index, const IntPatch_TheSegmentOfTheSOnBounds& T); - - //! Inserts the sequence in after the - //! position . is cleared. - //! Raises an exception if the index is out of bound. - //! Example: - //! before - //! me = (A B C), Index = 3, S = (D E F) - //! after - //! me = (A B C D E F) - //! S = () - void InsertAfter (const Standard_Integer Index, IntPatch_SequenceOfSegmentOfTheSOnBounds& S); - - //! Returns the first element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns A - Standard_EXPORT const IntPatch_TheSegmentOfTheSOnBounds& First() const; - - //! Returns the last element of the sequence - //! Raises an exception if the sequence is empty. - //! Example: - //! before - //! me = (A B C) - //! after - //! me = (A B C) - //! returns C - Standard_EXPORT const IntPatch_TheSegmentOfTheSOnBounds& Last() const; - - //! Keeps in the items 1 to -1 and - //! puts in the items to the end. - //! Example: - //! before - //! me = (A B C D) ,Index = 3 - //! after - //! me = (A B) - //! Sub = (C D) - void Split (const Standard_Integer Index, IntPatch_SequenceOfSegmentOfTheSOnBounds& Sub); - - //! Returns the Item at position in . - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT const IntPatch_TheSegmentOfTheSOnBounds& Value (const Standard_Integer Index) const; -const IntPatch_TheSegmentOfTheSOnBounds& operator() (const Standard_Integer Index) const -{ - return Value(Index); -} - - //! Changes the item at position - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1, Item = D - //! after - //! me = (D B C) - Standard_EXPORT void SetValue (const Standard_Integer Index, const IntPatch_TheSegmentOfTheSOnBounds& I); - - //! Returns the Item at position in - //! . This method may be used to modify - //! : S.Value(Index) = Item. - //! Raises an exception if the index is out of bound - //! Example: - //! before - //! me = (A B C), Index = 1 - //! after - //! me = (A B C) - //! returns - //! A - Standard_EXPORT IntPatch_TheSegmentOfTheSOnBounds& ChangeValue (const Standard_Integer Index); -IntPatch_TheSegmentOfTheSOnBounds& operator() (const Standard_Integer Index) -{ - return ChangeValue(Index); -} - - //! Removes from the item at position . - //! Raises an exception if the index is out of bounds - //! Example: - //! before - //! me = (A B C), Index = 3 - //! after - //! me = (A B) - Standard_EXPORT void Remove (const Standard_Integer Index); - - //! Removes from all the items of - //! positions between and . - //! Raises an exception if the indices are out of bounds. - //! Example: - //! before - //! me = (A B C D E F), FromIndex = 1 ToIndex = 3 - //! after - //! me = (D E F) - Standard_EXPORT void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex); - - - - -protected: - - - - - -private: - - - - - -}; - -#define SeqItem IntPatch_TheSegmentOfTheSOnBounds -#define SeqItem_hxx -#define TCollection_SequenceNode IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds) -#define TCollection_Sequence IntPatch_SequenceOfSegmentOfTheSOnBounds -#define TCollection_Sequence_hxx - -#include - -#undef SeqItem -#undef SeqItem_hxx -#undef TCollection_SequenceNode -#undef TCollection_SequenceNode_hxx -#undef Handle_TCollection_SequenceNode -#undef TCollection_Sequence -#undef TCollection_Sequence_hxx - - +#include +#include +typedef NCollection_Sequence IntPatch_SequenceOfSegmentOfTheSOnBounds; #endif // _IntPatch_SequenceOfSegmentOfTheSOnBounds_HeaderFile diff --git a/src/IntPatch/IntPatch_SequenceOfSegmentOfTheSOnBounds_0.cxx b/src/IntPatch/IntPatch_SequenceOfSegmentOfTheSOnBounds_0.cxx deleted file mode 100644 index 6c3120b806..0000000000 --- a/src/IntPatch/IntPatch_SequenceOfSegmentOfTheSOnBounds_0.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// Created on: 1992-05-06 -// Created by: Jacques GOUSSARD -// Copyright (c) 1992-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. - -#include - -#include -#include -#include -#include - - -#define SeqItem IntPatch_TheSegmentOfTheSOnBounds -#define SeqItem_hxx -#define TCollection_SequenceNode IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds -#define TCollection_SequenceNode_hxx -#define Handle_TCollection_SequenceNode Handle(IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds) -#define TCollection_Sequence IntPatch_SequenceOfSegmentOfTheSOnBounds -#define TCollection_Sequence_hxx -#include - diff --git a/src/IntPatch/IntPatch_TheIWalking.hxx b/src/IntPatch/IntPatch_TheIWalking.hxx index 716185b414..ff296da799 100644 --- a/src/IntPatch/IntPatch_TheIWalking.hxx +++ b/src/IntPatch/IntPatch_TheIWalking.hxx @@ -46,12 +46,8 @@ class Adaptor3d_HSurface; class Adaptor3d_HSurfaceTool; class IntPatch_TheSurfFunction; class IntPatch_TheIWLineOfTheIWalking; -class IntPatch_SequenceOfIWLineOfTheIWalking; -class IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking; class IntSurf_PntOn2S; - - class IntPatch_TheIWalking { public: @@ -190,13 +186,7 @@ private: #define IntWalk_TheIWLine_hxx #define IntWalk_SequenceOfIWLine IntPatch_SequenceOfIWLineOfTheIWalking #define IntWalk_SequenceOfIWLine_hxx -#define IntWalk_SequenceNodeOfSequenceOfIWLine IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define IntWalk_SequenceNodeOfSequenceOfIWLine_hxx -#define IntWalk_SequenceNodeOfSequenceOfIWLine IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define IntWalk_SequenceNodeOfSequenceOfIWLine_hxx #define Handle_IntWalk_TheIWLine Handle(IntPatch_TheIWLineOfTheIWalking) -#define Handle_IntWalk_SequenceNodeOfSequenceOfIWLine Handle(IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking) -#define Handle_IntWalk_SequenceNodeOfSequenceOfIWLine Handle(IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking) #define IntWalk_IWalking IntPatch_TheIWalking #define IntWalk_IWalking_hxx @@ -224,13 +214,7 @@ private: #undef IntWalk_TheIWLine_hxx #undef IntWalk_SequenceOfIWLine #undef IntWalk_SequenceOfIWLine_hxx -#undef IntWalk_SequenceNodeOfSequenceOfIWLine -#undef IntWalk_SequenceNodeOfSequenceOfIWLine_hxx -#undef IntWalk_SequenceNodeOfSequenceOfIWLine -#undef IntWalk_SequenceNodeOfSequenceOfIWLine_hxx #undef Handle_IntWalk_TheIWLine -#undef Handle_IntWalk_SequenceNodeOfSequenceOfIWLine -#undef Handle_IntWalk_SequenceNodeOfSequenceOfIWLine #undef IntWalk_IWalking #undef IntWalk_IWalking_hxx diff --git a/src/IntPatch/IntPatch_TheIWalking_0.cxx b/src/IntPatch/IntPatch_TheIWalking_0.cxx index 858d58d279..37a04a065b 100644 --- a/src/IntPatch/IntPatch_TheIWalking_0.cxx +++ b/src/IntPatch/IntPatch_TheIWalking_0.cxx @@ -27,10 +27,8 @@ #include #include #include -#include #include - #define ThePointOfPath IntSurf_PathPoint #define ThePointOfPath_hxx #define ThePointOfPathTool IntSurf_PathPointTool @@ -53,13 +51,7 @@ #define IntWalk_TheIWLine_hxx #define IntWalk_SequenceOfIWLine IntPatch_SequenceOfIWLineOfTheIWalking #define IntWalk_SequenceOfIWLine_hxx -#define IntWalk_SequenceNodeOfSequenceOfIWLine IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define IntWalk_SequenceNodeOfSequenceOfIWLine_hxx -#define IntWalk_SequenceNodeOfSequenceOfIWLine IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking -#define IntWalk_SequenceNodeOfSequenceOfIWLine_hxx #define Handle_IntWalk_TheIWLine Handle(IntPatch_TheIWLineOfTheIWalking) -#define Handle_IntWalk_SequenceNodeOfSequenceOfIWLine Handle(IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking) -#define Handle_IntWalk_SequenceNodeOfSequenceOfIWLine Handle(IntPatch_SequenceNodeOfSequenceOfIWLineOfTheIWalking) #define IntWalk_IWalking IntPatch_TheIWalking #define IntWalk_IWalking_hxx #include diff --git a/src/IntPatch/IntPatch_TheSOnBounds.hxx b/src/IntPatch/IntPatch_TheSOnBounds.hxx index 38a9fbce9d..95a58c0595 100644 --- a/src/IntPatch/IntPatch_TheSOnBounds.hxx +++ b/src/IntPatch/IntPatch_TheSOnBounds.hxx @@ -36,13 +36,7 @@ class IntPatch_HInterTool; class Adaptor3d_TopolTool; class IntPatch_ArcFunction; class IntPatch_ThePathPointOfTheSOnBounds; -class IntPatch_SequenceOfPathPointOfTheSOnBounds; -class IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds; class IntPatch_TheSegmentOfTheSOnBounds; -class IntPatch_SequenceOfSegmentOfTheSOnBounds; -class IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds; - - class IntPatch_TheSOnBounds { @@ -129,22 +123,10 @@ private: #define IntStart_ThePathPoint_hxx #define IntStart_SequenceOfPathPoint IntPatch_SequenceOfPathPointOfTheSOnBounds #define IntStart_SequenceOfPathPoint_hxx -#define IntStart_SequenceNodeOfSequenceOfPathPoint IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds -#define IntStart_SequenceNodeOfSequenceOfPathPoint_hxx -#define IntStart_SequenceNodeOfSequenceOfPathPoint IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds -#define IntStart_SequenceNodeOfSequenceOfPathPoint_hxx #define IntStart_TheSegment IntPatch_TheSegmentOfTheSOnBounds #define IntStart_TheSegment_hxx #define IntStart_SequenceOfSegment IntPatch_SequenceOfSegmentOfTheSOnBounds #define IntStart_SequenceOfSegment_hxx -#define IntStart_SequenceNodeOfSequenceOfSegment IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds -#define IntStart_SequenceNodeOfSequenceOfSegment_hxx -#define IntStart_SequenceNodeOfSequenceOfSegment IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds -#define IntStart_SequenceNodeOfSequenceOfSegment_hxx -#define Handle_IntStart_SequenceNodeOfSequenceOfPathPoint Handle(IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds) -#define Handle_IntStart_SequenceNodeOfSequenceOfPathPoint Handle(IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds) -#define Handle_IntStart_SequenceNodeOfSequenceOfSegment Handle(IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds) -#define Handle_IntStart_SequenceNodeOfSequenceOfSegment Handle(IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds) #define IntStart_SearchOnBoundaries IntPatch_TheSOnBounds #define IntStart_SearchOnBoundaries_hxx @@ -167,22 +149,10 @@ private: #undef IntStart_ThePathPoint_hxx #undef IntStart_SequenceOfPathPoint #undef IntStart_SequenceOfPathPoint_hxx -#undef IntStart_SequenceNodeOfSequenceOfPathPoint -#undef IntStart_SequenceNodeOfSequenceOfPathPoint_hxx -#undef IntStart_SequenceNodeOfSequenceOfPathPoint -#undef IntStart_SequenceNodeOfSequenceOfPathPoint_hxx #undef IntStart_TheSegment #undef IntStart_TheSegment_hxx #undef IntStart_SequenceOfSegment #undef IntStart_SequenceOfSegment_hxx -#undef IntStart_SequenceNodeOfSequenceOfSegment -#undef IntStart_SequenceNodeOfSequenceOfSegment_hxx -#undef IntStart_SequenceNodeOfSequenceOfSegment -#undef IntStart_SequenceNodeOfSequenceOfSegment_hxx -#undef Handle_IntStart_SequenceNodeOfSequenceOfPathPoint -#undef Handle_IntStart_SequenceNodeOfSequenceOfPathPoint -#undef Handle_IntStart_SequenceNodeOfSequenceOfSegment -#undef Handle_IntStart_SequenceNodeOfSequenceOfSegment #undef IntStart_SearchOnBoundaries #undef IntStart_SearchOnBoundaries_hxx diff --git a/src/IntPatch/IntPatch_TheSOnBounds_0.cxx b/src/IntPatch/IntPatch_TheSOnBounds_0.cxx index f230901f15..53f01649a4 100644 --- a/src/IntPatch/IntPatch_TheSOnBounds_0.cxx +++ b/src/IntPatch/IntPatch_TheSOnBounds_0.cxx @@ -27,11 +27,8 @@ #include #include #include -#include #include -#include -#include - +#include #define TheVertex Handle(Adaptor3d_HVertex) #define TheVertex_hxx @@ -50,22 +47,10 @@ #define IntStart_ThePathPoint_hxx #define IntStart_SequenceOfPathPoint IntPatch_SequenceOfPathPointOfTheSOnBounds #define IntStart_SequenceOfPathPoint_hxx -#define IntStart_SequenceNodeOfSequenceOfPathPoint IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds -#define IntStart_SequenceNodeOfSequenceOfPathPoint_hxx -#define IntStart_SequenceNodeOfSequenceOfPathPoint IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds -#define IntStart_SequenceNodeOfSequenceOfPathPoint_hxx #define IntStart_TheSegment IntPatch_TheSegmentOfTheSOnBounds #define IntStart_TheSegment_hxx #define IntStart_SequenceOfSegment IntPatch_SequenceOfSegmentOfTheSOnBounds #define IntStart_SequenceOfSegment_hxx -#define IntStart_SequenceNodeOfSequenceOfSegment IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds -#define IntStart_SequenceNodeOfSequenceOfSegment_hxx -#define IntStart_SequenceNodeOfSequenceOfSegment IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds -#define IntStart_SequenceNodeOfSequenceOfSegment_hxx -#define Handle_IntStart_SequenceNodeOfSequenceOfPathPoint Handle(IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds) -#define Handle_IntStart_SequenceNodeOfSequenceOfPathPoint Handle(IntPatch_SequenceNodeOfSequenceOfPathPointOfTheSOnBounds) -#define Handle_IntStart_SequenceNodeOfSequenceOfSegment Handle(IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds) -#define Handle_IntStart_SequenceNodeOfSequenceOfSegment Handle(IntPatch_SequenceNodeOfSequenceOfSegmentOfTheSOnBounds) #define IntStart_SearchOnBoundaries IntPatch_TheSOnBounds #define IntStart_SearchOnBoundaries_hxx #include diff --git a/src/StepRepr/StepRepr_Array1OfShapeAspect.cxx b/src/StepRepr/StepRepr_Array1OfShapeAspect.cxx deleted file mode 100644 index e26371dfb2..0000000000 --- a/src/StepRepr/StepRepr_Array1OfShapeAspect.cxx +++ /dev/null @@ -1,29 +0,0 @@ -// Created on: 2015-07-13 -// Created by: Irina KRYLOVA -// Copyright (c) 2015 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. - -#include - -#include -#include -#include -#include - - -#define Array1Item Handle(StepRepr_ShapeAspect) -#define Array1Item_hxx -#define TCollection_Array1 StepRepr_Array1OfShapeAspect -#define TCollection_Array1_hxx -#include - diff --git a/src/StepRepr/StepRepr_HArray1OfShapeAspect.cxx b/src/StepRepr/StepRepr_HArray1OfShapeAspect.cxx deleted file mode 100644 index 9505744d80..0000000000 --- a/src/StepRepr/StepRepr_HArray1OfShapeAspect.cxx +++ /dev/null @@ -1,46 +0,0 @@ -// Created on: 2015-07-13 -// Created by: Irina KRYLOVA -// Copyright (c) 2015 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. - -#include - -#include - -#include -#include -#include -#include -#include -#include - -IMPLEMENT_STANDARD_TYPE(StepRepr_HArray1OfShapeAspect) - IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() - STANDARD_TYPE(MMgt_TShared), - STANDARD_TYPE(Standard_Transient), - IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() -IMPLEMENT_STANDARD_TYPE_END(StepRepr_HArray1OfShapeAspect) - - -IMPLEMENT_DOWNCAST(StepRepr_HArray1OfShapeAspect,Standard_Transient) -IMPLEMENT_STANDARD_RTTI(StepRepr_HArray1OfShapeAspect) - -#define ItemHArray1 Handle(StepRepr_ShapeAspect) -#define ItemHArray1_hxx -#define TheArray1 StepRepr_Array1OfShapeAspect -#define TheArray1_hxx -#define TCollection_HArray1 StepRepr_HArray1OfShapeAspect -#define TCollection_HArray1_hxx -#define Handle_TCollection_HArray1 Handle_StepRepr_HArray1OfShapeAspect -#define TCollection_HArray1_Type_() StepRepr_HArray1OfShapeAspect_Type_() -#include diff --git a/src/Transfer/FILES b/src/Transfer/FILES index 070ba0c53d..2fff748cd3 100644 --- a/src/Transfer/FILES +++ b/src/Transfer/FILES @@ -25,10 +25,6 @@ Transfer_FindHasher.cxx Transfer_FindHasher.hxx Transfer_HSequenceOfBinder.hxx Transfer_HSequenceOfFinder.hxx -Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder.hxx -Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder_0.cxx -Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient.hxx -Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient_0.cxx Transfer_Iterator.gxx Transfer_IteratorOfProcessForFinder.hxx Transfer_IteratorOfProcessForFinder_0.cxx @@ -62,9 +58,7 @@ Transfer_TransferInput.hxx Transfer_TransferIterator.cxx Transfer_TransferIterator.hxx Transfer_TransferMapOfProcessForFinder.hxx -Transfer_TransferMapOfProcessForFinder_0.cxx Transfer_TransferMapOfProcessForTransient.hxx -Transfer_TransferMapOfProcessForTransient_0.cxx Transfer_TransferOutput.cxx Transfer_TransferOutput.hxx Transfer_TransferProcess.gxx diff --git a/src/Transfer/Transfer_ActorOfProcessForFinder.hxx b/src/Transfer/Transfer_ActorOfProcessForFinder.hxx index 9bf8ee8788..2a17a384dd 100644 --- a/src/Transfer/Transfer_ActorOfProcessForFinder.hxx +++ b/src/Transfer/Transfer_ActorOfProcessForFinder.hxx @@ -23,12 +23,12 @@ #include #include #include +#include + class Standard_DomainError; class Transfer_Finder; class Transfer_FindHasher; class Transfer_ProcessForFinder; -class Transfer_TransferMapOfProcessForFinder; -class Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder; class Transfer_IteratorOfProcessForFinder; class Transfer_Binder; class Transfer_SimpleBinderOfTransient; diff --git a/src/Transfer/Transfer_ActorOfProcessForFinder_0.cxx b/src/Transfer/Transfer_ActorOfProcessForFinder_0.cxx index a8fe72875f..74f6e4285d 100644 --- a/src/Transfer/Transfer_ActorOfProcessForFinder_0.cxx +++ b/src/Transfer/Transfer_ActorOfProcessForFinder_0.cxx @@ -24,21 +24,11 @@ #include #include #include -#include #include #include #include #include - - - - - - - - - #define TheStart Handle(Transfer_Finder) #define TheStart_hxx #define TheMapHasher Transfer_FindHasher @@ -48,16 +38,10 @@ #define TheList_hxx #define Transfer_TransferMap Transfer_TransferMapOfProcessForFinder #define Transfer_TransferMap_hxx -#define Transfer_IndexedDataMapNodeOfTransferMap Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder -#define Transfer_IndexedDataMapNodeOfTransferMap_hxx -#define Transfer_IndexedDataMapNodeOfTransferMap Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder -#define Transfer_IndexedDataMapNodeOfTransferMap_hxx #define Transfer_Iterator Transfer_IteratorOfProcessForFinder #define Transfer_Iterator_hxx #define Transfer_Actor Transfer_ActorOfProcessForFinder #define Transfer_Actor_hxx -#define Handle_Transfer_IndexedDataMapNodeOfTransferMap Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder) -#define Handle_Transfer_IndexedDataMapNodeOfTransferMap Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder) #define Handle_Transfer_Actor Handle(Transfer_ActorOfProcessForFinder) #define Transfer_TransferProcess Transfer_ProcessForFinder #define Transfer_TransferProcess_hxx diff --git a/src/Transfer/Transfer_ActorOfProcessForTransient.hxx b/src/Transfer/Transfer_ActorOfProcessForTransient.hxx index 09b90ab676..44adcd6985 100644 --- a/src/Transfer/Transfer_ActorOfProcessForTransient.hxx +++ b/src/Transfer/Transfer_ActorOfProcessForTransient.hxx @@ -24,11 +24,11 @@ #include #include #include +#include + class Standard_DomainError; class Standard_Transient; class Transfer_ProcessForTransient; -class Transfer_TransferMapOfProcessForTransient; -class Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient; class Transfer_IteratorOfProcessForTransient; class Transfer_Binder; class Transfer_SimpleBinderOfTransient; diff --git a/src/Transfer/Transfer_ActorOfProcessForTransient_0.cxx b/src/Transfer/Transfer_ActorOfProcessForTransient_0.cxx index da1e84edcf..d69b1f1bfa 100644 --- a/src/Transfer/Transfer_ActorOfProcessForTransient_0.cxx +++ b/src/Transfer/Transfer_ActorOfProcessForTransient_0.cxx @@ -23,20 +23,10 @@ #include #include #include -#include #include #include #include - - - - - - - - - #define TheStart Handle(Standard_Transient) #define TheStart_hxx #define TheMapHasher TColStd_MapTransientHasher @@ -46,16 +36,10 @@ #define TheList_hxx #define Transfer_TransferMap Transfer_TransferMapOfProcessForTransient #define Transfer_TransferMap_hxx -#define Transfer_IndexedDataMapNodeOfTransferMap Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient -#define Transfer_IndexedDataMapNodeOfTransferMap_hxx -#define Transfer_IndexedDataMapNodeOfTransferMap Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient -#define Transfer_IndexedDataMapNodeOfTransferMap_hxx #define Transfer_Iterator Transfer_IteratorOfProcessForTransient #define Transfer_Iterator_hxx #define Transfer_Actor Transfer_ActorOfProcessForTransient #define Transfer_Actor_hxx -#define Handle_Transfer_IndexedDataMapNodeOfTransferMap Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient) -#define Handle_Transfer_IndexedDataMapNodeOfTransferMap Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient) #define Handle_Transfer_Actor Handle(Transfer_ActorOfProcessForTransient) #define Transfer_TransferProcess Transfer_ProcessForTransient #define Transfer_TransferProcess_hxx diff --git a/src/Transfer/Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder.hxx b/src/Transfer/Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder.hxx deleted file mode 100644 index a6d8733bba..0000000000 --- a/src/Transfer/Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder.hxx +++ /dev/null @@ -1,102 +0,0 @@ -// Created on: 1992-02-03 -// Created by: Christian CAILLET -// Copyright (c) 1992-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 _Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder_HeaderFile -#define _Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder_HeaderFile - -#include -#include - -#include -#include -#include -class Transfer_Finder; -class Transfer_Binder; -class Transfer_FindHasher; -class Transfer_TransferMapOfProcessForFinder; - - -class Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder; -DEFINE_STANDARD_HANDLE(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder, TCollection_MapNode) - - -class Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder : public TCollection_MapNode -{ - -public: - - - Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder(const Handle(Transfer_Finder)& K1, const Standard_Integer K2, const Handle(Transfer_Binder)& I, const TCollection_MapNodePtr& n1, const TCollection_MapNodePtr& n2); - - Handle(Transfer_Finder)& Key1() const; - - Standard_Integer& Key2() const; - - TCollection_MapNodePtr& Next2() const; - - Handle(Transfer_Binder)& Value() const; - - - - - DEFINE_STANDARD_RTTI(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder,TCollection_MapNode) - -protected: - - - - -private: - - - Handle(Transfer_Finder) myKey1; - Standard_Integer myKey2; - Handle(Transfer_Binder) myValue; - TCollection_MapNodePtr myNext2; - - -}; - -#define TheKey Handle(Transfer_Finder) -#define TheKey_hxx -#define TheItem Handle(Transfer_Binder) -#define TheItem_hxx -#define Hasher Transfer_FindHasher -#define Hasher_hxx -#define TCollection_IndexedDataMapNode Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder -#define TCollection_IndexedDataMapNode_hxx -#define Handle_TCollection_IndexedDataMapNode Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder) -#define TCollection_IndexedDataMap Transfer_TransferMapOfProcessForFinder -#define TCollection_IndexedDataMap_hxx - -#include - -#undef TheKey -#undef TheKey_hxx -#undef TheItem -#undef TheItem_hxx -#undef Hasher -#undef Hasher_hxx -#undef TCollection_IndexedDataMapNode -#undef TCollection_IndexedDataMapNode_hxx -#undef Handle_TCollection_IndexedDataMapNode -#undef TCollection_IndexedDataMap -#undef TCollection_IndexedDataMap_hxx - - - - -#endif // _Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder_HeaderFile diff --git a/src/Transfer/Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder_0.cxx b/src/Transfer/Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder_0.cxx deleted file mode 100644 index 3eb27dbbba..0000000000 --- a/src/Transfer/Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder_0.cxx +++ /dev/null @@ -1,47 +0,0 @@ -// Created on: 1992-02-03 -// Created by: Christian CAILLET -// Copyright (c) 1992-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. - -#include - -#include - -#include -#include -#include -#include - - - - - - - - - - -#define TheKey Handle(Transfer_Finder) -#define TheKey_hxx -#define TheItem Handle(Transfer_Binder) -#define TheItem_hxx -#define Hasher Transfer_FindHasher -#define Hasher_hxx -#define TCollection_IndexedDataMapNode Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder -#define TCollection_IndexedDataMapNode_hxx -#define Handle_TCollection_IndexedDataMapNode Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder) -#define TCollection_IndexedDataMap Transfer_TransferMapOfProcessForFinder -#define TCollection_IndexedDataMap_hxx -#include - diff --git a/src/Transfer/Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient.hxx b/src/Transfer/Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient.hxx deleted file mode 100644 index 41555d0a2f..0000000000 --- a/src/Transfer/Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient.hxx +++ /dev/null @@ -1,102 +0,0 @@ -// Created on: 1992-02-03 -// Created by: Christian CAILLET -// Copyright (c) 1992-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 _Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient_HeaderFile -#define _Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient_HeaderFile - -#include -#include - -#include -#include -#include -#include -class Standard_Transient; -class Transfer_Binder; -class Transfer_TransferMapOfProcessForTransient; - - -class Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient; -DEFINE_STANDARD_HANDLE(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient, TCollection_MapNode) - - -class Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient : public TCollection_MapNode -{ - -public: - - - Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient(const Handle(Standard_Transient)& K1, const Standard_Integer K2, const Handle(Transfer_Binder)& I, const TCollection_MapNodePtr& n1, const TCollection_MapNodePtr& n2); - - Handle(Standard_Transient)& Key1() const; - - Standard_Integer& Key2() const; - - TCollection_MapNodePtr& Next2() const; - - Handle(Transfer_Binder)& Value() const; - - - - - DEFINE_STANDARD_RTTI(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient,TCollection_MapNode) - -protected: - - - - -private: - - - Handle(Standard_Transient) myKey1; - Standard_Integer myKey2; - Handle(Transfer_Binder) myValue; - TCollection_MapNodePtr myNext2; - - -}; - -#define TheKey Handle(Standard_Transient) -#define TheKey_hxx -#define TheItem Handle(Transfer_Binder) -#define TheItem_hxx -#define Hasher TColStd_MapTransientHasher -#define Hasher_hxx -#define TCollection_IndexedDataMapNode Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient -#define TCollection_IndexedDataMapNode_hxx -#define Handle_TCollection_IndexedDataMapNode Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient) -#define TCollection_IndexedDataMap Transfer_TransferMapOfProcessForTransient -#define TCollection_IndexedDataMap_hxx - -#include - -#undef TheKey -#undef TheKey_hxx -#undef TheItem -#undef TheItem_hxx -#undef Hasher -#undef Hasher_hxx -#undef TCollection_IndexedDataMapNode -#undef TCollection_IndexedDataMapNode_hxx -#undef Handle_TCollection_IndexedDataMapNode -#undef TCollection_IndexedDataMap -#undef TCollection_IndexedDataMap_hxx - - - - -#endif // _Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient_HeaderFile diff --git a/src/Transfer/Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient_0.cxx b/src/Transfer/Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient_0.cxx deleted file mode 100644 index 4a4db004d9..0000000000 --- a/src/Transfer/Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient_0.cxx +++ /dev/null @@ -1,46 +0,0 @@ -// Created on: 1992-02-03 -// Created by: Christian CAILLET -// Copyright (c) 1992-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. - -#include - -#include - -#include -#include -#include - - - - - - - - - - -#define TheKey Handle(Standard_Transient) -#define TheKey_hxx -#define TheItem Handle(Transfer_Binder) -#define TheItem_hxx -#define Hasher TColStd_MapTransientHasher -#define Hasher_hxx -#define TCollection_IndexedDataMapNode Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient -#define TCollection_IndexedDataMapNode_hxx -#define Handle_TCollection_IndexedDataMapNode Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient) -#define TCollection_IndexedDataMap Transfer_TransferMapOfProcessForTransient -#define TCollection_IndexedDataMap_hxx -#include - diff --git a/src/Transfer/Transfer_IteratorOfProcessForFinder.hxx b/src/Transfer/Transfer_IteratorOfProcessForFinder.hxx index 1e9a23f33f..d10d81a0c5 100644 --- a/src/Transfer/Transfer_IteratorOfProcessForFinder.hxx +++ b/src/Transfer/Transfer_IteratorOfProcessForFinder.hxx @@ -23,18 +23,15 @@ #include #include -#include +#include + class Standard_NoSuchObject; class Transfer_Finder; class Transfer_FindHasher; class Transfer_ProcessForFinder; -class Transfer_TransferMapOfProcessForFinder; -class Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder; class Transfer_ActorOfProcessForFinder; class Transfer_Binder; - - class Transfer_IteratorOfProcessForFinder : public Transfer_TransferIterator { public: diff --git a/src/Transfer/Transfer_IteratorOfProcessForFinder_0.cxx b/src/Transfer/Transfer_IteratorOfProcessForFinder_0.cxx index 0566e8c98b..a985812876 100644 --- a/src/Transfer/Transfer_IteratorOfProcessForFinder_0.cxx +++ b/src/Transfer/Transfer_IteratorOfProcessForFinder_0.cxx @@ -21,7 +21,6 @@ #include #include #include -#include #include #include @@ -35,16 +34,10 @@ #define TheList_hxx #define Transfer_TransferMap Transfer_TransferMapOfProcessForFinder #define Transfer_TransferMap_hxx -#define Transfer_IndexedDataMapNodeOfTransferMap Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder -#define Transfer_IndexedDataMapNodeOfTransferMap_hxx -#define Transfer_IndexedDataMapNodeOfTransferMap Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder -#define Transfer_IndexedDataMapNodeOfTransferMap_hxx #define Transfer_Iterator Transfer_IteratorOfProcessForFinder #define Transfer_Iterator_hxx #define Transfer_Actor Transfer_ActorOfProcessForFinder #define Transfer_Actor_hxx -#define Handle_Transfer_IndexedDataMapNodeOfTransferMap Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder) -#define Handle_Transfer_IndexedDataMapNodeOfTransferMap Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder) #define Handle_Transfer_Actor Handle(Transfer_ActorOfProcessForFinder) #define Transfer_TransferProcess Transfer_ProcessForFinder #define Transfer_TransferProcess_hxx diff --git a/src/Transfer/Transfer_IteratorOfProcessForTransient.hxx b/src/Transfer/Transfer_IteratorOfProcessForTransient.hxx index 90510f56ab..69a6952c18 100644 --- a/src/Transfer/Transfer_IteratorOfProcessForTransient.hxx +++ b/src/Transfer/Transfer_IteratorOfProcessForTransient.hxx @@ -23,18 +23,14 @@ #include #include -#include -#include +#include + class Standard_NoSuchObject; class Standard_Transient; class Transfer_ProcessForTransient; -class Transfer_TransferMapOfProcessForTransient; -class Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient; class Transfer_ActorOfProcessForTransient; class Transfer_Binder; - - class Transfer_IteratorOfProcessForTransient : public Transfer_TransferIterator { public: diff --git a/src/Transfer/Transfer_IteratorOfProcessForTransient_0.cxx b/src/Transfer/Transfer_IteratorOfProcessForTransient_0.cxx index e9a01ad6f1..49332227d9 100644 --- a/src/Transfer/Transfer_IteratorOfProcessForTransient_0.cxx +++ b/src/Transfer/Transfer_IteratorOfProcessForTransient_0.cxx @@ -20,7 +20,6 @@ #include #include #include -#include #include #include @@ -34,16 +33,10 @@ #define TheList_hxx #define Transfer_TransferMap Transfer_TransferMapOfProcessForTransient #define Transfer_TransferMap_hxx -#define Transfer_IndexedDataMapNodeOfTransferMap Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient -#define Transfer_IndexedDataMapNodeOfTransferMap_hxx -#define Transfer_IndexedDataMapNodeOfTransferMap Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient -#define Transfer_IndexedDataMapNodeOfTransferMap_hxx #define Transfer_Iterator Transfer_IteratorOfProcessForTransient #define Transfer_Iterator_hxx #define Transfer_Actor Transfer_ActorOfProcessForTransient #define Transfer_Actor_hxx -#define Handle_Transfer_IndexedDataMapNodeOfTransferMap Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient) -#define Handle_Transfer_IndexedDataMapNodeOfTransferMap Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient) #define Handle_Transfer_Actor Handle(Transfer_ActorOfProcessForTransient) #define Transfer_TransferProcess Transfer_ProcessForTransient #define Transfer_TransferProcess_hxx diff --git a/src/Transfer/Transfer_ProcessForFinder.hxx b/src/Transfer/Transfer_ProcessForFinder.hxx index 3903b4eb02..2986f87b6c 100644 --- a/src/Transfer/Transfer_ProcessForFinder.hxx +++ b/src/Transfer/Transfer_ProcessForFinder.hxx @@ -17,17 +17,10 @@ #ifndef _Transfer_ProcessForFinder_HeaderFile #define _Transfer_ProcessForFinder_HeaderFile -#include -#include - -#include -#include #include -#include -#include #include -#include -#include +#include + class Message_Messenger; class Transfer_Finder; class Transfer_Binder; @@ -36,8 +29,6 @@ class Message_ProgressIndicator; class Interface_InterfaceError; class Transfer_TransferFailure; class Transfer_FindHasher; -class Transfer_TransferMapOfProcessForFinder; -class Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder; class Transfer_IteratorOfProcessForFinder; class Message_Msg; class Interface_Check; diff --git a/src/Transfer/Transfer_ProcessForFinder_0.cxx b/src/Transfer/Transfer_ProcessForFinder_0.cxx index 4722d936bf..c28c75b096 100644 --- a/src/Transfer/Transfer_ProcessForFinder_0.cxx +++ b/src/Transfer/Transfer_ProcessForFinder_0.cxx @@ -27,22 +27,12 @@ #include #include #include -#include #include #include #include #include #include - - - - - - - - - #define TheStart Handle(Transfer_Finder) #define TheStart_hxx #define TheMapHasher Transfer_FindHasher @@ -52,16 +42,10 @@ #define TheList_hxx #define Transfer_TransferMap Transfer_TransferMapOfProcessForFinder #define Transfer_TransferMap_hxx -#define Transfer_IndexedDataMapNodeOfTransferMap Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder -#define Transfer_IndexedDataMapNodeOfTransferMap_hxx -#define Transfer_IndexedDataMapNodeOfTransferMap Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder -#define Transfer_IndexedDataMapNodeOfTransferMap_hxx #define Transfer_Iterator Transfer_IteratorOfProcessForFinder #define Transfer_Iterator_hxx #define Transfer_Actor Transfer_ActorOfProcessForFinder #define Transfer_Actor_hxx -#define Handle_Transfer_IndexedDataMapNodeOfTransferMap Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder) -#define Handle_Transfer_IndexedDataMapNodeOfTransferMap Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder) #define Handle_Transfer_Actor Handle(Transfer_ActorOfProcessForFinder) #define Transfer_TransferProcess Transfer_ProcessForFinder #define Transfer_TransferProcess_hxx diff --git a/src/Transfer/Transfer_ProcessForTransient.hxx b/src/Transfer/Transfer_ProcessForTransient.hxx index d632ba5b18..13f48ab9f8 100644 --- a/src/Transfer/Transfer_ProcessForTransient.hxx +++ b/src/Transfer/Transfer_ProcessForTransient.hxx @@ -17,18 +17,11 @@ #ifndef _Transfer_ProcessForTransient_HeaderFile #define _Transfer_ProcessForTransient_HeaderFile -#include -#include - -#include -#include #include #include -#include #include #include -#include -#include + class Message_Messenger; class Standard_Transient; class Transfer_Binder; @@ -36,8 +29,6 @@ class Transfer_ActorOfProcessForTransient; class Message_ProgressIndicator; class Interface_InterfaceError; class Transfer_TransferFailure; -class Transfer_TransferMapOfProcessForTransient; -class Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient; class Transfer_IteratorOfProcessForTransient; class Message_Msg; class Interface_Check; diff --git a/src/Transfer/Transfer_ProcessForTransient_0.cxx b/src/Transfer/Transfer_ProcessForTransient_0.cxx index ea80356e9f..8680af0eea 100644 --- a/src/Transfer/Transfer_ProcessForTransient_0.cxx +++ b/src/Transfer/Transfer_ProcessForTransient_0.cxx @@ -26,21 +26,11 @@ #include #include #include -#include #include #include #include #include - - - - - - - - - #define TheStart Handle(Standard_Transient) #define TheStart_hxx #define TheMapHasher TColStd_MapTransientHasher @@ -50,16 +40,10 @@ #define TheList_hxx #define Transfer_TransferMap Transfer_TransferMapOfProcessForTransient #define Transfer_TransferMap_hxx -#define Transfer_IndexedDataMapNodeOfTransferMap Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient -#define Transfer_IndexedDataMapNodeOfTransferMap_hxx -#define Transfer_IndexedDataMapNodeOfTransferMap Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient -#define Transfer_IndexedDataMapNodeOfTransferMap_hxx #define Transfer_Iterator Transfer_IteratorOfProcessForTransient #define Transfer_Iterator_hxx #define Transfer_Actor Transfer_ActorOfProcessForTransient #define Transfer_Actor_hxx -#define Handle_Transfer_IndexedDataMapNodeOfTransferMap Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient) -#define Handle_Transfer_IndexedDataMapNodeOfTransferMap Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient) #define Handle_Transfer_Actor Handle(Transfer_ActorOfProcessForTransient) #define Transfer_TransferProcess Transfer_ProcessForTransient #define Transfer_TransferProcess_hxx diff --git a/src/Transfer/Transfer_TransferMapOfProcessForFinder.hxx b/src/Transfer/Transfer_TransferMapOfProcessForFinder.hxx index afb14d9187..87bcef8cce 100644 --- a/src/Transfer/Transfer_TransferMapOfProcessForFinder.hxx +++ b/src/Transfer/Transfer_TransferMapOfProcessForFinder.hxx @@ -17,159 +17,11 @@ #ifndef _Transfer_TransferMapOfProcessForFinder_HeaderFile #define _Transfer_TransferMapOfProcessForFinder_HeaderFile -#include -#include -#include - -#include -#include -#include -#include -class Standard_DomainError; -class Standard_OutOfRange; -class Standard_NoSuchObject; -class Transfer_Finder; -class Transfer_Binder; -class Transfer_FindHasher; -class Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder; - - - -class Transfer_TransferMapOfProcessForFinder : public TCollection_BasicMap -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an IndexedDataMap with NbBuckets - //! (defaulted to 1) buckets. - //! Note that the map will be automatically redimensioned - //! during its use if the number of entries becomes too large. - //! Use: - //! - the function Add to add an entry (key, item, index) in the map, - //! - operator() to read an item from an index, or to - //! assign a new value to this item, - //! - the function FindFromKey or ChangeFromKey to - //! read an item from a key, or to assign a new value to this item, - //! - the function RemoveLast to remove the last entry from the map, - //! - and other available edition and querying functions. - Standard_EXPORT Transfer_TransferMapOfProcessForFinder(const Standard_Integer NbBuckets = 1); - - //! Replace the content of this map by the content of - //! the map . - Standard_EXPORT Transfer_TransferMapOfProcessForFinder& Assign (const Transfer_TransferMapOfProcessForFinder& Other); -Transfer_TransferMapOfProcessForFinder& operator = (const Transfer_TransferMapOfProcessForFinder& Other) -{ - return Assign(Other); -} - - //! Changes the number of buckets of to be - //! . The entries (key + item + index) already - //! stored in this map are maintained. - Standard_EXPORT void ReSize (const Standard_Integer NbBuckets); - - //! Removes all keys in the map. - Standard_EXPORT void Clear(); -~Transfer_TransferMapOfProcessForFinder() -{ - Clear(); -} - - //! Adds the Key to the Map . Returns the - //! index of the Key. The key is new in the map if - //! Extent has been incremented. The Item is - //! stored with the key. If the key was already in the - //! map the previous item is not replaced by . - Standard_EXPORT Standard_Integer Add (const Handle(Transfer_Finder)& K, const Handle(Transfer_Binder)& I); - - //! Substitutes the Key at index with . - //! must be a valid index, must be a new key. - //! becomes the Item stored with . - //! Trigger: Raises OutOfRange if I < 1 or I > Extent. - //! Raises DomainError if Contains(K). - Standard_EXPORT void Substitute (const Standard_Integer I, const Handle(Transfer_Finder)& K, const Handle(Transfer_Binder)& T); - - //! Removes the last key entered in the map, i.e the - //! key of index Extent(). - //! I must be a valid index and K must be a new key. - //! Exceptions - //! - Standard_OutOfRange if the index I is less than 1 or - //! greater than the number of entries in this map. - //! - Standard_DomainError if the key K is already in this map. - Standard_EXPORT void RemoveLast(); - - //! Returns True if the key is stored in the map . - Standard_EXPORT Standard_Boolean Contains (const Handle(Transfer_Finder)& K) const; - - //! Returns the Key of index . - //! Exceptions - //! Standard_OutOfRange if I is less than 1 or greater than - //! the number of entries in this map. - Standard_EXPORT const Handle(Transfer_Finder)& FindKey (const Standard_Integer I) const; - - //! Returns the Item of index . - Standard_EXPORT const Handle(Transfer_Binder)& FindFromIndex (const Standard_Integer I) const; -const Handle(Transfer_Binder)& operator () (const Standard_Integer I) const -{ - return FindFromIndex(I); -} - - //! Returns the Item of index . The Item can be - //! modified with the syntax aMap(Index) = newItem. - Standard_EXPORT Handle(Transfer_Binder)& ChangeFromIndex (const Standard_Integer I); -Handle(Transfer_Binder)& operator () (const Standard_Integer I) -{ - return ChangeFromIndex(I); -} - - //! Returns the index of the key . - //! Returns 0 if K is not in the map. - Standard_EXPORT Standard_Integer FindIndex (const Handle(Transfer_Finder)& K) const; - - //! Returns the Item of the key - //! Trigger: Raises NoSuchObject if K is not in the map. - Standard_EXPORT const Handle(Transfer_Binder)& FindFromKey (const Handle(Transfer_Finder)& K) const; - - //! Returns the Item of the key - //! Trigger: Raises NoSuchObject if K is not in the map. - Standard_EXPORT Handle(Transfer_Binder)& ChangeFromKey (const Handle(Transfer_Finder)& K); - - //! Returns the address of Item of the key - //! or NULL if K is not in the map. - Standard_EXPORT Standard_Address FindFromKey1 (const Handle(Transfer_Finder)& K) const; - - //! Returns the address of Item of the key - //! or NULL if K is not in the map. - Standard_EXPORT Standard_Address ChangeFromKey1 (const Handle(Transfer_Finder)& K); - - - - -protected: - - - - - -private: - - - //! As copying Map is an expensive operation it is - //! incorrect to do it implicitly. This constructor - //! will raise an error if the Map is not empty. To copy the - //! content of a Map use the Assign method (operator =). - Standard_EXPORT Transfer_TransferMapOfProcessForFinder(const Transfer_TransferMapOfProcessForFinder& Other); - - - - -}; - - - - - +#include +#include +#include +#include +typedef NCollection_IndexedDataMap Transfer_TransferMapOfProcessForFinder; #endif // _Transfer_TransferMapOfProcessForFinder_HeaderFile diff --git a/src/Transfer/Transfer_TransferMapOfProcessForFinder_0.cxx b/src/Transfer/Transfer_TransferMapOfProcessForFinder_0.cxx deleted file mode 100644 index 609838d884..0000000000 --- a/src/Transfer/Transfer_TransferMapOfProcessForFinder_0.cxx +++ /dev/null @@ -1,40 +0,0 @@ -// Created on: 1992-02-03 -// Created by: Christian CAILLET -// Copyright (c) 1992-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. - -#include - -#include -#include -#include -#include -#include -#include -#include - - -#define TheKey Handle(Transfer_Finder) -#define TheKey_hxx -#define TheItem Handle(Transfer_Binder) -#define TheItem_hxx -#define Hasher Transfer_FindHasher -#define Hasher_hxx -#define TCollection_IndexedDataMapNode Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder -#define TCollection_IndexedDataMapNode_hxx -#define Handle_TCollection_IndexedDataMapNode Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder) -#define TCollection_IndexedDataMap Transfer_TransferMapOfProcessForFinder -#define TCollection_IndexedDataMap_hxx -#include - diff --git a/src/Transfer/Transfer_TransferMapOfProcessForTransient.hxx b/src/Transfer/Transfer_TransferMapOfProcessForTransient.hxx index e89625c624..94128b57cc 100644 --- a/src/Transfer/Transfer_TransferMapOfProcessForTransient.hxx +++ b/src/Transfer/Transfer_TransferMapOfProcessForTransient.hxx @@ -17,159 +17,10 @@ #ifndef _Transfer_TransferMapOfProcessForTransient_HeaderFile #define _Transfer_TransferMapOfProcessForTransient_HeaderFile -#include -#include -#include - -#include +#include #include -#include -#include -#include -class Standard_DomainError; -class Standard_OutOfRange; -class Standard_NoSuchObject; -class Standard_Transient; -class Transfer_Binder; -class Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient; - - - -class Transfer_TransferMapOfProcessForTransient : public TCollection_BasicMap -{ -public: - - DEFINE_STANDARD_ALLOC - - - //! Constructs an IndexedDataMap with NbBuckets - //! (defaulted to 1) buckets. - //! Note that the map will be automatically redimensioned - //! during its use if the number of entries becomes too large. - //! Use: - //! - the function Add to add an entry (key, item, index) in the map, - //! - operator() to read an item from an index, or to - //! assign a new value to this item, - //! - the function FindFromKey or ChangeFromKey to - //! read an item from a key, or to assign a new value to this item, - //! - the function RemoveLast to remove the last entry from the map, - //! - and other available edition and querying functions. - Standard_EXPORT Transfer_TransferMapOfProcessForTransient(const Standard_Integer NbBuckets = 1); - - //! Replace the content of this map by the content of - //! the map . - Standard_EXPORT Transfer_TransferMapOfProcessForTransient& Assign (const Transfer_TransferMapOfProcessForTransient& Other); -Transfer_TransferMapOfProcessForTransient& operator = (const Transfer_TransferMapOfProcessForTransient& Other) -{ - return Assign(Other); -} - - //! Changes the number of buckets of to be - //! . The entries (key + item + index) already - //! stored in this map are maintained. - Standard_EXPORT void ReSize (const Standard_Integer NbBuckets); - - //! Removes all keys in the map. - Standard_EXPORT void Clear(); -~Transfer_TransferMapOfProcessForTransient() -{ - Clear(); -} - - //! Adds the Key to the Map . Returns the - //! index of the Key. The key is new in the map if - //! Extent has been incremented. The Item is - //! stored with the key. If the key was already in the - //! map the previous item is not replaced by . - Standard_EXPORT Standard_Integer Add (const Handle(Standard_Transient)& K, const Handle(Transfer_Binder)& I); - - //! Substitutes the Key at index with . - //! must be a valid index, must be a new key. - //! becomes the Item stored with . - //! Trigger: Raises OutOfRange if I < 1 or I > Extent. - //! Raises DomainError if Contains(K). - Standard_EXPORT void Substitute (const Standard_Integer I, const Handle(Standard_Transient)& K, const Handle(Transfer_Binder)& T); - - //! Removes the last key entered in the map, i.e the - //! key of index Extent(). - //! I must be a valid index and K must be a new key. - //! Exceptions - //! - Standard_OutOfRange if the index I is less than 1 or - //! greater than the number of entries in this map. - //! - Standard_DomainError if the key K is already in this map. - Standard_EXPORT void RemoveLast(); - - //! Returns True if the key is stored in the map . - Standard_EXPORT Standard_Boolean Contains (const Handle(Standard_Transient)& K) const; - - //! Returns the Key of index . - //! Exceptions - //! Standard_OutOfRange if I is less than 1 or greater than - //! the number of entries in this map. - Standard_EXPORT const Handle(Standard_Transient)& FindKey (const Standard_Integer I) const; - - //! Returns the Item of index . - Standard_EXPORT const Handle(Transfer_Binder)& FindFromIndex (const Standard_Integer I) const; -const Handle(Transfer_Binder)& operator () (const Standard_Integer I) const -{ - return FindFromIndex(I); -} - - //! Returns the Item of index . The Item can be - //! modified with the syntax aMap(Index) = newItem. - Standard_EXPORT Handle(Transfer_Binder)& ChangeFromIndex (const Standard_Integer I); -Handle(Transfer_Binder)& operator () (const Standard_Integer I) -{ - return ChangeFromIndex(I); -} - - //! Returns the index of the key . - //! Returns 0 if K is not in the map. - Standard_EXPORT Standard_Integer FindIndex (const Handle(Standard_Transient)& K) const; - - //! Returns the Item of the key - //! Trigger: Raises NoSuchObject if K is not in the map. - Standard_EXPORT const Handle(Transfer_Binder)& FindFromKey (const Handle(Standard_Transient)& K) const; - - //! Returns the Item of the key - //! Trigger: Raises NoSuchObject if K is not in the map. - Standard_EXPORT Handle(Transfer_Binder)& ChangeFromKey (const Handle(Standard_Transient)& K); - - //! Returns the address of Item of the key - //! or NULL if K is not in the map. - Standard_EXPORT Standard_Address FindFromKey1 (const Handle(Standard_Transient)& K) const; - - //! Returns the address of Item of the key - //! or NULL if K is not in the map. - Standard_EXPORT Standard_Address ChangeFromKey1 (const Handle(Standard_Transient)& K); - - - - -protected: - - - - - -private: - - - //! As copying Map is an expensive operation it is - //! incorrect to do it implicitly. This constructor - //! will raise an error if the Map is not empty. To copy the - //! content of a Map use the Assign method (operator =). - Standard_EXPORT Transfer_TransferMapOfProcessForTransient(const Transfer_TransferMapOfProcessForTransient& Other); - - - - -}; - - - - - +#include +typedef NCollection_IndexedDataMap Transfer_TransferMapOfProcessForTransient; #endif // _Transfer_TransferMapOfProcessForTransient_HeaderFile diff --git a/src/Transfer/Transfer_TransferMapOfProcessForTransient_0.cxx b/src/Transfer/Transfer_TransferMapOfProcessForTransient_0.cxx deleted file mode 100644 index c56979e7cb..0000000000 --- a/src/Transfer/Transfer_TransferMapOfProcessForTransient_0.cxx +++ /dev/null @@ -1,39 +0,0 @@ -// Created on: 1992-02-03 -// Created by: Christian CAILLET -// Copyright (c) 1992-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. - -#include - -#include -#include -#include -#include -#include -#include - - -#define TheKey Handle(Standard_Transient) -#define TheKey_hxx -#define TheItem Handle(Transfer_Binder) -#define TheItem_hxx -#define Hasher TColStd_MapTransientHasher -#define Hasher_hxx -#define TCollection_IndexedDataMapNode Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient -#define TCollection_IndexedDataMapNode_hxx -#define Handle_TCollection_IndexedDataMapNode Handle(Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient) -#define TCollection_IndexedDataMap Transfer_TransferMapOfProcessForTransient -#define TCollection_IndexedDataMap_hxx -#include -