mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-22 11:50:34 +05:00
Remove not used files
This commit is contained in:
parent
f4b5386b2e
commit
243fdea92a
@ -66,9 +66,6 @@ salomeinclude_HEADERS = \
|
||||
NMTTools_IndexedDataMapOfIndexedMapOfInteger.hxx \
|
||||
NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx \
|
||||
NMTTools_IndexedDataMapOfShapePaveBlock.hxx \
|
||||
NMTTools_IteratorOfCoupleOfShape.hxx \
|
||||
NMTTools_IteratorOfCoupleOfShape.ixx \
|
||||
NMTTools_IteratorOfCoupleOfShape.jxx \
|
||||
NMTTools_ListIteratorOfListOfCommonBlock.hxx \
|
||||
NMTTools_ListIteratorOfListOfCoupleOfShape.hxx \
|
||||
NMTTools_ListNodeOfListOfCommonBlock.hxx \
|
||||
@ -110,7 +107,6 @@ dist_libNMTTools_la_SOURCES = \
|
||||
NMTTools_IndexedDataMapOfIndexedMapOfInteger_0.cxx \
|
||||
NMTTools_IndexedDataMapOfShapeIndexedMapOfShape_0.cxx \
|
||||
NMTTools_IndexedDataMapOfShapePaveBlock_0.cxx \
|
||||
NMTTools_IteratorOfCoupleOfShape.cxx \
|
||||
NMTTools_ListIteratorOfListOfCommonBlock_0.cxx \
|
||||
NMTTools_ListIteratorOfListOfCoupleOfShape_0.cxx \
|
||||
NMTTools_ListNodeOfListOfCommonBlock_0.cxx \
|
||||
@ -154,7 +150,6 @@ CDL_FILES = \
|
||||
NMTTools_CoupleOfShape.cdl \
|
||||
NMTTools_DEProcessor.cdl \
|
||||
NMTTools_FaceInfo.cdl \
|
||||
NMTTools_IteratorOfCoupleOfShape.cdl \
|
||||
NMTTools_PaveFiller.cdl \
|
||||
NMTTools_Tools.cdl
|
||||
|
||||
|
@ -63,7 +63,6 @@ HEADERS += NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx
|
||||
HEADERS += NMTTools_IndexedDataMapOfIndexedMapOfInteger.hxx
|
||||
HEADERS += NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx
|
||||
HEADERS += NMTTools_IndexedDataMapOfShapePaveBlock.hxx
|
||||
HEADERS += NMTTools_IteratorOfCoupleOfShape.hxx
|
||||
HEADERS += NMTTools_ListIteratorOfListOfCommonBlock.hxx
|
||||
HEADERS += NMTTools_ListIteratorOfListOfCoupleOfShape.hxx
|
||||
HEADERS += NMTTools_ListNodeOfListOfCommonBlock.hxx
|
||||
@ -96,7 +95,6 @@ SOURCES += NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_0.cxx
|
||||
SOURCES += NMTTools_IndexedDataMapOfIndexedMapOfInteger_0.cxx
|
||||
SOURCES += NMTTools_IndexedDataMapOfShapeIndexedMapOfShape_0.cxx
|
||||
SOURCES += NMTTools_IndexedDataMapOfShapePaveBlock_0.cxx
|
||||
SOURCES += NMTTools_IteratorOfCoupleOfShape.cxx
|
||||
SOURCES += NMTTools_ListIteratorOfListOfCommonBlock_0.cxx
|
||||
SOURCES += NMTTools_ListIteratorOfListOfCoupleOfShape_0.cxx
|
||||
SOURCES += NMTTools_ListNodeOfListOfCommonBlock_0.cxx
|
||||
|
@ -1,75 +0,0 @@
|
||||
-- Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
|
||||
--
|
||||
-- Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||
-- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or
|
||||
-- modify it under the terms of the GNU Lesser General Public
|
||||
-- License as published by the Free Software Foundation; either
|
||||
-- version 2.1 of the License.
|
||||
--
|
||||
-- This library is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
-- Lesser General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU Lesser General Public
|
||||
-- License along with this library; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
--
|
||||
-- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
--
|
||||
|
||||
-- File: NMTTools_IteratorOfCoupleOfShape.cdl
|
||||
-- Created: Thu Dec 4 16:57:48 2003
|
||||
-- Author: Peter KURNEV
|
||||
-- <pkv@irinox>
|
||||
--
|
||||
class IteratorOfCoupleOfShape from NMTTools
|
||||
inherits IteratorOfCoupleOfShape from BOPTools
|
||||
|
||||
---Purpose:
|
||||
|
||||
uses
|
||||
ShapeEnum from TopAbs,
|
||||
IndexedMapOfCoupleOfInteger from BOPTools,
|
||||
PShapesDataStructure from NMTDS,
|
||||
ShapesDataStructure from NMTDS
|
||||
|
||||
raises
|
||||
NoSuchObject from Standard
|
||||
|
||||
is
|
||||
Create
|
||||
returns IteratorOfCoupleOfShape from NMTTools;
|
||||
|
||||
SetDS(me:out;
|
||||
pDS:PShapesDataStructure from NMTDS);
|
||||
|
||||
Initialize(me: in out;
|
||||
Type1: ShapeEnum from TopAbs;
|
||||
Type2: ShapeEnum from TopAbs)
|
||||
raises NoSuchObject from Standard
|
||||
is redefined;
|
||||
|
||||
Current(me; Index1: in out Integer from Standard;
|
||||
Index2: in out Integer from Standard;
|
||||
WithSubShape: out Boolean from Standard)
|
||||
is redefined;
|
||||
|
||||
More(me)
|
||||
returns Boolean from Standard
|
||||
is redefined;
|
||||
|
||||
DS(me)
|
||||
returns ShapesDataStructure from NMTDS;
|
||||
---C++:return const &
|
||||
|
||||
fields
|
||||
myPNMTPS : PShapesDataStructure from NMTDS is protected;
|
||||
myMap : IndexedMapOfCoupleOfInteger from BOPTools is protected;
|
||||
myIndex1 : Integer from Standard is protected;
|
||||
myIndex2 : Integer from Standard is protected;
|
||||
myWithSubShapeFlag: Boolean from Standard is protected;
|
||||
|
||||
end IteratorOfCoupleOfShape;
|
@ -1,161 +0,0 @@
|
||||
// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
|
||||
//
|
||||
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 of the License.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
//
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
|
||||
// File: NMTTools_IteratorOfCoupleOfShape.cxx
|
||||
// Created: Thu Dec 4 17:00:03 2003
|
||||
// Author: Peter KURNEV
|
||||
// <pkv@irinox>
|
||||
//
|
||||
#include <NMTTools_IteratorOfCoupleOfShape.ixx>
|
||||
#include <Standard_NoSuchObject.hxx>
|
||||
#include <NMTDS_ShapesDataStructure.hxx>
|
||||
#include <BOPTools_CoupleOfInteger.hxx>
|
||||
#include <NMTDS_CArray1OfIndexRange.hxx>
|
||||
#include <BooleanOperations_ShapesDataStructure.hxx>
|
||||
|
||||
//=======================================================================
|
||||
// function:
|
||||
// purpose:
|
||||
//=======================================================================
|
||||
NMTTools_IteratorOfCoupleOfShape::NMTTools_IteratorOfCoupleOfShape()
|
||||
:
|
||||
BOPTools_IteratorOfCoupleOfShape()
|
||||
{
|
||||
myIndex1=0;
|
||||
myIndex2=0;
|
||||
myWithSubShapeFlag=Standard_False;
|
||||
}
|
||||
//=======================================================================
|
||||
// function: SetDS
|
||||
// purpose:
|
||||
//=======================================================================
|
||||
void NMTTools_IteratorOfCoupleOfShape::SetDS(const NMTDS_PShapesDataStructure& PDS)
|
||||
{
|
||||
myPNMTPS=PDS;
|
||||
SetDataStructure(myPNMTPS);
|
||||
}
|
||||
//=======================================================================
|
||||
// function: Initialize
|
||||
// purpose:
|
||||
//=======================================================================
|
||||
void NMTTools_IteratorOfCoupleOfShape::Initialize(const TopAbs_ShapeEnum Type1,
|
||||
const TopAbs_ShapeEnum Type2)
|
||||
{
|
||||
if(myPDS==NULL) {
|
||||
Standard_NoSuchObject::Raise("NMTTools_IteratorOfCoupleOfShape::Initialize: myPDS==NULL");
|
||||
}
|
||||
//
|
||||
myType1 = Type1;
|
||||
myType2 = Type2;
|
||||
myCurrentIndex1 = -1;
|
||||
myCurrentIndex2 = -1;
|
||||
//
|
||||
myFirstLowerIndex=1;
|
||||
myFirstUpperIndex=myPNMTPS->NumberOfShapesOfTheObject();
|
||||
mySecondLowerIndex=myFirstUpperIndex+1;
|
||||
mySecondUpperIndex=myFirstUpperIndex+myPNMTPS->NumberOfShapesOfTheTool();
|
||||
//
|
||||
Standard_Integer n1, n2, aIR1, aIR2;//, aN1, aN2, aNS;
|
||||
//
|
||||
/*const NMTDS_CArray1OfIndexRange& aRanges=*/myPNMTPS->Ranges();
|
||||
//
|
||||
//aNS=myPNMTPS->NumberOfShapesOfTheObject();
|
||||
myIndex1=0;
|
||||
myIndex2=0;
|
||||
myWithSubShapeFlag=Standard_False;
|
||||
//
|
||||
myListOfCouple.Clear();
|
||||
myMap.Clear();
|
||||
//
|
||||
NextP();
|
||||
for (; MoreP(); NextP()) {
|
||||
CurrentP(n1, n2);
|
||||
//
|
||||
aIR1=myPNMTPS->ShapeRangeIndex(n1);
|
||||
aIR2=myPNMTPS->ShapeRangeIndex(n2);
|
||||
if (aIR1==aIR2){
|
||||
continue;
|
||||
}
|
||||
//
|
||||
BOPTools_CoupleOfInteger aCouple(n1, n2);
|
||||
myListOfCouple.Append(aCouple);
|
||||
//
|
||||
/*
|
||||
aN1=(n1>aNS)? n1-aNS : n1;
|
||||
aN2=(n2>aNS)? n2-aNS : n2;
|
||||
BOPTools_CoupleOfInteger aCoupleX(aN1, aN2);
|
||||
myMap.Add(aCoupleX);
|
||||
*/
|
||||
}
|
||||
myIterator.Initialize(myListOfCouple);
|
||||
}
|
||||
//=======================================================================
|
||||
// function: Current
|
||||
// purpose:
|
||||
//=======================================================================
|
||||
void NMTTools_IteratorOfCoupleOfShape::Current(Standard_Integer& aIndex1,
|
||||
Standard_Integer& aIndex2,
|
||||
Standard_Boolean& aWithSubShape) const
|
||||
{
|
||||
aIndex1=myIndex1;
|
||||
aIndex2=myIndex2;
|
||||
aWithSubShape=myWithSubShapeFlag;
|
||||
}
|
||||
//=======================================================================
|
||||
// function: More
|
||||
// purpose:
|
||||
//=======================================================================
|
||||
Standard_Boolean NMTTools_IteratorOfCoupleOfShape::More()const
|
||||
{
|
||||
Standard_Boolean bMore, bWithSubShape;
|
||||
Standard_Integer n1, n2, aNS, aN1, aN2;
|
||||
BOPTools_CoupleOfInteger aCoupleX;
|
||||
NMTTools_IteratorOfCoupleOfShape* pIt=(NMTTools_IteratorOfCoupleOfShape*)this;
|
||||
//
|
||||
aNS=myPNMTPS->NumberOfShapesOfTheObject();
|
||||
pIt->myIndex1=0;
|
||||
pIt->myIndex2=0;
|
||||
pIt->myWithSubShapeFlag=Standard_False;
|
||||
//
|
||||
while (1) {
|
||||
bMore=myIterator.More();
|
||||
if (!bMore) {
|
||||
break;
|
||||
}
|
||||
//
|
||||
BOPTools_IteratorOfCoupleOfShape::Current(n1, n2, bWithSubShape);
|
||||
aN1=(n1>aNS)? n1-aNS : n1;
|
||||
aN2=(n2>aNS)? n2-aNS : n2;
|
||||
aCoupleX.SetCouple(aN1, aN2);
|
||||
if (!myMap.Contains(aCoupleX)) {
|
||||
pIt->myMap.Add(aCoupleX);
|
||||
//
|
||||
pIt->myIndex1=aN1;
|
||||
pIt->myIndex2=aN2;
|
||||
pIt->myWithSubShapeFlag=bWithSubShape;
|
||||
break;
|
||||
}
|
||||
//
|
||||
pIt->Next();
|
||||
}
|
||||
return bMore;
|
||||
}
|
@ -1,132 +0,0 @@
|
||||
// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
|
||||
//
|
||||
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 of the License.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
//
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
|
||||
#ifndef _NMTTools_IteratorOfCoupleOfShape_HeaderFile
|
||||
#define _NMTTools_IteratorOfCoupleOfShape_HeaderFile
|
||||
|
||||
#ifndef _NMTDS_PShapesDataStructure_HeaderFile
|
||||
#include <NMTDS_PShapesDataStructure.hxx>
|
||||
#endif
|
||||
#ifndef _BOPTools_IndexedMapOfCoupleOfInteger_HeaderFile
|
||||
#include <BOPTools_IndexedMapOfCoupleOfInteger.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Boolean_HeaderFile
|
||||
#include <Standard_Boolean.hxx>
|
||||
#endif
|
||||
#ifndef _BOPTools_IteratorOfCoupleOfShape_HeaderFile
|
||||
#include <BOPTools_IteratorOfCoupleOfShape.hxx>
|
||||
#endif
|
||||
#ifndef _TopAbs_ShapeEnum_HeaderFile
|
||||
#include <TopAbs_ShapeEnum.hxx>
|
||||
#endif
|
||||
class Standard_NoSuchObject;
|
||||
class NMTDS_ShapesDataStructure;
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
|
||||
|
||||
class NMTTools_IteratorOfCoupleOfShape : public BOPTools_IteratorOfCoupleOfShape {
|
||||
|
||||
public:
|
||||
|
||||
void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// Methods PUBLIC
|
||||
//
|
||||
|
||||
|
||||
Standard_EXPORT NMTTools_IteratorOfCoupleOfShape();
|
||||
|
||||
|
||||
Standard_EXPORT void SetDS(const NMTDS_PShapesDataStructure& pDS) ;
|
||||
|
||||
|
||||
Standard_EXPORT virtual void Initialize(const TopAbs_ShapeEnum Type1,const TopAbs_ShapeEnum Type2) ;
|
||||
|
||||
|
||||
Standard_EXPORT virtual void Current(Standard_Integer& Index1,Standard_Integer& Index2,Standard_Boolean& WithSubShape) const;
|
||||
|
||||
|
||||
Standard_EXPORT virtual Standard_Boolean More() const;
|
||||
|
||||
|
||||
Standard_EXPORT const NMTDS_ShapesDataStructure& DS() const;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
NMTDS_PShapesDataStructure myPNMTPS;
|
||||
BOPTools_IndexedMapOfCoupleOfInteger myMap;
|
||||
Standard_Integer myIndex1;
|
||||
Standard_Integer myIndex2;
|
||||
Standard_Boolean myWithSubShapeFlag;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other Inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
@ -1,27 +0,0 @@
|
||||
// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
|
||||
//
|
||||
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 of the License.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
//
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
|
||||
#include <NMTTools_IteratorOfCoupleOfShape.jxx>
|
||||
|
||||
|
||||
|
||||
|
@ -1,31 +0,0 @@
|
||||
// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
|
||||
//
|
||||
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 of the License.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
//
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
|
||||
#ifndef _Standard_NoSuchObject_HeaderFile
|
||||
#include <Standard_NoSuchObject.hxx>
|
||||
#endif
|
||||
#ifndef _NMTDS_ShapesDataStructure_HeaderFile
|
||||
#include <NMTDS_ShapesDataStructure.hxx>
|
||||
#endif
|
||||
#ifndef _NMTTools_IteratorOfCoupleOfShape_HeaderFile
|
||||
#include <NMTTools_IteratorOfCoupleOfShape.hxx>
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user