mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 02:00:35 +05:00
Remove "MAC" ends of lines
This commit is contained in:
parent
01b475d618
commit
216b66c853
@ -1,99 +1,198 @@
|
||||
// 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 _GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
#define _GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
|
||||
#include <Standard_Macro.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifndef _TCollection_BasicMapIterator_HeaderFile
|
||||
|
||||
#include <TCollection_BasicMapIterator.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
#include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
class Standard_NoSuchObject;
|
||||
|
||||
class TopoDS_Shape;
|
||||
|
||||
class TopTools_MapOfShape;
|
||||
|
||||
class TopTools_ShapeMapHasher;
|
||||
|
||||
class GEOMAlgo_DataMapOfShapeMapOfShape;
|
||||
|
||||
class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
class GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape : public TCollection_BasicMapIterator {
|
||||
|
||||
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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape();
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape(const GEOMAlgo_DataMapOfShapeMapOfShape& aMap);
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT void Initialize(const GEOMAlgo_DataMapOfShapeMapOfShape& aMap) ;
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT const TopoDS_Shape& Key() const;
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT const TopTools_MapOfShape& Value() const;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other Inline functions and methods (like "C++: function call" methods)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -1,59 +1,118 @@
|
||||
// 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 <GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
|
||||
|
||||
#ifndef _Standard_NoSuchObject_HeaderFile
|
||||
|
||||
#include <Standard_NoSuchObject.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TopoDS_Shape_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TopTools_MapOfShape_HeaderFile
|
||||
|
||||
#include <TopTools_MapOfShape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TopTools_ShapeMapHasher_HeaderFile
|
||||
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
#include <GEOMAlgo_DataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
#include <GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#define TheKey TopoDS_Shape
|
||||
|
||||
#define TheKey_hxx <TopoDS_Shape.hxx>
|
||||
|
||||
#define TheItem TopTools_MapOfShape
|
||||
|
||||
#define TheItem_hxx <TopTools_MapOfShape.hxx>
|
||||
|
||||
#define Hasher TopTools_ShapeMapHasher
|
||||
|
||||
#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
|
||||
|
||||
#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_()
|
||||
|
||||
#define TCollection_DataMap GEOMAlgo_DataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#include <TCollection_DataMapIterator.gxx>
|
||||
|
||||
|
||||
|
||||
|
@ -1,99 +1,198 @@
|
||||
// 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 _GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_HeaderFile
|
||||
|
||||
#define _GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_HeaderFile
|
||||
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
|
||||
#include <Standard_Macro.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifndef _TCollection_BasicMapIterator_HeaderFile
|
||||
|
||||
#include <TCollection_BasicMapIterator.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile
|
||||
|
||||
#include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
class Standard_NoSuchObject;
|
||||
|
||||
class TopoDS_Shape;
|
||||
|
||||
class gp_Pnt;
|
||||
|
||||
class TopTools_ShapeMapHasher;
|
||||
|
||||
class GEOMAlgo_DataMapOfShapePnt;
|
||||
|
||||
class GEOMAlgo_DataMapNodeOfDataMapOfShapePnt;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
class GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt : public TCollection_BasicMapIterator {
|
||||
|
||||
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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt();
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt(const GEOMAlgo_DataMapOfShapePnt& aMap);
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT void Initialize(const GEOMAlgo_DataMapOfShapePnt& aMap) ;
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT const TopoDS_Shape& Key() const;
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT const gp_Pnt& Value() const;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other Inline functions and methods (like "C++: function call" methods)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -1,59 +1,118 @@
|
||||
// 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 <GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt.hxx>
|
||||
|
||||
|
||||
|
||||
#ifndef _Standard_NoSuchObject_HeaderFile
|
||||
|
||||
#include <Standard_NoSuchObject.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TopoDS_Shape_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _gp_Pnt_HeaderFile
|
||||
|
||||
#include <gp_Pnt.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TopTools_ShapeMapHasher_HeaderFile
|
||||
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _GEOMAlgo_DataMapOfShapePnt_HeaderFile
|
||||
|
||||
#include <GEOMAlgo_DataMapOfShapePnt.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile
|
||||
|
||||
#include <GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#define TheKey TopoDS_Shape
|
||||
|
||||
#define TheKey_hxx <TopoDS_Shape.hxx>
|
||||
|
||||
#define TheItem gp_Pnt
|
||||
|
||||
#define TheItem_hxx <gp_Pnt.hxx>
|
||||
|
||||
#define Hasher TopTools_ShapeMapHasher
|
||||
|
||||
#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
|
||||
|
||||
#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_()
|
||||
|
||||
#define TCollection_DataMap GEOMAlgo_DataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfShapePnt.hxx>
|
||||
|
||||
#include <TCollection_DataMapIterator.gxx>
|
||||
|
||||
|
||||
|
||||
|
@ -1,102 +1,204 @@
|
||||
// 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 _GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
#define _GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_DefineHandle_HeaderFile
|
||||
|
||||
#include <Standard_DefineHandle.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
#include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifndef _TopoDS_Shape_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#endif
|
||||
#ifndef _TopTools_MapOfShape_HeaderFile
|
||||
#include <TopTools_MapOfShape.hxx>
|
||||
#endif
|
||||
#ifndef _TCollection_MapNode_HeaderFile
|
||||
#include <TCollection_MapNode.hxx>
|
||||
#endif
|
||||
#ifndef _TCollection_MapNodePtr_HeaderFile
|
||||
#include <TCollection_MapNodePtr.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TopTools_MapOfShape_HeaderFile
|
||||
|
||||
#include <TopTools_MapOfShape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TCollection_MapNode_HeaderFile
|
||||
|
||||
#include <TCollection_MapNode.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TCollection_MapNodePtr_HeaderFile
|
||||
|
||||
#include <TCollection_MapNodePtr.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
class TopoDS_Shape;
|
||||
|
||||
class TopTools_MapOfShape;
|
||||
|
||||
class TopTools_ShapeMapHasher;
|
||||
|
||||
class GEOMAlgo_DataMapOfShapeMapOfShape;
|
||||
|
||||
class GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape;
|
||||
|
||||
|
||||
|
||||
class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape : public TCollection_MapNode {
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape
|
||||
|
||||
(const TopoDS_Shape& K, const TopTools_MapOfShape& I, const TCollection_MapNodePtr& n);
|
||||
|
||||
|
||||
|
||||
TopoDS_Shape& Key() const;
|
||||
|
||||
TopTools_MapOfShape& Value() const;
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape)
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
TopoDS_Shape myKey;
|
||||
|
||||
TopTools_MapOfShape myValue;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
#define TheKey TopoDS_Shape
|
||||
|
||||
#define TheKey_hxx <TopoDS_Shape.hxx>
|
||||
|
||||
#define TheItem TopTools_MapOfShape
|
||||
|
||||
#define TheItem_hxx <TopTools_MapOfShape.hxx>
|
||||
|
||||
#define Hasher TopTools_ShapeMapHasher
|
||||
|
||||
#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
|
||||
|
||||
#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_()
|
||||
|
||||
#define TCollection_DataMap GEOMAlgo_DataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
|
||||
|
||||
#include <TCollection_DataMapNode.lxx>
|
||||
|
||||
|
||||
|
||||
#undef TheKey
|
||||
|
||||
#undef TheKey_hxx
|
||||
|
||||
#undef TheItem
|
||||
|
||||
#undef TheItem_hxx
|
||||
|
||||
#undef Hasher
|
||||
|
||||
#undef Hasher_hxx
|
||||
|
||||
#undef TCollection_DataMapNode
|
||||
|
||||
#undef TCollection_DataMapNode_hxx
|
||||
|
||||
#undef TCollection_DataMapIterator
|
||||
|
||||
#undef TCollection_DataMapIterator_hxx
|
||||
|
||||
#undef Handle_TCollection_DataMapNode
|
||||
|
||||
#undef TCollection_DataMapNode_Type_
|
||||
|
||||
#undef TCollection_DataMap
|
||||
|
||||
#undef TCollection_DataMap_hxx
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -1,117 +1,234 @@
|
||||
// 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 <GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
|
||||
|
||||
#include <Basics_OCCTVersion.hxx>
|
||||
|
||||
|
||||
|
||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||
|
||||
#include <Standard_TypeMismatch.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifndef _TopoDS_Shape_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TopTools_MapOfShape_HeaderFile
|
||||
|
||||
#include <TopTools_MapOfShape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TopTools_ShapeMapHasher_HeaderFile
|
||||
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
#include <GEOMAlgo_DataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
#include <GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#if OCC_VERSION_LARGE > 0x06040000 // Porting to OCCT6.5.1
|
||||
|
||||
|
||||
|
||||
IMPLEMENT_STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape)
|
||||
|
||||
IMPLEMENT_STANDARD_SUPERTYPE_ARRAY()
|
||||
|
||||
STANDARD_TYPE(TCollection_MapNode),
|
||||
|
||||
STANDARD_TYPE(MMgt_TShared),
|
||||
|
||||
STANDARD_TYPE(Standard_Transient),
|
||||
|
||||
|
||||
|
||||
IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END()
|
||||
|
||||
IMPLEMENT_STANDARD_TYPE_END(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape)
|
||||
|
||||
|
||||
|
||||
IMPLEMENT_DOWNCAST(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape,Standard_Transient)
|
||||
|
||||
IMPLEMENT_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape)
|
||||
|
||||
|
||||
|
||||
#else
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Handle_Standard_Type& GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_()
|
||||
|
||||
{
|
||||
|
||||
static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
|
||||
|
||||
static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
|
||||
|
||||
static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
|
||||
|
||||
|
||||
|
||||
static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
|
||||
|
||||
static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape",
|
||||
|
||||
sizeof(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape),
|
||||
|
||||
1,
|
||||
|
||||
(Standard_Address)_Ancestors,
|
||||
|
||||
(Standard_Address)NULL);
|
||||
|
||||
|
||||
|
||||
return _aType;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// DownCast method
|
||||
|
||||
// allow safe downcasting
|
||||
|
||||
//
|
||||
|
||||
const Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape) Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape)::DownCast(const Handle(Standard_Transient)& AnObject)
|
||||
|
||||
{
|
||||
|
||||
Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape) _anOtherObject;
|
||||
|
||||
|
||||
|
||||
if (!AnObject.IsNull()) {
|
||||
|
||||
if (AnObject->IsKind(STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape))) {
|
||||
|
||||
_anOtherObject = Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape)((Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape)&)AnObject);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
return _anOtherObject;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
const Handle(Standard_Type)& GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape::DynamicType() const
|
||||
|
||||
{
|
||||
|
||||
return STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#define TheKey TopoDS_Shape
|
||||
|
||||
#define TheKey_hxx <TopoDS_Shape.hxx>
|
||||
|
||||
#define TheItem TopTools_MapOfShape
|
||||
|
||||
#define TheItem_hxx <TopTools_MapOfShape.hxx>
|
||||
|
||||
#define Hasher TopTools_ShapeMapHasher
|
||||
|
||||
#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
|
||||
|
||||
#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_()
|
||||
|
||||
#define TCollection_DataMap GEOMAlgo_DataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#include <TCollection_DataMapNode.gxx>
|
||||
|
||||
|
||||
|
||||
|
@ -1,102 +1,204 @@
|
||||
// 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 _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile
|
||||
|
||||
#define _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile
|
||||
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_DefineHandle_HeaderFile
|
||||
|
||||
#include <Standard_DefineHandle.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile
|
||||
|
||||
#include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifndef _TopoDS_Shape_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _gp_Pnt_HeaderFile
|
||||
|
||||
#include <gp_Pnt.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TCollection_MapNode_HeaderFile
|
||||
|
||||
#include <TCollection_MapNode.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TCollection_MapNodePtr_HeaderFile
|
||||
|
||||
#include <TCollection_MapNodePtr.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
class TopoDS_Shape;
|
||||
|
||||
class gp_Pnt;
|
||||
|
||||
class TopTools_ShapeMapHasher;
|
||||
|
||||
class GEOMAlgo_DataMapOfShapePnt;
|
||||
|
||||
class GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt;
|
||||
|
||||
|
||||
|
||||
class GEOMAlgo_DataMapNodeOfDataMapOfShapePnt : public TCollection_MapNode
|
||||
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
GEOMAlgo_DataMapNodeOfDataMapOfShapePnt
|
||||
|
||||
(const TopoDS_Shape& K, const gp_Pnt& I, const TCollection_MapNodePtr& n);
|
||||
|
||||
|
||||
|
||||
TopoDS_Shape& Key() const;
|
||||
|
||||
gp_Pnt& Value() const;
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
TopoDS_Shape myKey;
|
||||
|
||||
gp_Pnt myValue;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
#define TheKey TopoDS_Shape
|
||||
|
||||
#define TheKey_hxx <TopoDS_Shape.hxx>
|
||||
|
||||
#define TheItem gp_Pnt
|
||||
|
||||
#define TheItem_hxx <gp_Pnt.hxx>
|
||||
|
||||
#define Hasher TopTools_ShapeMapHasher
|
||||
|
||||
#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
|
||||
|
||||
#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_()
|
||||
|
||||
#define TCollection_DataMap GEOMAlgo_DataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfShapePnt.hxx>
|
||||
|
||||
|
||||
|
||||
#include <TCollection_DataMapNode.lxx>
|
||||
|
||||
|
||||
|
||||
#undef TheKey
|
||||
|
||||
#undef TheKey_hxx
|
||||
|
||||
#undef TheItem
|
||||
|
||||
#undef TheItem_hxx
|
||||
|
||||
#undef Hasher
|
||||
|
||||
#undef Hasher_hxx
|
||||
|
||||
#undef TCollection_DataMapNode
|
||||
|
||||
#undef TCollection_DataMapNode_hxx
|
||||
|
||||
#undef TCollection_DataMapIterator
|
||||
|
||||
#undef TCollection_DataMapIterator_hxx
|
||||
|
||||
#undef Handle_TCollection_DataMapNode
|
||||
|
||||
#undef TCollection_DataMapNode_Type_
|
||||
|
||||
#undef TCollection_DataMap
|
||||
|
||||
#undef TCollection_DataMap_hxx
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -1,117 +1,234 @@
|
||||
// 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 <GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>
|
||||
|
||||
|
||||
|
||||
#include <Basics_OCCTVersion.hxx>
|
||||
|
||||
|
||||
|
||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||
|
||||
#include <Standard_TypeMismatch.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifndef _TopoDS_Shape_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _gp_Pnt_HeaderFile
|
||||
|
||||
#include <gp_Pnt.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TopTools_ShapeMapHasher_HeaderFile
|
||||
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _GEOMAlgo_DataMapOfShapePnt_HeaderFile
|
||||
|
||||
#include <GEOMAlgo_DataMapOfShapePnt.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_HeaderFile
|
||||
|
||||
#include <GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#if OCC_VERSION_LARGE > 0x06040000 // Porting to OCCT6.5.1
|
||||
|
||||
|
||||
|
||||
IMPLEMENT_STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)
|
||||
|
||||
IMPLEMENT_STANDARD_SUPERTYPE_ARRAY()
|
||||
|
||||
STANDARD_TYPE(TCollection_MapNode),
|
||||
|
||||
STANDARD_TYPE(MMgt_TShared),
|
||||
|
||||
STANDARD_TYPE(Standard_Transient),
|
||||
|
||||
|
||||
|
||||
IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END()
|
||||
|
||||
IMPLEMENT_STANDARD_TYPE_END(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)
|
||||
|
||||
|
||||
|
||||
IMPLEMENT_DOWNCAST(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt,Standard_Transient)
|
||||
|
||||
IMPLEMENT_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)
|
||||
|
||||
|
||||
|
||||
#else
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Handle_Standard_Type& GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_()
|
||||
|
||||
{
|
||||
|
||||
static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
|
||||
|
||||
static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
|
||||
|
||||
static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
|
||||
|
||||
|
||||
|
||||
static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
|
||||
|
||||
static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_DataMapNodeOfDataMapOfShapePnt",
|
||||
|
||||
sizeof(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt),
|
||||
|
||||
1,
|
||||
|
||||
(Standard_Address)_Ancestors,
|
||||
|
||||
(Standard_Address)NULL);
|
||||
|
||||
|
||||
|
||||
return _aType;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// DownCast method
|
||||
|
||||
// allow safe downcasting
|
||||
|
||||
//
|
||||
|
||||
const Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)::DownCast(const Handle(Standard_Transient)& AnObject)
|
||||
|
||||
{
|
||||
|
||||
Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) _anOtherObject;
|
||||
|
||||
|
||||
|
||||
if (!AnObject.IsNull()) {
|
||||
|
||||
if (AnObject->IsKind(STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt))) {
|
||||
|
||||
_anOtherObject = Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)((Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)&)AnObject);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
return _anOtherObject;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
const Handle(Standard_Type)& GEOMAlgo_DataMapNodeOfDataMapOfShapePnt::DynamicType() const
|
||||
|
||||
{
|
||||
|
||||
return STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#define TheKey TopoDS_Shape
|
||||
|
||||
#define TheKey_hxx <TopoDS_Shape.hxx>
|
||||
|
||||
#define TheItem gp_Pnt
|
||||
|
||||
#define TheItem_hxx <gp_Pnt.hxx>
|
||||
|
||||
#define Hasher TopTools_ShapeMapHasher
|
||||
|
||||
#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
|
||||
|
||||
#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_()
|
||||
|
||||
#define TCollection_DataMap GEOMAlgo_DataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfShapePnt.hxx>
|
||||
|
||||
#include <TCollection_DataMapNode.gxx>
|
||||
|
||||
|
||||
|
||||
|
@ -1,119 +1,238 @@
|
||||
// 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 _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
#define _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
|
||||
#include <Standard_Macro.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifndef _TCollection_BasicMap_HeaderFile
|
||||
|
||||
#include <TCollection_BasicMap.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile
|
||||
#include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Boolean_HeaderFile
|
||||
#include <Standard_Boolean.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
#include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
|
||||
#include <Standard_Integer.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_Boolean_HeaderFile
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
class Standard_DomainError;
|
||||
|
||||
class Standard_NoSuchObject;
|
||||
|
||||
class TopoDS_Shape;
|
||||
|
||||
class TopTools_MapOfShape;
|
||||
|
||||
class TopTools_ShapeMapHasher;
|
||||
|
||||
class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape;
|
||||
|
||||
class GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape;
|
||||
|
||||
|
||||
|
||||
#include <Basics_OCCTVersion.hxx>
|
||||
|
||||
|
||||
|
||||
class GEOMAlgo_DataMapOfShapeMapOfShape : public TCollection_BasicMap {
|
||||
|
||||
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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT GEOMAlgo_DataMapOfShapeMapOfShape(const Standard_Integer NbBuckets = 1);
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT GEOMAlgo_DataMapOfShapeMapOfShape& Assign(const GEOMAlgo_DataMapOfShapeMapOfShape& Other) ;
|
||||
|
||||
GEOMAlgo_DataMapOfShapeMapOfShape& operator =(const GEOMAlgo_DataMapOfShapeMapOfShape& Other)
|
||||
|
||||
{
|
||||
|
||||
return Assign(Other);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ;
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT void Clear() ;
|
||||
|
||||
~GEOMAlgo_DataMapOfShapeMapOfShape()
|
||||
|
||||
{
|
||||
|
||||
Clear();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Standard_Boolean Bind(const TopoDS_Shape& K,const TopTools_MapOfShape& I) ;
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Standard_Boolean IsBound(const TopoDS_Shape& K) const;
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Standard_Boolean UnBind(const TopoDS_Shape& K) ;
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT const TopTools_MapOfShape& Find(const TopoDS_Shape& K) const;
|
||||
|
||||
const TopTools_MapOfShape& operator()(const TopoDS_Shape& K) const
|
||||
|
||||
{
|
||||
|
||||
return Find(K);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT TopTools_MapOfShape& ChangeFind(const TopoDS_Shape& K) ;
|
||||
|
||||
TopTools_MapOfShape& operator()(const TopoDS_Shape& K)
|
||||
|
||||
{
|
||||
|
||||
return ChangeFind(K);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#if OCC_VERSION_LARGE > 0x06050100 // for OCC-6.5.2 and higher version
|
||||
|
||||
Standard_EXPORT Standard_Address Find1 (const TopoDS_Shape& K) const;
|
||||
|
||||
Standard_EXPORT Standard_Address ChangeFind1 (const TopoDS_Shape& K);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT GEOMAlgo_DataMapOfShapeMapOfShape(const GEOMAlgo_DataMapOfShapeMapOfShape& Other);
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
// other Inline functions and methods (like "C++: function call" methods)
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -1,62 +1,124 @@
|
||||
// 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 <GEOMAlgo_DataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
|
||||
|
||||
#ifndef _Standard_DomainError_HeaderFile
|
||||
|
||||
#include <Standard_DomainError.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_NoSuchObject_HeaderFile
|
||||
|
||||
#include <Standard_NoSuchObject.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TopoDS_Shape_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TopTools_MapOfShape_HeaderFile
|
||||
|
||||
#include <TopTools_MapOfShape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TopTools_ShapeMapHasher_HeaderFile
|
||||
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
#include <GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
#include <GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#define TheKey TopoDS_Shape
|
||||
|
||||
#define TheKey_hxx <TopoDS_Shape.hxx>
|
||||
|
||||
#define TheItem TopTools_MapOfShape
|
||||
|
||||
#define TheItem_hxx <TopTools_MapOfShape.hxx>
|
||||
|
||||
#define Hasher TopTools_ShapeMapHasher
|
||||
|
||||
#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
|
||||
|
||||
#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_()
|
||||
|
||||
#define TCollection_DataMap GEOMAlgo_DataMapOfShapeMapOfShape
|
||||
|
||||
#define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfShapeMapOfShape.hxx>
|
||||
|
||||
#include <TCollection_DataMap.gxx>
|
||||
|
||||
|
||||
|
||||
|
@ -1,119 +1,238 @@
|
||||
// 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 _GEOMAlgo_DataMapOfShapePnt_HeaderFile
|
||||
|
||||
#define _GEOMAlgo_DataMapOfShapePnt_HeaderFile
|
||||
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
|
||||
#include <Standard_Macro.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifndef _TCollection_BasicMap_HeaderFile
|
||||
|
||||
#include <TCollection_BasicMap.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile
|
||||
#include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Boolean_HeaderFile
|
||||
#include <Standard_Boolean.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile
|
||||
|
||||
#include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
|
||||
#include <Standard_Integer.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_Boolean_HeaderFile
|
||||
|
||||
#include <Standard_Boolean.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
class Standard_DomainError;
|
||||
|
||||
class Standard_NoSuchObject;
|
||||
|
||||
class TopoDS_Shape;
|
||||
|
||||
class gp_Pnt;
|
||||
|
||||
class TopTools_ShapeMapHasher;
|
||||
|
||||
class GEOMAlgo_DataMapNodeOfDataMapOfShapePnt;
|
||||
|
||||
class GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt;
|
||||
|
||||
|
||||
|
||||
#include <Basics_OCCTVersion.hxx>
|
||||
|
||||
|
||||
|
||||
class GEOMAlgo_DataMapOfShapePnt : public TCollection_BasicMap {
|
||||
|
||||
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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT GEOMAlgo_DataMapOfShapePnt(const Standard_Integer NbBuckets = 1);
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT GEOMAlgo_DataMapOfShapePnt& Assign(const GEOMAlgo_DataMapOfShapePnt& Other) ;
|
||||
|
||||
GEOMAlgo_DataMapOfShapePnt& operator =(const GEOMAlgo_DataMapOfShapePnt& Other)
|
||||
|
||||
{
|
||||
|
||||
return Assign(Other);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ;
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT void Clear() ;
|
||||
|
||||
~GEOMAlgo_DataMapOfShapePnt()
|
||||
|
||||
{
|
||||
|
||||
Clear();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Standard_Boolean Bind(const TopoDS_Shape& K,const gp_Pnt& I) ;
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Standard_Boolean IsBound(const TopoDS_Shape& K) const;
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Standard_Boolean UnBind(const TopoDS_Shape& K) ;
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT const gp_Pnt& Find(const TopoDS_Shape& K) const;
|
||||
|
||||
const gp_Pnt& operator()(const TopoDS_Shape& K) const
|
||||
|
||||
{
|
||||
|
||||
return Find(K);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT gp_Pnt& ChangeFind(const TopoDS_Shape& K) ;
|
||||
|
||||
gp_Pnt& operator()(const TopoDS_Shape& K)
|
||||
|
||||
{
|
||||
|
||||
return ChangeFind(K);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#if OCC_VERSION_LARGE > 0x06050100 // for OCC-6.5.2 and higher version
|
||||
|
||||
Standard_EXPORT Standard_Address Find1 (const TopoDS_Shape& K) const;
|
||||
|
||||
Standard_EXPORT Standard_Address ChangeFind1 (const TopoDS_Shape& K);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT GEOMAlgo_DataMapOfShapePnt(const GEOMAlgo_DataMapOfShapePnt& Other);
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
// other Inline functions and methods (like "C++: function call" methods)
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -1,62 +1,124 @@
|
||||
// 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 <GEOMAlgo_DataMapOfShapePnt.hxx>
|
||||
|
||||
|
||||
|
||||
#ifndef _Standard_DomainError_HeaderFile
|
||||
|
||||
#include <Standard_DomainError.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_NoSuchObject_HeaderFile
|
||||
|
||||
#include <Standard_NoSuchObject.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TopoDS_Shape_HeaderFile
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _gp_Pnt_HeaderFile
|
||||
|
||||
#include <gp_Pnt.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _TopTools_ShapeMapHasher_HeaderFile
|
||||
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile
|
||||
|
||||
#include <GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_HeaderFile
|
||||
|
||||
#include <GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#define TheKey TopoDS_Shape
|
||||
|
||||
#define TheKey_hxx <TopoDS_Shape.hxx>
|
||||
|
||||
#define TheItem gp_Pnt
|
||||
|
||||
#define TheItem_hxx <gp_Pnt.hxx>
|
||||
|
||||
#define Hasher TopTools_ShapeMapHasher
|
||||
|
||||
#define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
|
||||
|
||||
#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt.hxx>
|
||||
|
||||
#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_()
|
||||
|
||||
#define TCollection_DataMap GEOMAlgo_DataMapOfShapePnt
|
||||
|
||||
#define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfShapePnt.hxx>
|
||||
|
||||
#include <TCollection_DataMap.gxx>
|
||||
|
||||
|
||||
|
||||
|
@ -1,43 +1,86 @@
|
||||
// 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 _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
#define _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile
|
||||
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_DefineHandle_HeaderFile
|
||||
|
||||
#include <Standard_DefineHandle.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifndef _Handle_TCollection_MapNode_HeaderFile
|
||||
|
||||
#include <Handle_TCollection_MapNode.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
class Standard_Transient;
|
||||
|
||||
class Handle(Standard_Type);
|
||||
|
||||
class Handle(TCollection_MapNode);
|
||||
|
||||
class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape;
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_HANDLE(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape,TCollection_MapNode)
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -1,43 +1,86 @@
|
||||
// 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 _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile
|
||||
|
||||
#define _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile
|
||||
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_DefineHandle_HeaderFile
|
||||
|
||||
#include <Standard_DefineHandle.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifndef _Handle_TCollection_MapNode_HeaderFile
|
||||
|
||||
#include <Handle_TCollection_MapNode.hxx>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
class Standard_Transient;
|
||||
|
||||
class Handle(Standard_Type);
|
||||
|
||||
class Handle(TCollection_MapNode);
|
||||
|
||||
class GEOMAlgo_DataMapNodeOfDataMapOfShapePnt;
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_HANDLE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt,TCollection_MapNode)
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user