mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
NRI : First integration.
This commit is contained in:
parent
3a801f21b0
commit
c6248ade99
89
src/SMDS/Handle_SMDSControl_BoundaryEdges.hxx
Normal file
89
src/SMDS/Handle_SMDSControl_BoundaryEdges.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDSControl_BoundaryEdges_HeaderFile
|
||||
#define _Handle_SMDSControl_BoundaryEdges_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDSControl_MeshBoundary_HeaderFile
|
||||
#include "Handle_SMDSControl_MeshBoundary.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDSControl_MeshBoundary);
|
||||
class SMDSControl_BoundaryEdges;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDSControl_BoundaryEdges);
|
||||
|
||||
class Handle(SMDSControl_BoundaryEdges) : public Handle(SMDSControl_MeshBoundary) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDSControl_BoundaryEdges)():Handle(SMDSControl_MeshBoundary)() {}
|
||||
Handle(SMDSControl_BoundaryEdges)(const Handle(SMDSControl_BoundaryEdges)& aHandle) : Handle(SMDSControl_MeshBoundary)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDSControl_BoundaryEdges)(const SMDSControl_BoundaryEdges* anItem) : Handle(SMDSControl_MeshBoundary)((SMDSControl_MeshBoundary *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDSControl_BoundaryEdges)& operator=(const Handle(SMDSControl_BoundaryEdges)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDSControl_BoundaryEdges)& operator=(const SMDSControl_BoundaryEdges* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDSControl_BoundaryEdges* operator->()
|
||||
{
|
||||
return (SMDSControl_BoundaryEdges *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDSControl_BoundaryEdges* operator->() const
|
||||
{
|
||||
return (SMDSControl_BoundaryEdges *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDSControl_BoundaryEdges)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDSControl_BoundaryEdges) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDSControl_BoundaryFaces.hxx
Normal file
89
src/SMDS/Handle_SMDSControl_BoundaryFaces.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDSControl_BoundaryFaces_HeaderFile
|
||||
#define _Handle_SMDSControl_BoundaryFaces_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDSControl_MeshBoundary_HeaderFile
|
||||
#include "Handle_SMDSControl_MeshBoundary.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDSControl_MeshBoundary);
|
||||
class SMDSControl_BoundaryFaces;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDSControl_BoundaryFaces);
|
||||
|
||||
class Handle(SMDSControl_BoundaryFaces) : public Handle(SMDSControl_MeshBoundary) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDSControl_BoundaryFaces)():Handle(SMDSControl_MeshBoundary)() {}
|
||||
Handle(SMDSControl_BoundaryFaces)(const Handle(SMDSControl_BoundaryFaces)& aHandle) : Handle(SMDSControl_MeshBoundary)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDSControl_BoundaryFaces)(const SMDSControl_BoundaryFaces* anItem) : Handle(SMDSControl_MeshBoundary)((SMDSControl_MeshBoundary *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDSControl_BoundaryFaces)& operator=(const Handle(SMDSControl_BoundaryFaces)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDSControl_BoundaryFaces)& operator=(const SMDSControl_BoundaryFaces* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDSControl_BoundaryFaces* operator->()
|
||||
{
|
||||
return (SMDSControl_BoundaryFaces *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDSControl_BoundaryFaces* operator->() const
|
||||
{
|
||||
return (SMDSControl_BoundaryFaces *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDSControl_BoundaryFaces)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDSControl_BoundaryFaces) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDSControl_MeshBoundary.hxx
Normal file
89
src/SMDS/Handle_SMDSControl_MeshBoundary.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDSControl_MeshBoundary_HeaderFile
|
||||
#define _Handle_SMDSControl_MeshBoundary_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_MMgt_TShared_HeaderFile
|
||||
#include <Handle_MMgt_TShared.hxx>
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(MMgt_TShared);
|
||||
class SMDSControl_MeshBoundary;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDSControl_MeshBoundary);
|
||||
|
||||
class Handle(SMDSControl_MeshBoundary) : public Handle(MMgt_TShared) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDSControl_MeshBoundary)():Handle(MMgt_TShared)() {}
|
||||
Handle(SMDSControl_MeshBoundary)(const Handle(SMDSControl_MeshBoundary)& aHandle) : Handle(MMgt_TShared)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDSControl_MeshBoundary)(const SMDSControl_MeshBoundary* anItem) : Handle(MMgt_TShared)((MMgt_TShared *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDSControl_MeshBoundary)& operator=(const Handle(SMDSControl_MeshBoundary)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDSControl_MeshBoundary)& operator=(const SMDSControl_MeshBoundary* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDSControl_MeshBoundary* operator->()
|
||||
{
|
||||
return (SMDSControl_MeshBoundary *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDSControl_MeshBoundary* operator->() const
|
||||
{
|
||||
return (SMDSControl_MeshBoundary *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDSControl_MeshBoundary)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDSControl_MeshBoundary) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_HeaderFile
|
||||
#define _Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.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 SMDS_DataMapNodeOfDataMapOfIntegerMeshElement;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement);
|
||||
|
||||
class Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement) : public Handle(TCollection_MapNode) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement)():Handle(TCollection_MapNode)() {}
|
||||
Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement)(const Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement)& aHandle) : Handle(TCollection_MapNode)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement)(const SMDS_DataMapNodeOfDataMapOfIntegerMeshElement* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement)& operator=(const Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement)& operator=(const SMDS_DataMapNodeOfDataMapOfIntegerMeshElement* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_DataMapNodeOfDataMapOfIntegerMeshElement* operator->()
|
||||
{
|
||||
return (SMDS_DataMapNodeOfDataMapOfIntegerMeshElement *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_DataMapNodeOfDataMapOfIntegerMeshElement* operator->() const
|
||||
{
|
||||
return (SMDS_DataMapNodeOfDataMapOfIntegerMeshElement *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_DataMapNodeOfDataMapOfPntInteger.hxx
Normal file
89
src/SMDS/Handle_SMDS_DataMapNodeOfDataMapOfPntInteger.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_DataMapNodeOfDataMapOfPntInteger_HeaderFile
|
||||
#define _Handle_SMDS_DataMapNodeOfDataMapOfPntInteger_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.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 SMDS_DataMapNodeOfDataMapOfPntInteger;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_DataMapNodeOfDataMapOfPntInteger);
|
||||
|
||||
class Handle(SMDS_DataMapNodeOfDataMapOfPntInteger) : public Handle(TCollection_MapNode) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_DataMapNodeOfDataMapOfPntInteger)():Handle(TCollection_MapNode)() {}
|
||||
Handle(SMDS_DataMapNodeOfDataMapOfPntInteger)(const Handle(SMDS_DataMapNodeOfDataMapOfPntInteger)& aHandle) : Handle(TCollection_MapNode)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_DataMapNodeOfDataMapOfPntInteger)(const SMDS_DataMapNodeOfDataMapOfPntInteger* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_DataMapNodeOfDataMapOfPntInteger)& operator=(const Handle(SMDS_DataMapNodeOfDataMapOfPntInteger)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_DataMapNodeOfDataMapOfPntInteger)& operator=(const SMDS_DataMapNodeOfDataMapOfPntInteger* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_DataMapNodeOfDataMapOfPntInteger* operator->()
|
||||
{
|
||||
return (SMDS_DataMapNodeOfDataMapOfPntInteger *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_DataMapNodeOfDataMapOfPntInteger* operator->() const
|
||||
{
|
||||
return (SMDS_DataMapNodeOfDataMapOfPntInteger *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_DataMapNodeOfDataMapOfPntInteger)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_DataMapNodeOfDataMapOfPntInteger) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_EdgePosition.hxx
Normal file
89
src/SMDS/Handle_SMDS_EdgePosition.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_EdgePosition_HeaderFile
|
||||
#define _Handle_SMDS_EdgePosition_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_Position_HeaderFile
|
||||
#include "Handle_SMDS_Position.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_Position);
|
||||
class SMDS_EdgePosition;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_EdgePosition);
|
||||
|
||||
class Handle(SMDS_EdgePosition) : public Handle(SMDS_Position) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_EdgePosition)():Handle(SMDS_Position)() {}
|
||||
Handle(SMDS_EdgePosition)(const Handle(SMDS_EdgePosition)& aHandle) : Handle(SMDS_Position)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_EdgePosition)(const SMDS_EdgePosition* anItem) : Handle(SMDS_Position)((SMDS_Position *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_EdgePosition)& operator=(const Handle(SMDS_EdgePosition)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_EdgePosition)& operator=(const SMDS_EdgePosition* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_EdgePosition* operator->()
|
||||
{
|
||||
return (SMDS_EdgePosition *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_EdgePosition* operator->() const
|
||||
{
|
||||
return (SMDS_EdgePosition *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_EdgePosition)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_EdgePosition) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_FacePosition.hxx
Normal file
89
src/SMDS/Handle_SMDS_FacePosition.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_FacePosition_HeaderFile
|
||||
#define _Handle_SMDS_FacePosition_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_Position_HeaderFile
|
||||
#include "Handle_SMDS_Position.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_Position);
|
||||
class SMDS_FacePosition;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_FacePosition);
|
||||
|
||||
class Handle(SMDS_FacePosition) : public Handle(SMDS_Position) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_FacePosition)():Handle(SMDS_Position)() {}
|
||||
Handle(SMDS_FacePosition)(const Handle(SMDS_FacePosition)& aHandle) : Handle(SMDS_Position)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_FacePosition)(const SMDS_FacePosition* anItem) : Handle(SMDS_Position)((SMDS_Position *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_FacePosition)& operator=(const Handle(SMDS_FacePosition)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_FacePosition)& operator=(const SMDS_FacePosition* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_FacePosition* operator->()
|
||||
{
|
||||
return (SMDS_FacePosition *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_FacePosition* operator->() const
|
||||
{
|
||||
return (SMDS_FacePosition *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_FacePosition)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_FacePosition) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_HSequenceOfMesh.hxx
Normal file
89
src/SMDS/Handle_SMDS_HSequenceOfMesh.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_HSequenceOfMesh_HeaderFile
|
||||
#define _Handle_SMDS_HSequenceOfMesh_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_MMgt_TShared_HeaderFile
|
||||
#include <Handle_MMgt_TShared.hxx>
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(MMgt_TShared);
|
||||
class SMDS_HSequenceOfMesh;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_HSequenceOfMesh);
|
||||
|
||||
class Handle(SMDS_HSequenceOfMesh) : public Handle(MMgt_TShared) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_HSequenceOfMesh)():Handle(MMgt_TShared)() {}
|
||||
Handle(SMDS_HSequenceOfMesh)(const Handle(SMDS_HSequenceOfMesh)& aHandle) : Handle(MMgt_TShared)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_HSequenceOfMesh)(const SMDS_HSequenceOfMesh* anItem) : Handle(MMgt_TShared)((MMgt_TShared *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_HSequenceOfMesh)& operator=(const Handle(SMDS_HSequenceOfMesh)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_HSequenceOfMesh)& operator=(const SMDS_HSequenceOfMesh* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_HSequenceOfMesh* operator->()
|
||||
{
|
||||
return (SMDS_HSequenceOfMesh *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_HSequenceOfMesh* operator->() const
|
||||
{
|
||||
return (SMDS_HSequenceOfMesh *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_HSequenceOfMesh)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_HSequenceOfMesh) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_ListNodeOfListOfMesh.hxx
Normal file
89
src/SMDS/Handle_SMDS_ListNodeOfListOfMesh.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_ListNodeOfListOfMesh_HeaderFile
|
||||
#define _Handle_SMDS_ListNodeOfListOfMesh_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.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 SMDS_ListNodeOfListOfMesh;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_ListNodeOfListOfMesh);
|
||||
|
||||
class Handle(SMDS_ListNodeOfListOfMesh) : public Handle(TCollection_MapNode) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_ListNodeOfListOfMesh)():Handle(TCollection_MapNode)() {}
|
||||
Handle(SMDS_ListNodeOfListOfMesh)(const Handle(SMDS_ListNodeOfListOfMesh)& aHandle) : Handle(TCollection_MapNode)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_ListNodeOfListOfMesh)(const SMDS_ListNodeOfListOfMesh* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_ListNodeOfListOfMesh)& operator=(const Handle(SMDS_ListNodeOfListOfMesh)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_ListNodeOfListOfMesh)& operator=(const SMDS_ListNodeOfListOfMesh* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_ListNodeOfListOfMesh* operator->()
|
||||
{
|
||||
return (SMDS_ListNodeOfListOfMesh *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_ListNodeOfListOfMesh* operator->() const
|
||||
{
|
||||
return (SMDS_ListNodeOfListOfMesh *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_ListNodeOfListOfMesh)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_ListNodeOfListOfMesh) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_ListNodeOfListOfMeshElement.hxx
Normal file
89
src/SMDS/Handle_SMDS_ListNodeOfListOfMeshElement.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_ListNodeOfListOfMeshElement_HeaderFile
|
||||
#define _Handle_SMDS_ListNodeOfListOfMeshElement_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.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 SMDS_ListNodeOfListOfMeshElement;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_ListNodeOfListOfMeshElement);
|
||||
|
||||
class Handle(SMDS_ListNodeOfListOfMeshElement) : public Handle(TCollection_MapNode) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_ListNodeOfListOfMeshElement)():Handle(TCollection_MapNode)() {}
|
||||
Handle(SMDS_ListNodeOfListOfMeshElement)(const Handle(SMDS_ListNodeOfListOfMeshElement)& aHandle) : Handle(TCollection_MapNode)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_ListNodeOfListOfMeshElement)(const SMDS_ListNodeOfListOfMeshElement* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_ListNodeOfListOfMeshElement)& operator=(const Handle(SMDS_ListNodeOfListOfMeshElement)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_ListNodeOfListOfMeshElement)& operator=(const SMDS_ListNodeOfListOfMeshElement* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_ListNodeOfListOfMeshElement* operator->()
|
||||
{
|
||||
return (SMDS_ListNodeOfListOfMeshElement *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_ListNodeOfListOfMeshElement* operator->() const
|
||||
{
|
||||
return (SMDS_ListNodeOfListOfMeshElement *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_ListNodeOfListOfMeshElement)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_ListNodeOfListOfMeshElement) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_ListNodeOfListOfMeshGroup.hxx
Normal file
89
src/SMDS/Handle_SMDS_ListNodeOfListOfMeshGroup.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_ListNodeOfListOfMeshGroup_HeaderFile
|
||||
#define _Handle_SMDS_ListNodeOfListOfMeshGroup_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.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 SMDS_ListNodeOfListOfMeshGroup;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_ListNodeOfListOfMeshGroup);
|
||||
|
||||
class Handle(SMDS_ListNodeOfListOfMeshGroup) : public Handle(TCollection_MapNode) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_ListNodeOfListOfMeshGroup)():Handle(TCollection_MapNode)() {}
|
||||
Handle(SMDS_ListNodeOfListOfMeshGroup)(const Handle(SMDS_ListNodeOfListOfMeshGroup)& aHandle) : Handle(TCollection_MapNode)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_ListNodeOfListOfMeshGroup)(const SMDS_ListNodeOfListOfMeshGroup* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_ListNodeOfListOfMeshGroup)& operator=(const Handle(SMDS_ListNodeOfListOfMeshGroup)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_ListNodeOfListOfMeshGroup)& operator=(const SMDS_ListNodeOfListOfMeshGroup* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_ListNodeOfListOfMeshGroup* operator->()
|
||||
{
|
||||
return (SMDS_ListNodeOfListOfMeshGroup *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_ListNodeOfListOfMeshGroup* operator->() const
|
||||
{
|
||||
return (SMDS_ListNodeOfListOfMeshGroup *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_ListNodeOfListOfMeshGroup)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_ListNodeOfListOfMeshGroup) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_Mesh.hxx
Normal file
89
src/SMDS/Handle_SMDS_Mesh.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_Mesh_HeaderFile
|
||||
#define _Handle_SMDS_Mesh_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshObject_HeaderFile
|
||||
#include "Handle_SMDS_MeshObject.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshObject);
|
||||
class SMDS_Mesh;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_Mesh);
|
||||
|
||||
class Handle(SMDS_Mesh) : public Handle(SMDS_MeshObject) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_Mesh)():Handle(SMDS_MeshObject)() {}
|
||||
Handle(SMDS_Mesh)(const Handle(SMDS_Mesh)& aHandle) : Handle(SMDS_MeshObject)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_Mesh)(const SMDS_Mesh* anItem) : Handle(SMDS_MeshObject)((SMDS_MeshObject *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_Mesh)& operator=(const Handle(SMDS_Mesh)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_Mesh)& operator=(const SMDS_Mesh* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_Mesh* operator->()
|
||||
{
|
||||
return (SMDS_Mesh *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_Mesh* operator->() const
|
||||
{
|
||||
return (SMDS_Mesh *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_Mesh)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_Mesh) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshEdge.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshEdge.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshEdge_HeaderFile
|
||||
#define _Handle_SMDS_MeshEdge_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshElement_HeaderFile
|
||||
#include "Handle_SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshElement);
|
||||
class SMDS_MeshEdge;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshEdge);
|
||||
|
||||
class Handle(SMDS_MeshEdge) : public Handle(SMDS_MeshElement) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshEdge)():Handle(SMDS_MeshElement)() {}
|
||||
Handle(SMDS_MeshEdge)(const Handle(SMDS_MeshEdge)& aHandle) : Handle(SMDS_MeshElement)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshEdge)(const SMDS_MeshEdge* anItem) : Handle(SMDS_MeshElement)((SMDS_MeshElement *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshEdge)& operator=(const Handle(SMDS_MeshEdge)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshEdge)& operator=(const SMDS_MeshEdge* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshEdge* operator->()
|
||||
{
|
||||
return (SMDS_MeshEdge *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshEdge* operator->() const
|
||||
{
|
||||
return (SMDS_MeshEdge *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshEdge)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshEdge) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshElement.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshElement.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshElement_HeaderFile
|
||||
#define _Handle_SMDS_MeshElement_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshObject_HeaderFile
|
||||
#include "Handle_SMDS_MeshObject.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshObject);
|
||||
class SMDS_MeshElement;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshElement);
|
||||
|
||||
class Handle(SMDS_MeshElement) : public Handle(SMDS_MeshObject) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshElement)():Handle(SMDS_MeshObject)() {}
|
||||
Handle(SMDS_MeshElement)(const Handle(SMDS_MeshElement)& aHandle) : Handle(SMDS_MeshObject)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshElement)(const SMDS_MeshElement* anItem) : Handle(SMDS_MeshObject)((SMDS_MeshObject *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshElement)& operator=(const Handle(SMDS_MeshElement)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshElement)& operator=(const SMDS_MeshElement* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshElement* operator->()
|
||||
{
|
||||
return (SMDS_MeshElement *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshElement* operator->() const
|
||||
{
|
||||
return (SMDS_MeshElement *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshElement)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshElement) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshElementIDFactory.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshElementIDFactory.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshElementIDFactory_HeaderFile
|
||||
#define _Handle_SMDS_MeshElementIDFactory_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshIDFactory_HeaderFile
|
||||
#include "Handle_SMDS_MeshIDFactory.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshIDFactory);
|
||||
class SMDS_MeshElementIDFactory;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshElementIDFactory);
|
||||
|
||||
class Handle(SMDS_MeshElementIDFactory) : public Handle(SMDS_MeshIDFactory) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshElementIDFactory)():Handle(SMDS_MeshIDFactory)() {}
|
||||
Handle(SMDS_MeshElementIDFactory)(const Handle(SMDS_MeshElementIDFactory)& aHandle) : Handle(SMDS_MeshIDFactory)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshElementIDFactory)(const SMDS_MeshElementIDFactory* anItem) : Handle(SMDS_MeshIDFactory)((SMDS_MeshIDFactory *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshElementIDFactory)& operator=(const Handle(SMDS_MeshElementIDFactory)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshElementIDFactory)& operator=(const SMDS_MeshElementIDFactory* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshElementIDFactory* operator->()
|
||||
{
|
||||
return (SMDS_MeshElementIDFactory *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshElementIDFactory* operator->() const
|
||||
{
|
||||
return (SMDS_MeshElementIDFactory *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshElementIDFactory)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshElementIDFactory) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshFace.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshFace.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshFace_HeaderFile
|
||||
#define _Handle_SMDS_MeshFace_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshElement_HeaderFile
|
||||
#include "Handle_SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshElement);
|
||||
class SMDS_MeshFace;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshFace);
|
||||
|
||||
class Handle(SMDS_MeshFace) : public Handle(SMDS_MeshElement) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshFace)():Handle(SMDS_MeshElement)() {}
|
||||
Handle(SMDS_MeshFace)(const Handle(SMDS_MeshFace)& aHandle) : Handle(SMDS_MeshElement)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshFace)(const SMDS_MeshFace* anItem) : Handle(SMDS_MeshElement)((SMDS_MeshElement *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshFace)& operator=(const Handle(SMDS_MeshFace)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshFace)& operator=(const SMDS_MeshFace* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshFace* operator->()
|
||||
{
|
||||
return (SMDS_MeshFace *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshFace* operator->() const
|
||||
{
|
||||
return (SMDS_MeshFace *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshFace)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshFace) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshGroup.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshGroup.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshGroup_HeaderFile
|
||||
#define _Handle_SMDS_MeshGroup_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshObject_HeaderFile
|
||||
#include "Handle_SMDS_MeshObject.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshObject);
|
||||
class SMDS_MeshGroup;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshGroup);
|
||||
|
||||
class Handle(SMDS_MeshGroup) : public Handle(SMDS_MeshObject) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshGroup)():Handle(SMDS_MeshObject)() {}
|
||||
Handle(SMDS_MeshGroup)(const Handle(SMDS_MeshGroup)& aHandle) : Handle(SMDS_MeshObject)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshGroup)(const SMDS_MeshGroup* anItem) : Handle(SMDS_MeshObject)((SMDS_MeshObject *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshGroup)& operator=(const Handle(SMDS_MeshGroup)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshGroup)& operator=(const SMDS_MeshGroup* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshGroup* operator->()
|
||||
{
|
||||
return (SMDS_MeshGroup *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshGroup* operator->() const
|
||||
{
|
||||
return (SMDS_MeshGroup *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshGroup)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshGroup) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshHexahedron.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshHexahedron.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshHexahedron_HeaderFile
|
||||
#define _Handle_SMDS_MeshHexahedron_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshVolume_HeaderFile
|
||||
#include "Handle_SMDS_MeshVolume.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshVolume);
|
||||
class SMDS_MeshHexahedron;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshHexahedron);
|
||||
|
||||
class Handle(SMDS_MeshHexahedron) : public Handle(SMDS_MeshVolume) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshHexahedron)():Handle(SMDS_MeshVolume)() {}
|
||||
Handle(SMDS_MeshHexahedron)(const Handle(SMDS_MeshHexahedron)& aHandle) : Handle(SMDS_MeshVolume)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshHexahedron)(const SMDS_MeshHexahedron* anItem) : Handle(SMDS_MeshVolume)((SMDS_MeshVolume *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshHexahedron)& operator=(const Handle(SMDS_MeshHexahedron)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshHexahedron)& operator=(const SMDS_MeshHexahedron* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshHexahedron* operator->()
|
||||
{
|
||||
return (SMDS_MeshHexahedron *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshHexahedron* operator->() const
|
||||
{
|
||||
return (SMDS_MeshHexahedron *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshHexahedron)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshHexahedron) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshIDFactory.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshIDFactory.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshIDFactory_HeaderFile
|
||||
#define _Handle_SMDS_MeshIDFactory_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshObject_HeaderFile
|
||||
#include "Handle_SMDS_MeshObject.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshObject);
|
||||
class SMDS_MeshIDFactory;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshIDFactory);
|
||||
|
||||
class Handle(SMDS_MeshIDFactory) : public Handle(SMDS_MeshObject) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshIDFactory)():Handle(SMDS_MeshObject)() {}
|
||||
Handle(SMDS_MeshIDFactory)(const Handle(SMDS_MeshIDFactory)& aHandle) : Handle(SMDS_MeshObject)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshIDFactory)(const SMDS_MeshIDFactory* anItem) : Handle(SMDS_MeshObject)((SMDS_MeshObject *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshIDFactory)& operator=(const Handle(SMDS_MeshIDFactory)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshIDFactory)& operator=(const SMDS_MeshIDFactory* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshIDFactory* operator->()
|
||||
{
|
||||
return (SMDS_MeshIDFactory *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshIDFactory* operator->() const
|
||||
{
|
||||
return (SMDS_MeshIDFactory *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshIDFactory)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshIDFactory) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshNode.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshNode.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshNode_HeaderFile
|
||||
#define _Handle_SMDS_MeshNode_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshElement_HeaderFile
|
||||
#include "Handle_SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshElement);
|
||||
class SMDS_MeshNode;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshNode);
|
||||
|
||||
class Handle(SMDS_MeshNode) : public Handle(SMDS_MeshElement) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshNode)():Handle(SMDS_MeshElement)() {}
|
||||
Handle(SMDS_MeshNode)(const Handle(SMDS_MeshNode)& aHandle) : Handle(SMDS_MeshElement)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshNode)(const SMDS_MeshNode* anItem) : Handle(SMDS_MeshElement)((SMDS_MeshElement *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshNode)& operator=(const Handle(SMDS_MeshNode)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshNode)& operator=(const SMDS_MeshNode* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshNode* operator->()
|
||||
{
|
||||
return (SMDS_MeshNode *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshNode* operator->() const
|
||||
{
|
||||
return (SMDS_MeshNode *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshNode)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshNode) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshNodeIDFactory.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshNodeIDFactory.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshNodeIDFactory_HeaderFile
|
||||
#define _Handle_SMDS_MeshNodeIDFactory_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshIDFactory_HeaderFile
|
||||
#include "Handle_SMDS_MeshIDFactory.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshIDFactory);
|
||||
class SMDS_MeshNodeIDFactory;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshNodeIDFactory);
|
||||
|
||||
class Handle(SMDS_MeshNodeIDFactory) : public Handle(SMDS_MeshIDFactory) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshNodeIDFactory)():Handle(SMDS_MeshIDFactory)() {}
|
||||
Handle(SMDS_MeshNodeIDFactory)(const Handle(SMDS_MeshNodeIDFactory)& aHandle) : Handle(SMDS_MeshIDFactory)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshNodeIDFactory)(const SMDS_MeshNodeIDFactory* anItem) : Handle(SMDS_MeshIDFactory)((SMDS_MeshIDFactory *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshNodeIDFactory)& operator=(const Handle(SMDS_MeshNodeIDFactory)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshNodeIDFactory)& operator=(const SMDS_MeshNodeIDFactory* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshNodeIDFactory* operator->()
|
||||
{
|
||||
return (SMDS_MeshNodeIDFactory *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshNodeIDFactory* operator->() const
|
||||
{
|
||||
return (SMDS_MeshNodeIDFactory *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshNodeIDFactory)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshNodeIDFactory) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshObject.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshObject.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshObject_HeaderFile
|
||||
#define _Handle_SMDS_MeshObject_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_MMgt_TShared_HeaderFile
|
||||
#include <Handle_MMgt_TShared.hxx>
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(MMgt_TShared);
|
||||
class SMDS_MeshObject;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshObject);
|
||||
|
||||
class Handle(SMDS_MeshObject) : public Handle(MMgt_TShared) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshObject)():Handle(MMgt_TShared)() {}
|
||||
Handle(SMDS_MeshObject)(const Handle(SMDS_MeshObject)& aHandle) : Handle(MMgt_TShared)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshObject)(const SMDS_MeshObject* anItem) : Handle(MMgt_TShared)((MMgt_TShared *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshObject)& operator=(const Handle(SMDS_MeshObject)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshObject)& operator=(const SMDS_MeshObject* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshObject* operator->()
|
||||
{
|
||||
return (SMDS_MeshObject *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshObject* operator->() const
|
||||
{
|
||||
return (SMDS_MeshObject *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshObject)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshObject) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshPrism.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshPrism.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshPrism_HeaderFile
|
||||
#define _Handle_SMDS_MeshPrism_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshVolume_HeaderFile
|
||||
#include "Handle_SMDS_MeshVolume.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshVolume);
|
||||
class SMDS_MeshPrism;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshPrism);
|
||||
|
||||
class Handle(SMDS_MeshPrism) : public Handle(SMDS_MeshVolume) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshPrism)():Handle(SMDS_MeshVolume)() {}
|
||||
Handle(SMDS_MeshPrism)(const Handle(SMDS_MeshPrism)& aHandle) : Handle(SMDS_MeshVolume)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshPrism)(const SMDS_MeshPrism* anItem) : Handle(SMDS_MeshVolume)((SMDS_MeshVolume *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshPrism)& operator=(const Handle(SMDS_MeshPrism)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshPrism)& operator=(const SMDS_MeshPrism* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshPrism* operator->()
|
||||
{
|
||||
return (SMDS_MeshPrism *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshPrism* operator->() const
|
||||
{
|
||||
return (SMDS_MeshPrism *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshPrism)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshPrism) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshPyramid.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshPyramid.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshPyramid_HeaderFile
|
||||
#define _Handle_SMDS_MeshPyramid_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshVolume_HeaderFile
|
||||
#include "Handle_SMDS_MeshVolume.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshVolume);
|
||||
class SMDS_MeshPyramid;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshPyramid);
|
||||
|
||||
class Handle(SMDS_MeshPyramid) : public Handle(SMDS_MeshVolume) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshPyramid)():Handle(SMDS_MeshVolume)() {}
|
||||
Handle(SMDS_MeshPyramid)(const Handle(SMDS_MeshPyramid)& aHandle) : Handle(SMDS_MeshVolume)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshPyramid)(const SMDS_MeshPyramid* anItem) : Handle(SMDS_MeshVolume)((SMDS_MeshVolume *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshPyramid)& operator=(const Handle(SMDS_MeshPyramid)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshPyramid)& operator=(const SMDS_MeshPyramid* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshPyramid* operator->()
|
||||
{
|
||||
return (SMDS_MeshPyramid *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshPyramid* operator->() const
|
||||
{
|
||||
return (SMDS_MeshPyramid *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshPyramid)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshPyramid) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshQuadrangle.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshQuadrangle.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshQuadrangle_HeaderFile
|
||||
#define _Handle_SMDS_MeshQuadrangle_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshFace_HeaderFile
|
||||
#include "Handle_SMDS_MeshFace.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshFace);
|
||||
class SMDS_MeshQuadrangle;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshQuadrangle);
|
||||
|
||||
class Handle(SMDS_MeshQuadrangle) : public Handle(SMDS_MeshFace) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshQuadrangle)():Handle(SMDS_MeshFace)() {}
|
||||
Handle(SMDS_MeshQuadrangle)(const Handle(SMDS_MeshQuadrangle)& aHandle) : Handle(SMDS_MeshFace)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshQuadrangle)(const SMDS_MeshQuadrangle* anItem) : Handle(SMDS_MeshFace)((SMDS_MeshFace *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshQuadrangle)& operator=(const Handle(SMDS_MeshQuadrangle)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshQuadrangle)& operator=(const SMDS_MeshQuadrangle* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshQuadrangle* operator->()
|
||||
{
|
||||
return (SMDS_MeshQuadrangle *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshQuadrangle* operator->() const
|
||||
{
|
||||
return (SMDS_MeshQuadrangle *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshQuadrangle)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshQuadrangle) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshTetrahedron.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshTetrahedron.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshTetrahedron_HeaderFile
|
||||
#define _Handle_SMDS_MeshTetrahedron_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshVolume_HeaderFile
|
||||
#include "Handle_SMDS_MeshVolume.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshVolume);
|
||||
class SMDS_MeshTetrahedron;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshTetrahedron);
|
||||
|
||||
class Handle(SMDS_MeshTetrahedron) : public Handle(SMDS_MeshVolume) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshTetrahedron)():Handle(SMDS_MeshVolume)() {}
|
||||
Handle(SMDS_MeshTetrahedron)(const Handle(SMDS_MeshTetrahedron)& aHandle) : Handle(SMDS_MeshVolume)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshTetrahedron)(const SMDS_MeshTetrahedron* anItem) : Handle(SMDS_MeshVolume)((SMDS_MeshVolume *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshTetrahedron)& operator=(const Handle(SMDS_MeshTetrahedron)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshTetrahedron)& operator=(const SMDS_MeshTetrahedron* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshTetrahedron* operator->()
|
||||
{
|
||||
return (SMDS_MeshTetrahedron *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshTetrahedron* operator->() const
|
||||
{
|
||||
return (SMDS_MeshTetrahedron *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshTetrahedron)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshTetrahedron) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshTriangle.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshTriangle.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshTriangle_HeaderFile
|
||||
#define _Handle_SMDS_MeshTriangle_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshFace_HeaderFile
|
||||
#include "Handle_SMDS_MeshFace.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshFace);
|
||||
class SMDS_MeshTriangle;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshTriangle);
|
||||
|
||||
class Handle(SMDS_MeshTriangle) : public Handle(SMDS_MeshFace) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshTriangle)():Handle(SMDS_MeshFace)() {}
|
||||
Handle(SMDS_MeshTriangle)(const Handle(SMDS_MeshTriangle)& aHandle) : Handle(SMDS_MeshFace)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshTriangle)(const SMDS_MeshTriangle* anItem) : Handle(SMDS_MeshFace)((SMDS_MeshFace *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshTriangle)& operator=(const Handle(SMDS_MeshTriangle)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshTriangle)& operator=(const SMDS_MeshTriangle* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshTriangle* operator->()
|
||||
{
|
||||
return (SMDS_MeshTriangle *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshTriangle* operator->() const
|
||||
{
|
||||
return (SMDS_MeshTriangle *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshTriangle)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshTriangle) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_MeshVolume.hxx
Normal file
89
src/SMDS/Handle_SMDS_MeshVolume.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_MeshVolume_HeaderFile
|
||||
#define _Handle_SMDS_MeshVolume_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_MeshElement_HeaderFile
|
||||
#include "Handle_SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_MeshElement);
|
||||
class SMDS_MeshVolume;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_MeshVolume);
|
||||
|
||||
class Handle(SMDS_MeshVolume) : public Handle(SMDS_MeshElement) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_MeshVolume)():Handle(SMDS_MeshElement)() {}
|
||||
Handle(SMDS_MeshVolume)(const Handle(SMDS_MeshVolume)& aHandle) : Handle(SMDS_MeshElement)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshVolume)(const SMDS_MeshVolume* anItem) : Handle(SMDS_MeshElement)((SMDS_MeshElement *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshVolume)& operator=(const Handle(SMDS_MeshVolume)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_MeshVolume)& operator=(const SMDS_MeshVolume* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_MeshVolume* operator->()
|
||||
{
|
||||
return (SMDS_MeshVolume *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_MeshVolume* operator->() const
|
||||
{
|
||||
return (SMDS_MeshVolume *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_MeshVolume)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_MeshVolume) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_Position.hxx
Normal file
89
src/SMDS/Handle_SMDS_Position.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_Position_HeaderFile
|
||||
#define _Handle_SMDS_Position_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_MMgt_TShared_HeaderFile
|
||||
#include <Handle_MMgt_TShared.hxx>
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(MMgt_TShared);
|
||||
class SMDS_Position;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_Position);
|
||||
|
||||
class Handle(SMDS_Position) : public Handle(MMgt_TShared) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_Position)():Handle(MMgt_TShared)() {}
|
||||
Handle(SMDS_Position)(const Handle(SMDS_Position)& aHandle) : Handle(MMgt_TShared)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_Position)(const SMDS_Position* anItem) : Handle(MMgt_TShared)((MMgt_TShared *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_Position)& operator=(const Handle(SMDS_Position)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_Position)& operator=(const SMDS_Position* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_Position* operator->()
|
||||
{
|
||||
return (SMDS_Position *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_Position* operator->() const
|
||||
{
|
||||
return (SMDS_Position *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_Position)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_Position) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_SequenceNodeOfSequenceOfMesh.hxx
Normal file
89
src/SMDS/Handle_SMDS_SequenceNodeOfSequenceOfMesh.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_SequenceNodeOfSequenceOfMesh_HeaderFile
|
||||
#define _Handle_SMDS_SequenceNodeOfSequenceOfMesh_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_TCollection_SeqNode_HeaderFile
|
||||
#include <Handle_TCollection_SeqNode.hxx>
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(TCollection_SeqNode);
|
||||
class SMDS_SequenceNodeOfSequenceOfMesh;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_SequenceNodeOfSequenceOfMesh);
|
||||
|
||||
class Handle(SMDS_SequenceNodeOfSequenceOfMesh) : public Handle(TCollection_SeqNode) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_SequenceNodeOfSequenceOfMesh)():Handle(TCollection_SeqNode)() {}
|
||||
Handle(SMDS_SequenceNodeOfSequenceOfMesh)(const Handle(SMDS_SequenceNodeOfSequenceOfMesh)& aHandle) : Handle(TCollection_SeqNode)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_SequenceNodeOfSequenceOfMesh)(const SMDS_SequenceNodeOfSequenceOfMesh* anItem) : Handle(TCollection_SeqNode)((TCollection_SeqNode *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_SequenceNodeOfSequenceOfMesh)& operator=(const Handle(SMDS_SequenceNodeOfSequenceOfMesh)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_SequenceNodeOfSequenceOfMesh)& operator=(const SMDS_SequenceNodeOfSequenceOfMesh* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_SequenceNodeOfSequenceOfMesh* operator->()
|
||||
{
|
||||
return (SMDS_SequenceNodeOfSequenceOfMesh *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_SequenceNodeOfSequenceOfMesh* operator->() const
|
||||
{
|
||||
return (SMDS_SequenceNodeOfSequenceOfMesh *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_SequenceNodeOfSequenceOfMesh)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_SequenceNodeOfSequenceOfMesh) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_SpacePosition.hxx
Normal file
89
src/SMDS/Handle_SMDS_SpacePosition.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_SpacePosition_HeaderFile
|
||||
#define _Handle_SMDS_SpacePosition_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_Position_HeaderFile
|
||||
#include "Handle_SMDS_Position.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_Position);
|
||||
class SMDS_SpacePosition;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_SpacePosition);
|
||||
|
||||
class Handle(SMDS_SpacePosition) : public Handle(SMDS_Position) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_SpacePosition)():Handle(SMDS_Position)() {}
|
||||
Handle(SMDS_SpacePosition)(const Handle(SMDS_SpacePosition)& aHandle) : Handle(SMDS_Position)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_SpacePosition)(const SMDS_SpacePosition* anItem) : Handle(SMDS_Position)((SMDS_Position *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_SpacePosition)& operator=(const Handle(SMDS_SpacePosition)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_SpacePosition)& operator=(const SMDS_SpacePosition* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_SpacePosition* operator->()
|
||||
{
|
||||
return (SMDS_SpacePosition *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_SpacePosition* operator->() const
|
||||
{
|
||||
return (SMDS_SpacePosition *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_SpacePosition)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_SpacePosition) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_StdMapNodeOfExtendedMap.hxx
Normal file
89
src/SMDS/Handle_SMDS_StdMapNodeOfExtendedMap.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_StdMapNodeOfExtendedMap_HeaderFile
|
||||
#define _Handle_SMDS_StdMapNodeOfExtendedMap_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.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 SMDS_StdMapNodeOfExtendedMap;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_StdMapNodeOfExtendedMap);
|
||||
|
||||
class Handle(SMDS_StdMapNodeOfExtendedMap) : public Handle(TCollection_MapNode) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_StdMapNodeOfExtendedMap)():Handle(TCollection_MapNode)() {}
|
||||
Handle(SMDS_StdMapNodeOfExtendedMap)(const Handle(SMDS_StdMapNodeOfExtendedMap)& aHandle) : Handle(TCollection_MapNode)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_StdMapNodeOfExtendedMap)(const SMDS_StdMapNodeOfExtendedMap* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_StdMapNodeOfExtendedMap)& operator=(const Handle(SMDS_StdMapNodeOfExtendedMap)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_StdMapNodeOfExtendedMap)& operator=(const SMDS_StdMapNodeOfExtendedMap* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_StdMapNodeOfExtendedMap* operator->()
|
||||
{
|
||||
return (SMDS_StdMapNodeOfExtendedMap *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_StdMapNodeOfExtendedMap* operator->() const
|
||||
{
|
||||
return (SMDS_StdMapNodeOfExtendedMap *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_StdMapNodeOfExtendedMap)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_StdMapNodeOfExtendedMap) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_StdMapNodeOfExtendedOrientedMap.hxx
Normal file
89
src/SMDS/Handle_SMDS_StdMapNodeOfExtendedOrientedMap.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_StdMapNodeOfExtendedOrientedMap_HeaderFile
|
||||
#define _Handle_SMDS_StdMapNodeOfExtendedOrientedMap_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.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 SMDS_StdMapNodeOfExtendedOrientedMap;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_StdMapNodeOfExtendedOrientedMap);
|
||||
|
||||
class Handle(SMDS_StdMapNodeOfExtendedOrientedMap) : public Handle(TCollection_MapNode) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_StdMapNodeOfExtendedOrientedMap)():Handle(TCollection_MapNode)() {}
|
||||
Handle(SMDS_StdMapNodeOfExtendedOrientedMap)(const Handle(SMDS_StdMapNodeOfExtendedOrientedMap)& aHandle) : Handle(TCollection_MapNode)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_StdMapNodeOfExtendedOrientedMap)(const SMDS_StdMapNodeOfExtendedOrientedMap* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_StdMapNodeOfExtendedOrientedMap)& operator=(const Handle(SMDS_StdMapNodeOfExtendedOrientedMap)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_StdMapNodeOfExtendedOrientedMap)& operator=(const SMDS_StdMapNodeOfExtendedOrientedMap* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_StdMapNodeOfExtendedOrientedMap* operator->()
|
||||
{
|
||||
return (SMDS_StdMapNodeOfExtendedOrientedMap *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_StdMapNodeOfExtendedOrientedMap* operator->() const
|
||||
{
|
||||
return (SMDS_StdMapNodeOfExtendedOrientedMap *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_StdMapNodeOfExtendedOrientedMap)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_StdMapNodeOfExtendedOrientedMap) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
89
src/SMDS/Handle_SMDS_VertexPosition.hxx
Normal file
89
src/SMDS/Handle_SMDS_VertexPosition.hxx
Normal file
@ -0,0 +1,89 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _Handle_SMDS_VertexPosition_HeaderFile
|
||||
#define _Handle_SMDS_VertexPosition_HeaderFile
|
||||
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_Position_HeaderFile
|
||||
#include "Handle_SMDS_Position.hxx"
|
||||
#endif
|
||||
|
||||
class Standard_Transient;
|
||||
class Handle_Standard_Type;
|
||||
class Handle(SMDS_Position);
|
||||
class SMDS_VertexPosition;
|
||||
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SMDS_VertexPosition);
|
||||
|
||||
class Handle(SMDS_VertexPosition) : public Handle(SMDS_Position) {
|
||||
public:
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
Handle(SMDS_VertexPosition)():Handle(SMDS_Position)() {}
|
||||
Handle(SMDS_VertexPosition)(const Handle(SMDS_VertexPosition)& aHandle) : Handle(SMDS_Position)(aHandle)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_VertexPosition)(const SMDS_VertexPosition* anItem) : Handle(SMDS_Position)((SMDS_Position *)anItem)
|
||||
{
|
||||
}
|
||||
|
||||
Handle(SMDS_VertexPosition)& operator=(const Handle(SMDS_VertexPosition)& aHandle)
|
||||
{
|
||||
Assign(aHandle.Access());
|
||||
return *this;
|
||||
}
|
||||
|
||||
Handle(SMDS_VertexPosition)& operator=(const SMDS_VertexPosition* anItem)
|
||||
{
|
||||
Assign((Standard_Transient *)anItem);
|
||||
return *this;
|
||||
}
|
||||
|
||||
SMDS_VertexPosition* operator->()
|
||||
{
|
||||
return (SMDS_VertexPosition *)ControlAccess();
|
||||
}
|
||||
|
||||
SMDS_VertexPosition* operator->() const
|
||||
{
|
||||
return (SMDS_VertexPosition *)ControlAccess();
|
||||
}
|
||||
|
||||
Standard_EXPORT ~Handle(SMDS_VertexPosition)();
|
||||
|
||||
Standard_EXPORT static const Handle(SMDS_VertexPosition) DownCast(const Handle(Standard_Transient)& AnObject);
|
||||
};
|
||||
#endif
|
263
src/SMDS/Makefile.in
Normal file
263
src/SMDS/Makefile.in
Normal file
@ -0,0 +1,263 @@
|
||||
# -* Makefile *-
|
||||
#
|
||||
# Author : Patrick GOLDBRONN (CEA)
|
||||
# Date : 29/06/2001
|
||||
#
|
||||
|
||||
# source path
|
||||
top_srcdir=@top_srcdir@
|
||||
top_builddir=../..
|
||||
srcdir=@srcdir@
|
||||
VPATH=.:@srcdir@:@top_srcdir@/idl
|
||||
|
||||
|
||||
@COMMENCE@
|
||||
|
||||
# Libraries targets
|
||||
|
||||
LIB = libSMDS.la
|
||||
LIB_SRC = SMDS_BasicMap.lxx \
|
||||
SMDS_BasicMapIterator.lxx \
|
||||
SMDS_EdgePosition.cxx \
|
||||
SMDS_EdgePosition.lxx \
|
||||
SMDS_FacePosition.cxx \
|
||||
SMDS_FacePosition.lxx \
|
||||
SMDS_Map.gxx \
|
||||
SMDS_MapHasher.gxx \
|
||||
SMDS_MapIterator.gxx \
|
||||
SMDS_MapOfMeshElement.cxx \
|
||||
SMDS_MapOfMeshElement.lxx \
|
||||
SMDS_MapOfMeshOrientedElement.cxx \
|
||||
SMDS_MapOfMeshOrientedElement.lxx \
|
||||
SMDS_Mesh.cxx \
|
||||
SMDS_Mesh.lxx \
|
||||
SMDS_MeshEdge.cxx \
|
||||
SMDS_MeshEdge.lxx \
|
||||
SMDS_MeshEdgesIterator.cxx \
|
||||
SMDS_MeshElement.cxx \
|
||||
SMDS_MeshElement.lxx \
|
||||
SMDS_MeshElementIDFactory.cxx \
|
||||
SMDS_MeshElementIDFactory.lxx \
|
||||
SMDS_MeshElementMapHasher.cxx \
|
||||
SMDS_MeshElementMapHasher.lxx \
|
||||
SMDS_MeshElementsIterator.cxx \
|
||||
SMDS_MeshElementsIterator.lxx \
|
||||
SMDS_MeshFace.cxx \
|
||||
SMDS_MeshFace.lxx \
|
||||
SMDS_MeshFacesIterator.cxx \
|
||||
SMDS_MeshHexahedron.cxx \
|
||||
SMDS_MeshHexahedron.lxx \
|
||||
SMDS_MeshIDFactory.cxx \
|
||||
SMDS_MeshIDFactory.lxx \
|
||||
SMDS_MeshNode.cxx \
|
||||
SMDS_MeshNode.lxx \
|
||||
SMDS_MeshNodeIDFactory.cxx \
|
||||
SMDS_MeshNodeIDFactory.lxx \
|
||||
SMDS_MeshNodesIterator.cxx \
|
||||
SMDS_MeshObject.cxx \
|
||||
SMDS_MeshOrientedElementMapHasher.cxx \
|
||||
SMDS_MeshOrientedElementMapHasher.lxx \
|
||||
SMDS_MeshPrism.cxx \
|
||||
SMDS_MeshPrism.lxx \
|
||||
SMDS_MeshPyramid.cxx \
|
||||
SMDS_MeshPyramid.lxx \
|
||||
SMDS_MeshQuadrangle.cxx \
|
||||
SMDS_MeshQuadrangle.lxx \
|
||||
SMDS_MeshTetrahedron.cxx \
|
||||
SMDS_MeshTetrahedron.lxx \
|
||||
SMDS_MeshTriangle.cxx \
|
||||
SMDS_MeshTriangle.lxx \
|
||||
SMDS_MeshVolume.cxx \
|
||||
SMDS_MeshVolume.lxx \
|
||||
SMDS_MeshVolumesIterator.cxx \
|
||||
SMDS_PntHasher.cxx \
|
||||
SMDS_PntHasher.lxx \
|
||||
SMDS_Position.cxx \
|
||||
SMDS_Position.lxx \
|
||||
SMDS_SpacePosition.cxx \
|
||||
SMDS_SpacePosition.lxx \
|
||||
SMDS_StdMapNode.gxx \
|
||||
SMDS_StdMapNode.lxx \
|
||||
SMDS_VertexPosition.cxx \
|
||||
SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement_0.cxx \
|
||||
SMDS_DataMapIteratorOfDataMapOfPntInteger_0.cxx \
|
||||
SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_0.cxx \
|
||||
SMDS_DataMapNodeOfDataMapOfPntInteger_0.cxx \
|
||||
SMDS_DataMapOfIntegerMeshElement_0.cxx \
|
||||
SMDS_DataMapOfPntInteger_0.cxx \
|
||||
SMDS_ExtendedMap_0.cxx \
|
||||
SMDS_ExtendedOrientedMap_0.cxx \
|
||||
SMDS_ListIteratorOfListOfMeshElement_0.cxx \
|
||||
SMDS_ListIteratorOfListOfMesh_0.cxx \
|
||||
SMDS_ListNodeOfListOfMeshElement_0.cxx \
|
||||
SMDS_ListNodeOfListOfMesh_0.cxx \
|
||||
SMDS_ListOfMeshElement_0.cxx \
|
||||
SMDS_ListOfMesh_0.cxx \
|
||||
SMDS_MapIteratorOfExtendedMap_0.cxx \
|
||||
SMDS_MapIteratorOfExtendedOrientedMap_0.cxx \
|
||||
SMDS_StdMapNodeOfExtendedMap_0.cxx \
|
||||
SMDS_StdMapNodeOfExtendedOrientedMap_0.cxx \
|
||||
SMDSControl.cxx \
|
||||
SMDSControl_BoundaryFaces.cxx \
|
||||
SMDSControl_BoundaryEdges.cxx \
|
||||
SMDSControl_MeshBoundary.cxx \
|
||||
SMDS_ListIteratorOfListOfMeshGroup_0.cxx \
|
||||
SMDS_ListOfMeshGroup_0.cxx \
|
||||
SMDS_ListNodeOfListOfMeshGroup_0.cxx \
|
||||
SMDS_MeshGroup.cxx \
|
||||
SMDSEdit_Transform.cxx \
|
||||
SMDS_HSequenceOfMesh_0.cxx \
|
||||
SMDS_SequenceNodeOfSequenceOfMesh_0.cxx \
|
||||
SMDS_SequenceOfMesh_0.cxx
|
||||
|
||||
|
||||
LIB_CLIENT_IDL =
|
||||
LIB_SERVER_IDL =
|
||||
|
||||
# Executables targets
|
||||
BIN =
|
||||
BIN_SRC =
|
||||
BIN_CLIENT_IDL =
|
||||
BIN_SERVER_IDL =
|
||||
|
||||
# header files
|
||||
EXPORT_HEADERS= Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx \
|
||||
Handle_SMDS_DataMapNodeOfDataMapOfPntInteger.hxx \
|
||||
Handle_SMDS_EdgePosition.hxx \
|
||||
Handle_SMDS_FacePosition.hxx \
|
||||
Handle_SMDS_ListNodeOfListOfMesh.hxx \
|
||||
Handle_SMDS_ListNodeOfListOfMeshElement.hxx \
|
||||
Handle_SMDS_Mesh.hxx \
|
||||
Handle_SMDS_MeshEdge.hxx \
|
||||
Handle_SMDS_MeshElement.hxx \
|
||||
Handle_SMDS_MeshElementIDFactory.hxx \
|
||||
Handle_SMDS_MeshFace.hxx \
|
||||
Handle_SMDS_MeshHexahedron.hxx \
|
||||
Handle_SMDS_MeshIDFactory.hxx \
|
||||
Handle_SMDS_MeshNode.hxx \
|
||||
Handle_SMDS_MeshNodeIDFactory.hxx \
|
||||
Handle_SMDS_MeshObject.hxx \
|
||||
Handle_SMDS_MeshPrism.hxx \
|
||||
Handle_SMDS_MeshPyramid.hxx \
|
||||
Handle_SMDS_MeshQuadrangle.hxx \
|
||||
Handle_SMDS_MeshTetrahedron.hxx \
|
||||
Handle_SMDS_MeshTriangle.hxx \
|
||||
Handle_SMDS_MeshVolume.hxx \
|
||||
Handle_SMDS_Position.hxx \
|
||||
Handle_SMDS_SpacePosition.hxx \
|
||||
Handle_SMDS_StdMapNodeOfExtendedMap.hxx \
|
||||
Handle_SMDS_StdMapNodeOfExtendedOrientedMap.hxx \
|
||||
Handle_SMDS_VertexPosition.hxx \
|
||||
SMDS_BasicMap.lxx \
|
||||
SMDS_BasicMapIterator.lxx \
|
||||
SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement.hxx \
|
||||
SMDS_DataMapIteratorOfDataMapOfPntInteger.hxx \
|
||||
SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx \
|
||||
SMDS_DataMapNodeOfDataMapOfPntInteger.hxx \
|
||||
SMDS_DataMapOfIntegerMeshElement.hxx \
|
||||
SMDS_DataMapOfPntInteger.hxx \
|
||||
SMDS_EdgePosition.hxx \
|
||||
SMDS_EdgePosition.lxx \
|
||||
SMDS_ExtendedMap.hxx \
|
||||
SMDS_ExtendedOrientedMap.hxx \
|
||||
SMDS_FacePosition.hxx \
|
||||
SMDS_FacePosition.lxx \
|
||||
SMDS_ListIteratorOfListOfMesh.hxx \
|
||||
SMDS_ListIteratorOfListOfMeshElement.hxx \
|
||||
SMDS_ListNodeOfListOfMesh.hxx \
|
||||
SMDS_ListNodeOfListOfMeshElement.hxx \
|
||||
SMDS_ListOfMesh.hxx \
|
||||
SMDS_ListOfMeshElement.hxx \
|
||||
SMDS_MapIteratorOfExtendedMap.hxx \
|
||||
SMDS_MapIteratorOfExtendedOrientedMap.hxx \
|
||||
SMDS_MapNode.lxx \
|
||||
SMDS_MapOfMeshElement.hxx \
|
||||
SMDS_MapOfMeshElement.lxx \
|
||||
SMDS_MapOfMeshOrientedElement.hxx \
|
||||
SMDS_MapOfMeshOrientedElement.lxx \
|
||||
SMDS_Mesh.hxx \
|
||||
SMDS_Mesh.lxx \
|
||||
SMDS_MeshEdge.hxx \
|
||||
SMDS_MeshEdge.lxx \
|
||||
SMDS_MeshEdgesIterator.hxx \
|
||||
SMDS_MeshElement.hxx \
|
||||
SMDS_MeshElement.lxx \
|
||||
SMDS_MeshElementIDFactory.hxx \
|
||||
SMDS_MeshElementIDFactory.lxx \
|
||||
SMDS_MeshElementMapHasher.hxx \
|
||||
SMDS_MeshElementMapHasher.lxx \
|
||||
SMDS_MeshElementsIterator.hxx \
|
||||
SMDS_MeshElementsIterator.lxx \
|
||||
SMDS_MeshFace.hxx \
|
||||
SMDS_MeshFace.lxx \
|
||||
SMDS_MeshFacesIterator.hxx \
|
||||
SMDS_MeshHexahedron.hxx \
|
||||
SMDS_MeshHexahedron.lxx \
|
||||
SMDS_MeshIDFactory.hxx \
|
||||
SMDS_MeshIDFactory.lxx \
|
||||
SMDS_MeshNode.hxx \
|
||||
SMDS_MeshNode.lxx \
|
||||
SMDS_MeshNodeIDFactory.hxx \
|
||||
SMDS_MeshNodeIDFactory.lxx \
|
||||
SMDS_MeshNodesIterator.hxx \
|
||||
SMDS_MeshObject.hxx \
|
||||
SMDS_MeshOrientedElementMapHasher.hxx \
|
||||
SMDS_MeshOrientedElementMapHasher.lxx \
|
||||
SMDS_MeshPrism.hxx \
|
||||
SMDS_MeshPrism.lxx \
|
||||
SMDS_MeshPyramid.hxx \
|
||||
SMDS_MeshPyramid.lxx \
|
||||
SMDS_MeshQuadrangle.hxx \
|
||||
SMDS_MeshQuadrangle.lxx \
|
||||
SMDS_MeshTetrahedron.hxx \
|
||||
SMDS_MeshTetrahedron.lxx \
|
||||
SMDS_MeshTriangle.hxx \
|
||||
SMDS_MeshTriangle.lxx \
|
||||
SMDS_MeshVolume.hxx \
|
||||
SMDS_MeshVolume.lxx \
|
||||
SMDS_MeshVolumesIterator.hxx \
|
||||
SMDS_PntHasher.hxx \
|
||||
SMDS_PntHasher.lxx \
|
||||
SMDS_Position.hxx \
|
||||
SMDS_Position.lxx \
|
||||
SMDS_SpacePosition.hxx \
|
||||
SMDS_SpacePosition.lxx \
|
||||
SMDS_StdMapNode.lxx \
|
||||
SMDS_StdMapNodeOfExtendedMap.hxx \
|
||||
SMDS_StdMapNodeOfExtendedOrientedMap.hxx \
|
||||
SMDS_TypeOfPosition.hxx \
|
||||
SMDS_VertexPosition.hxx \
|
||||
Handle_SMDSControl_BoundaryEdges.hxx \
|
||||
SMDSEdit_Transform.hxx \
|
||||
Handle_SMDSControl_BoundaryFaces.hxx \
|
||||
SMDS_HSequenceOfMesh.hxx \
|
||||
Handle_SMDSControl_MeshBoundary.hxx \
|
||||
SMDS_ListIteratorOfListOfMeshGroup.hxx \
|
||||
Handle_SMDS_HSequenceOfMesh.hxx \
|
||||
SMDS_ListNodeOfListOfMeshGroup.hxx \
|
||||
Handle_SMDS_ListNodeOfListOfMeshGroup.hxx \
|
||||
SMDS_ListOfMeshGroup.hxx \
|
||||
Handle_SMDS_MeshGroup.hxx \
|
||||
SMDSAbs_ElementType.hxx \
|
||||
SMDSControl.hxx \
|
||||
SMDS_MeshGroup.hxx \
|
||||
SMDSControl_BoundaryEdges.hxx \
|
||||
SMDS_MeshGroup.lxx \
|
||||
SMDSControl_BoundaryFaces.hxx \
|
||||
SMDS_SequenceNodeOfSequenceOfMesh.hxx \
|
||||
SMDSControl_MeshBoundary.hxx \
|
||||
SMDS_SequenceOfMesh.hxx
|
||||
|
||||
|
||||
# additionnal information to compil and link file
|
||||
CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
|
||||
CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
|
||||
LDFLAGS += $(OCC_LIBS) -L${KERNEL_ROOT_DIR}/lib/salome
|
||||
|
||||
# additional file to be cleaned
|
||||
MOSTLYCLEAN =
|
||||
CLEAN =
|
||||
DISTCLEAN =
|
||||
|
||||
@CONCLUDE@
|
||||
|
148
src/SMDS/SMDS.cdl
Executable file
148
src/SMDS/SMDS.cdl
Executable file
@ -0,0 +1,148 @@
|
||||
-- File: SMDS.cdl
|
||||
-- Created: Wed Jan 23 11:53:00 2002
|
||||
-- Author: Jean-Michel BOULCOURT
|
||||
-- <jmb@coulox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 2002
|
||||
|
||||
|
||||
package SMDS
|
||||
|
||||
---Purpose: This package provides the classes Mesh and MeshElement
|
||||
--
|
||||
-- class Mesh:
|
||||
-- - contains the main definition of the
|
||||
-- mesh and have access to the MeshElement objects
|
||||
--
|
||||
-- class MeshElement:
|
||||
-- - defines the topological constituants of the Mesh (i.e
|
||||
-- the Node, Edge, Face and Volume entities.
|
||||
--
|
||||
-- These two last classes inherits from an abstract
|
||||
-- class MeshObject.
|
||||
|
||||
uses
|
||||
SMDSAbs,
|
||||
MMgt,
|
||||
TCollection,
|
||||
TColStd,
|
||||
TColgp,
|
||||
gp
|
||||
|
||||
|
||||
is
|
||||
|
||||
---=================================
|
||||
---Category: enumerations
|
||||
--
|
||||
---=================================
|
||||
|
||||
enumeration TypeOfPosition is
|
||||
TOP_UNSPEC,
|
||||
TOP_3DSPACE,
|
||||
TOP_VERTEX,
|
||||
TOP_EDGE,
|
||||
TOP_FACE
|
||||
end TypeOfPosition;
|
||||
---Purpose: defines the type of position of a node (see SMDS_Position)
|
||||
-- TOP_UNSPEC : node position not specfied
|
||||
-- TOP_3DSPACE : just a 3d point in space not related
|
||||
-- to a CAD geometry
|
||||
-- TOP_VERTEX : to characterize a node with a CAD vertex
|
||||
-- TOP_EDGE : to characterize a node with a CAD edge
|
||||
-- TOP_FACE : to characterize a node with a CAD face
|
||||
|
||||
---=====================================
|
||||
---Category: public classes
|
||||
-- Mesh object related classes
|
||||
---=====================================
|
||||
|
||||
class MeshOrientedElementMapHasher;
|
||||
|
||||
class MeshElementMapHasher;
|
||||
|
||||
class PntHasher;
|
||||
|
||||
deferred class MeshObject;
|
||||
|
||||
class Mesh;
|
||||
|
||||
deferred class MeshElement;
|
||||
class MeshNode;
|
||||
class MeshEdge;
|
||||
deferred class MeshFace;
|
||||
class MeshTriangle;
|
||||
class MeshQuadrangle;
|
||||
deferred class MeshVolume;
|
||||
class MeshTetrahedron;
|
||||
class MeshPyramid;
|
||||
class MeshPrism;
|
||||
class MeshHexahedron;
|
||||
|
||||
private deferred class MeshIDFactory;
|
||||
private class MeshNodeIDFactory;
|
||||
private class MeshElementIDFactory;
|
||||
|
||||
deferred class MeshElementsIterator;
|
||||
class MeshVolumesIterator;
|
||||
class MeshFacesIterator;
|
||||
class MeshEdgesIterator;
|
||||
class MeshNodesIterator;
|
||||
|
||||
|
||||
deferred class Position;
|
||||
class SpacePosition;
|
||||
class VertexPosition;
|
||||
class EdgePosition;
|
||||
class FacePosition;
|
||||
|
||||
---=================================
|
||||
---Category: public classes
|
||||
-- Mesh group
|
||||
---=================================
|
||||
|
||||
class MeshGroup;
|
||||
|
||||
---=================================
|
||||
---Category: public classes
|
||||
-- Mesh collection classes
|
||||
---=================================
|
||||
|
||||
class ExtendedMap
|
||||
instantiates Map from TCollection (MeshElement from SMDS,
|
||||
MeshElementMapHasher from SMDS);
|
||||
|
||||
class ExtendedOrientedMap
|
||||
instantiates Map from TCollection (MeshElement from SMDS,
|
||||
MeshOrientedElementMapHasher from SMDS);
|
||||
|
||||
class DataMapOfPntInteger
|
||||
instantiates DataMap from TCollection (Pnt from gp,
|
||||
Integer,
|
||||
PntHasher from SMDS);
|
||||
class DataMapOfIntegerMeshElement instantiates
|
||||
DataMap from TCollection(Integer,MeshElement from SMDS,
|
||||
MapIntegerHasher from TColStd);
|
||||
|
||||
class ListOfMeshElement
|
||||
instantiates List from TCollection (MeshElement from SMDS);
|
||||
|
||||
class ListOfMesh
|
||||
instantiates List from TCollection (Mesh from SMDS);
|
||||
|
||||
class MapOfMeshElement;
|
||||
|
||||
class MapOfMeshOrientedElement;
|
||||
|
||||
class SequenceOfMesh
|
||||
instantiates Sequence from TCollection (Mesh from SMDS);
|
||||
|
||||
class HSequenceOfMesh
|
||||
instantiates HSequence from TCollection (Mesh from SMDS,
|
||||
SequenceOfMesh from SMDS);
|
||||
|
||||
|
||||
class ListOfMeshGroup
|
||||
instantiates List from TCollection(MeshGroup from SMDS);
|
||||
|
||||
end SMDS;
|
||||
|
24
src/SMDS/SMDSAbs.cdl
Normal file
24
src/SMDS/SMDSAbs.cdl
Normal file
@ -0,0 +1,24 @@
|
||||
-- File: SMDSAbs.cdl
|
||||
-- Created: Mon Jun 3 11:57:33 2002
|
||||
-- Author: Jean-Michel BOULCOURT
|
||||
-- <jmb@localhost.localdomain>
|
||||
---Copyright: Matra Datavision 2002
|
||||
|
||||
|
||||
package SMDSAbs
|
||||
|
||||
---Purpose: This package provides enumeration and resources
|
||||
-- for SMDS mesh
|
||||
is
|
||||
|
||||
enumeration ElementType is
|
||||
All,
|
||||
Node,
|
||||
Edge,
|
||||
Face,
|
||||
Volume
|
||||
end ElementType;
|
||||
---Purpose: type of mesh elements
|
||||
|
||||
|
||||
end SMDSAbs;
|
31
src/SMDS/SMDSAbs_ElementType.hxx
Normal file
31
src/SMDS/SMDSAbs_ElementType.hxx
Normal file
@ -0,0 +1,31 @@
|
||||
// File generated by CPPExt (Enum)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#ifndef _SMDSAbs_ElementType_HeaderFile
|
||||
#define _SMDSAbs_ElementType_HeaderFile
|
||||
|
||||
enum SMDSAbs_ElementType {
|
||||
SMDSAbs_All,
|
||||
SMDSAbs_Node,
|
||||
SMDSAbs_Edge,
|
||||
SMDSAbs_Face,
|
||||
SMDSAbs_Volume
|
||||
};
|
||||
|
||||
|
||||
#ifndef _Standard_PrimitiveTypes_HeaderFile
|
||||
#include <Standard_PrimitiveTypes.hxx>
|
||||
#endif
|
||||
|
||||
#endif
|
39
src/SMDS/SMDSControl.cdl
Normal file
39
src/SMDS/SMDSControl.cdl
Normal file
@ -0,0 +1,39 @@
|
||||
-- File: SMDSControl.cdl
|
||||
-- Created: Fri Mar 15 11:05:03 2002
|
||||
-- Author: Jean-Michel BOULCOURT
|
||||
-- <jmb@coulox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 2002
|
||||
|
||||
|
||||
package SMDSControl
|
||||
|
||||
---Purpose: provides classes for controlling the mesh
|
||||
-- according to several criteria
|
||||
|
||||
uses
|
||||
|
||||
SMDS
|
||||
|
||||
is
|
||||
|
||||
---Category: Classes
|
||||
--
|
||||
|
||||
deferred class MeshBoundary;
|
||||
class BoundaryEdges;
|
||||
|
||||
class BoundaryFaces;
|
||||
|
||||
---Category: Package methods
|
||||
--
|
||||
|
||||
ComputeNeighborFaces(M:Mesh from SMDS; ME: MeshElement from SMDS; idnode1,idnode2: Integer)
|
||||
returns Integer;
|
||||
|
||||
ComputeNeighborVolumes(M:Mesh from SMDS; ME: MeshElement from SMDS; idnode1,idnode2,idnode3: Integer)
|
||||
returns Integer;
|
||||
|
||||
ComputeNeighborVolumes(M:Mesh from SMDS; ME: MeshElement from SMDS; idnode1,idnode2,idnode3,idnode4: Integer)
|
||||
returns Integer;
|
||||
|
||||
end SMDSControl;
|
214
src/SMDS/SMDSControl.cxx
Normal file
214
src/SMDS/SMDSControl.cxx
Normal file
@ -0,0 +1,214 @@
|
||||
using namespace std;
|
||||
// File: SMDSControl.cxx
|
||||
// Created: Wed Feb 20 18:33:06 2002
|
||||
// Author: Jean-Michel BOULCOURT
|
||||
// <jmb@localhost.localdomain>
|
||||
|
||||
|
||||
#include "SMDSControl.ixx"
|
||||
#include "SMDS_Mesh.hxx"
|
||||
#include "SMDS_MeshElement.hxx"
|
||||
#include "SMDS_ListOfMeshElement.hxx"
|
||||
#include "SMDS_ListIteratorOfListOfMeshElement.hxx"
|
||||
|
||||
//=======================================================================
|
||||
//function : ComputeNeighborFaces
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer SMDSControl::ComputeNeighborFaces(const Handle(SMDS_Mesh)& M,
|
||||
const Handle(SMDS_MeshElement)& ME,
|
||||
const Standard_Integer idnode1,
|
||||
const Standard_Integer idnode2)
|
||||
{
|
||||
const Handle(SMDS_MeshElement)& node1 = M->FindNode(idnode1);
|
||||
const Handle(SMDS_MeshElement)& node2 = M->FindNode(idnode2);
|
||||
const SMDS_ListOfMeshElement& lstInvFaces1 = node1->InverseElements();
|
||||
const SMDS_ListOfMeshElement& lstInvFaces2 = node2->InverseElements();
|
||||
Standard_Integer neighbor=0;
|
||||
|
||||
SMDS_ListIteratorOfListOfMeshElement it1(lstInvFaces1);
|
||||
for (;it1.More();it1.Next()) {
|
||||
const Handle(SMDS_MeshElement)& face = it1.Value();
|
||||
if (M->Contains(face) && !face->IsSame(ME)) {
|
||||
if (face->IsNodeInElement(idnode1) && face->IsNodeInElement(idnode2)) {
|
||||
neighbor++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (neighbor > 0) {
|
||||
return neighbor;
|
||||
}
|
||||
|
||||
SMDS_ListIteratorOfListOfMeshElement it2(lstInvFaces2);
|
||||
for (;it2.More();it2.Next()) {
|
||||
const Handle(SMDS_MeshElement)& face = it2.Value();
|
||||
if (M->Contains(face) && !face->IsSame(ME)) {
|
||||
if (face->IsNodeInElement(idnode1) && face->IsNodeInElement(idnode2)) {
|
||||
neighbor++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return neighbor;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ComputeNeighborVolumes
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer SMDSControl::ComputeNeighborVolumes(const Handle(SMDS_Mesh)& M,
|
||||
const Handle(SMDS_MeshElement)& ME,
|
||||
const Standard_Integer idnode1,
|
||||
const Standard_Integer idnode2,
|
||||
const Standard_Integer idnode3)
|
||||
{
|
||||
|
||||
const Handle(SMDS_MeshElement)& node1 = M->FindNode(idnode1);
|
||||
const Handle(SMDS_MeshElement)& node2 = M->FindNode(idnode2);
|
||||
const Handle(SMDS_MeshElement)& node3 = M->FindNode(idnode3);
|
||||
const SMDS_ListOfMeshElement& lstInvVol1 = node1->InverseElements();
|
||||
const SMDS_ListOfMeshElement& lstInvVol2 = node2->InverseElements();
|
||||
const SMDS_ListOfMeshElement& lstInvVol3 = node3->InverseElements();
|
||||
|
||||
Standard_Integer neighbor=0;
|
||||
|
||||
SMDS_ListIteratorOfListOfMeshElement it1(lstInvVol1);
|
||||
for (;it1.More() && neighbor == 0;it1.Next()) {
|
||||
const Handle(SMDS_MeshElement)& vol = it1.Value();
|
||||
if (M->Contains(vol) && !vol->IsSame(ME)) {
|
||||
if (vol->IsNodeInElement(idnode1)
|
||||
&& vol->IsNodeInElement(idnode2)
|
||||
&& vol->IsNodeInElement(idnode3)) {
|
||||
neighbor++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (neighbor > 0) {
|
||||
return neighbor;
|
||||
}
|
||||
|
||||
SMDS_ListIteratorOfListOfMeshElement it2(lstInvVol2);
|
||||
for (;it2.More() && neighbor == 0;it2.Next()) {
|
||||
const Handle(SMDS_MeshElement)& vol = it2.Value();
|
||||
if (M->Contains(vol) && !vol->IsSame(ME)) {
|
||||
if (vol->IsNodeInElement(idnode1)
|
||||
&& vol->IsNodeInElement(idnode2)
|
||||
&& vol->IsNodeInElement(idnode3)) {
|
||||
neighbor++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (neighbor > 0) {
|
||||
return neighbor;
|
||||
}
|
||||
|
||||
SMDS_ListIteratorOfListOfMeshElement it3(lstInvVol3);
|
||||
for (;it3.More() && neighbor == 0;it3.Next()) {
|
||||
const Handle(SMDS_MeshElement)& vol = it3.Value();
|
||||
if (M->Contains(vol) && !vol->IsSame(ME)) {
|
||||
if (vol->IsNodeInElement(idnode1)
|
||||
&& vol->IsNodeInElement(idnode2)
|
||||
&& vol->IsNodeInElement(idnode3)) {
|
||||
neighbor++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return neighbor;
|
||||
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ComputeNeighborVolumes
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer SMDSControl::ComputeNeighborVolumes(const Handle(SMDS_Mesh)& M,
|
||||
const Handle(SMDS_MeshElement)& ME,
|
||||
const Standard_Integer idnode1,
|
||||
const Standard_Integer idnode2,
|
||||
const Standard_Integer idnode3,
|
||||
const Standard_Integer idnode4)
|
||||
{
|
||||
|
||||
const Handle(SMDS_MeshElement)& node1 = M->FindNode(idnode1);
|
||||
const Handle(SMDS_MeshElement)& node2 = M->FindNode(idnode2);
|
||||
const Handle(SMDS_MeshElement)& node3 = M->FindNode(idnode3);
|
||||
const Handle(SMDS_MeshElement)& node4 = M->FindNode(idnode4);
|
||||
const SMDS_ListOfMeshElement& lstInvVol1 = node1->InverseElements();
|
||||
const SMDS_ListOfMeshElement& lstInvVol2 = node2->InverseElements();
|
||||
const SMDS_ListOfMeshElement& lstInvVol3 = node3->InverseElements();
|
||||
const SMDS_ListOfMeshElement& lstInvVol4 = node4->InverseElements();
|
||||
Standard_Integer neighbor=0;
|
||||
|
||||
SMDS_ListIteratorOfListOfMeshElement it1(lstInvVol1);
|
||||
for (;it1.More();it1.Next()) {
|
||||
const Handle(SMDS_MeshElement)& vol = it1.Value();
|
||||
if (M->Contains(vol) && !vol->IsSame(ME)) {
|
||||
if ( vol->IsNodeInElement(idnode1)
|
||||
&& vol->IsNodeInElement(idnode2)
|
||||
&& vol->IsNodeInElement(idnode3)
|
||||
&& vol->IsNodeInElement(idnode4)) {
|
||||
neighbor++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (neighbor >= 2) {
|
||||
return neighbor;
|
||||
}
|
||||
|
||||
SMDS_ListIteratorOfListOfMeshElement it2(lstInvVol2);
|
||||
for (;it2.More();it2.Next()) {
|
||||
const Handle(SMDS_MeshElement)& vol = it2.Value();
|
||||
if (M->Contains(vol) && !vol->IsSame(ME)) {
|
||||
if ( vol->IsNodeInElement(idnode1)
|
||||
&& vol->IsNodeInElement(idnode2)
|
||||
&& vol->IsNodeInElement(idnode3)
|
||||
&& vol->IsNodeInElement(idnode4)) {
|
||||
neighbor++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (neighbor >= 2) {
|
||||
return neighbor;
|
||||
}
|
||||
|
||||
SMDS_ListIteratorOfListOfMeshElement it3(lstInvVol3);
|
||||
for (;it3.More();it3.Next()) {
|
||||
const Handle(SMDS_MeshElement)& vol = it3.Value();
|
||||
if (M->Contains(vol) && !vol->IsSame(ME)) {
|
||||
if ( vol->IsNodeInElement(idnode1)
|
||||
&& vol->IsNodeInElement(idnode2)
|
||||
&& vol->IsNodeInElement(idnode3)
|
||||
&& vol->IsNodeInElement(idnode4)) {
|
||||
neighbor++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (neighbor >= 2) {
|
||||
return neighbor;
|
||||
}
|
||||
|
||||
SMDS_ListIteratorOfListOfMeshElement it4(lstInvVol4);
|
||||
for (;it4.More();it4.Next()) {
|
||||
const Handle(SMDS_MeshElement)& vol = it4.Value();
|
||||
if (M->Contains(vol) && !vol->IsSame(ME)) {
|
||||
if ( vol->IsNodeInElement(idnode1)
|
||||
&& vol->IsNodeInElement(idnode2)
|
||||
&& vol->IsNodeInElement(idnode3)
|
||||
&& vol->IsNodeInElement(idnode4)) {
|
||||
neighbor++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return neighbor;
|
||||
}
|
104
src/SMDS/SMDSControl.hxx
Normal file
104
src/SMDS/SMDSControl.hxx
Normal file
@ -0,0 +1,104 @@
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _SMDSControl_HeaderFile
|
||||
#define _SMDSControl_HeaderFile
|
||||
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_Mesh_HeaderFile
|
||||
#include "Handle_SMDS_Mesh.hxx"
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_MeshElement_HeaderFile
|
||||
#include "Handle_SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
class SMDS_Mesh;
|
||||
class SMDS_MeshElement;
|
||||
class SMDSControl_MeshBoundary;
|
||||
class SMDSControl_BoundaryEdges;
|
||||
class SMDSControl_BoundaryFaces;
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
|
||||
class SMDSControl {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT static Standard_Integer ComputeNeighborFaces(const Handle(SMDS_Mesh)& M,const Handle(SMDS_MeshElement)& ME,const Standard_Integer idnode1,const Standard_Integer idnode2) ;
|
||||
Standard_EXPORT static Standard_Integer ComputeNeighborVolumes(const Handle(SMDS_Mesh)& M,const Handle(SMDS_MeshElement)& ME,const Standard_Integer idnode1,const Standard_Integer idnode2,const Standard_Integer idnode3) ;
|
||||
Standard_EXPORT static Standard_Integer ComputeNeighborVolumes(const Handle(SMDS_Mesh)& M,const Handle(SMDS_MeshElement)& ME,const Standard_Integer idnode1,const Standard_Integer idnode2,const Standard_Integer idnode3,const Standard_Integer idnode4) ;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
|
||||
friend class SMDSControl_MeshBoundary;
|
||||
friend class SMDSControl_BoundaryEdges;
|
||||
friend class SMDSControl_BoundaryFaces;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
19
src/SMDS/SMDSControl.ixx
Normal file
19
src/SMDS/SMDSControl.ixx
Normal file
@ -0,0 +1,19 @@
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDSControl.jxx"
|
||||
|
||||
|
||||
|
||||
|
9
src/SMDS/SMDSControl.jxx
Normal file
9
src/SMDS/SMDSControl.jxx
Normal file
@ -0,0 +1,9 @@
|
||||
#ifndef _SMDS_Mesh_HeaderFile
|
||||
#include "SMDS_Mesh.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_MeshElement_HeaderFile
|
||||
#include "SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _SMDSControl_HeaderFile
|
||||
#include "SMDSControl.hxx"
|
||||
#endif
|
29
src/SMDS/SMDSControl_BoundaryEdges.cdl
Normal file
29
src/SMDS/SMDSControl_BoundaryEdges.cdl
Normal file
@ -0,0 +1,29 @@
|
||||
-- File: SMDSControl_BoundaryEdges.cdl
|
||||
-- Created: Wed Feb 20 19:17:20 2002
|
||||
-- Author: Jean-Michel BOULCOURT
|
||||
-- <jmb@localhost.localdomain>
|
||||
---Copyright: Matra Datavision 2002
|
||||
|
||||
|
||||
class BoundaryEdges from SMDSControl inherits MeshBoundary from SMDSControl
|
||||
|
||||
---Purpose: compute the boudary edges of a mesh that is the
|
||||
-- edges that are shared by only one face the result
|
||||
-- is a new mesh created in the same factory as the
|
||||
-- original mesh that contains only edges
|
||||
|
||||
uses
|
||||
|
||||
Mesh from SMDS,
|
||||
MapOfMeshElement from SMDS
|
||||
is
|
||||
|
||||
Create(M: Mesh from SMDS) returns BoundaryEdges from SMDSControl;
|
||||
|
||||
Compute(me: mutable) is redefined virtual;
|
||||
|
||||
fields
|
||||
|
||||
myBoundaryEdges : MapOfMeshElement from SMDS;
|
||||
|
||||
end BoundaryEdges;
|
59
src/SMDS/SMDSControl_BoundaryEdges.cxx
Normal file
59
src/SMDS/SMDSControl_BoundaryEdges.cxx
Normal file
@ -0,0 +1,59 @@
|
||||
using namespace std;
|
||||
// File: SMDSControl_BoundaryEdges.cxx
|
||||
// Created: Wed Feb 20 19:28:42 2002
|
||||
// Author: Jean-Michel BOULCOURT
|
||||
// <jmb@localhost.localdomain>
|
||||
|
||||
|
||||
#include "SMDSControl_BoundaryEdges.ixx"
|
||||
#include "SMDSControl.hxx"
|
||||
|
||||
#include "SMDS_MeshFacesIterator.hxx"
|
||||
#include "SMDS_MeshElement.hxx"
|
||||
#include "SMDS_MeshEdge.hxx"
|
||||
#include "SMDS_MapIteratorOfExtendedMap.hxx"
|
||||
|
||||
//=======================================================================
|
||||
//function : SMDSControl_BoundaryEdges
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
SMDSControl_BoundaryEdges::SMDSControl_BoundaryEdges(const Handle(SMDS_Mesh)& M)
|
||||
:SMDSControl_MeshBoundary(M)
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Compute
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void SMDSControl_BoundaryEdges::Compute()
|
||||
{
|
||||
Standard_Integer idnode1;
|
||||
Standard_Integer idnode2;
|
||||
Standard_Integer nbedg;
|
||||
|
||||
myBoundaryMesh = myMesh->AddSubMesh();
|
||||
SMDS_MeshFacesIterator itface(myMesh);
|
||||
|
||||
for (;itface.More();itface.Next()) {
|
||||
Handle(SMDS_MeshElement) ME = itface.Value();
|
||||
|
||||
nbedg = ME->NbEdges();
|
||||
|
||||
for (Standard_Integer iedge=1; iedge<=nbedg; ++iedge) {
|
||||
ME->GetEdgeDefinedByNodes(iedge,idnode1,idnode2);
|
||||
Handle(SMDS_MeshElement) edge = new SMDS_MeshEdge(0,idnode1,idnode2);
|
||||
if (!myBoundaryEdges.Add(edge))
|
||||
myBoundaryEdges.Remove(edge);
|
||||
}
|
||||
}
|
||||
|
||||
SMDS_MapIteratorOfExtendedMap itbound(myBoundaryEdges);
|
||||
|
||||
for (;itbound.More();itbound.Next()) {
|
||||
const Handle(SMDS_MeshElement)& edge = itbound.Key();
|
||||
myBoundaryMesh->AddEdge(edge->GetConnection(1),edge->GetConnection(2));
|
||||
}
|
||||
}
|
104
src/SMDS/SMDSControl_BoundaryEdges.hxx
Normal file
104
src/SMDS/SMDSControl_BoundaryEdges.hxx
Normal file
@ -0,0 +1,104 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#ifndef _SMDSControl_BoundaryEdges_HeaderFile
|
||||
#define _SMDSControl_BoundaryEdges_HeaderFile
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDSControl_BoundaryEdges_HeaderFile
|
||||
#include "Handle_SMDSControl_BoundaryEdges.hxx"
|
||||
#endif
|
||||
|
||||
#ifndef _SMDS_MapOfMeshElement_HeaderFile
|
||||
#include "SMDS_MapOfMeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _SMDSControl_MeshBoundary_HeaderFile
|
||||
#include "SMDSControl_MeshBoundary.hxx"
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_Mesh_HeaderFile
|
||||
#include "Handle_SMDS_Mesh.hxx"
|
||||
#endif
|
||||
class SMDS_Mesh;
|
||||
|
||||
|
||||
class SMDSControl_BoundaryEdges : public SMDSControl_MeshBoundary {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT SMDSControl_BoundaryEdges(const Handle(SMDS_Mesh)& M);
|
||||
Standard_EXPORT virtual void Compute() ;
|
||||
Standard_EXPORT ~SMDSControl_BoundaryEdges();
|
||||
|
||||
|
||||
|
||||
|
||||
// Type management
|
||||
//
|
||||
Standard_EXPORT friend Handle_Standard_Type& SMDSControl_BoundaryEdges_Type_();
|
||||
Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
|
||||
Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
SMDS_MapOfMeshElement myBoundaryEdges;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
71
src/SMDS/SMDSControl_BoundaryEdges.ixx
Normal file
71
src/SMDS/SMDSControl_BoundaryEdges.ixx
Normal file
@ -0,0 +1,71 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include <SMDSControl_BoundaryEdges.jxx>
|
||||
|
||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||
#include <Standard_TypeMismatch.hxx>
|
||||
#endif
|
||||
|
||||
SMDSControl_BoundaryEdges::~SMDSControl_BoundaryEdges() {}
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Handle_Standard_Type& SMDSControl_BoundaryEdges_Type_()
|
||||
{
|
||||
|
||||
static Handle_Standard_Type aType1 = STANDARD_TYPE(SMDSControl_MeshBoundary);
|
||||
if ( aType1.IsNull()) aType1 = STANDARD_TYPE(SMDSControl_MeshBoundary);
|
||||
static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
|
||||
if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
|
||||
static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
|
||||
if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
|
||||
|
||||
|
||||
static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
|
||||
static Handle_Standard_Type _aType = new Standard_Type("SMDSControl_BoundaryEdges",
|
||||
sizeof(SMDSControl_BoundaryEdges),
|
||||
1,
|
||||
(Standard_Address)_Ancestors,
|
||||
(Standard_Address)NULL);
|
||||
|
||||
return _aType;
|
||||
}
|
||||
|
||||
|
||||
// DownCast method
|
||||
// allow safe downcasting
|
||||
//
|
||||
const Handle(SMDSControl_BoundaryEdges) Handle(SMDSControl_BoundaryEdges)::DownCast(const Handle(Standard_Transient)& AnObject)
|
||||
{
|
||||
Handle(SMDSControl_BoundaryEdges) _anOtherObject;
|
||||
|
||||
if (!AnObject.IsNull()) {
|
||||
if (AnObject->IsKind(STANDARD_TYPE(SMDSControl_BoundaryEdges))) {
|
||||
_anOtherObject = Handle(SMDSControl_BoundaryEdges)((Handle(SMDSControl_BoundaryEdges)&)AnObject);
|
||||
}
|
||||
}
|
||||
|
||||
return _anOtherObject ;
|
||||
}
|
||||
const Handle(Standard_Type)& SMDSControl_BoundaryEdges::DynamicType() const
|
||||
{
|
||||
return STANDARD_TYPE(SMDSControl_BoundaryEdges) ;
|
||||
}
|
||||
Standard_Boolean SMDSControl_BoundaryEdges::IsKind(const Handle(Standard_Type)& AType) const
|
||||
{
|
||||
return (STANDARD_TYPE(SMDSControl_BoundaryEdges) == AType || SMDSControl_MeshBoundary::IsKind(AType));
|
||||
}
|
||||
Handle_SMDSControl_BoundaryEdges::~Handle_SMDSControl_BoundaryEdges() {}
|
||||
|
6
src/SMDS/SMDSControl_BoundaryEdges.jxx
Normal file
6
src/SMDS/SMDSControl_BoundaryEdges.jxx
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef _SMDS_Mesh_HeaderFile
|
||||
#include "SMDS_Mesh.hxx"
|
||||
#endif
|
||||
#ifndef _SMDSControl_BoundaryEdges_HeaderFile
|
||||
#include "SMDSControl_BoundaryEdges.hxx"
|
||||
#endif
|
31
src/SMDS/SMDSControl_BoundaryFaces.cdl
Normal file
31
src/SMDS/SMDSControl_BoundaryFaces.cdl
Normal file
@ -0,0 +1,31 @@
|
||||
-- File: SMDSControl_BoundaryFaces.cdl
|
||||
-- Created: Tue Mar 12 23:31:59 2002
|
||||
-- Author: Jean-Michel BOULCOURT
|
||||
-- <jmb@localhost.localdomain>
|
||||
---Copyright: Matra Datavision 2002
|
||||
|
||||
|
||||
class BoundaryFaces from SMDSControl inherits MeshBoundary from SMDSControl
|
||||
|
||||
---Purpose: compute the boudary faces of a mesh that is the
|
||||
-- faces that are shared by only one volume the result
|
||||
-- is a new mesh created in the same factory as the
|
||||
-- original mesh that contains only faces
|
||||
|
||||
uses
|
||||
|
||||
Mesh from SMDS,
|
||||
MapOfMeshElement from SMDS
|
||||
|
||||
is
|
||||
|
||||
Create(M: Mesh from SMDS) returns BoundaryFaces from SMDSControl;
|
||||
|
||||
Compute(me: mutable) is redefined virtual;
|
||||
|
||||
|
||||
fields
|
||||
|
||||
myBoundaryFaces : MapOfMeshElement from SMDS;
|
||||
|
||||
end BoundaryFaces;
|
82
src/SMDS/SMDSControl_BoundaryFaces.cxx
Normal file
82
src/SMDS/SMDSControl_BoundaryFaces.cxx
Normal file
@ -0,0 +1,82 @@
|
||||
using namespace std;
|
||||
// File: SMDSControl_BoundaryFaces.cxx
|
||||
// Created: Tue Mar 12 23:46:24 2002
|
||||
// Author: Jean-Michel BOULCOURT
|
||||
// <jmb@localhost.localdomain>
|
||||
|
||||
|
||||
#include "SMDSControl_BoundaryFaces.ixx"
|
||||
#include "SMDSControl.hxx"
|
||||
|
||||
#include "SMDS_MeshVolumesIterator.hxx"
|
||||
#include "SMDS_MeshElement.hxx"
|
||||
#include "SMDS_MeshFace.hxx"
|
||||
#include "SMDS_MeshTriangle.hxx"
|
||||
#include "SMDS_MeshQuadrangle.hxx"
|
||||
#include "SMDS_MapIteratorOfExtendedMap.hxx"
|
||||
|
||||
//=======================================================================
|
||||
//function : SMDSControl_BoundaryFaces
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
SMDSControl_BoundaryFaces::SMDSControl_BoundaryFaces(const Handle(SMDS_Mesh)& M)
|
||||
:SMDSControl_MeshBoundary(M)
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Compute
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void SMDSControl_BoundaryFaces::Compute()
|
||||
{
|
||||
myBoundaryMesh = myMesh->AddSubMesh();
|
||||
SMDS_MeshVolumesIterator itvol(myMesh);
|
||||
|
||||
Standard_Integer idnode[4]; // max number of nodes for a face
|
||||
Standard_Integer nbnode;
|
||||
|
||||
for (;itvol.More();itvol.Next()) {
|
||||
Handle(SMDS_MeshElement) ME = itvol.Value();
|
||||
|
||||
|
||||
Standard_Integer nbfaces = ME->NbFaces();
|
||||
|
||||
for (Standard_Integer iface=1; iface<=nbfaces; ++iface) {
|
||||
|
||||
ME->GetFaceDefinedByNodes(iface,idnode,nbnode);
|
||||
// Triangle
|
||||
if (nbnode == 3) {
|
||||
Handle(SMDS_MeshElement) face = new SMDS_MeshTriangle(0,idnode[0],idnode[1],idnode[2]);
|
||||
if (!myBoundaryFaces.Add(face))
|
||||
myBoundaryFaces.Remove(face);
|
||||
|
||||
|
||||
} else {
|
||||
// Quadrangle
|
||||
|
||||
Handle(SMDS_MeshElement) face = new SMDS_MeshQuadrangle(0,idnode[0],idnode[1],idnode[2],idnode[3]);
|
||||
if (!myBoundaryFaces.Add(face))
|
||||
myBoundaryFaces.Remove(face);
|
||||
|
||||
}
|
||||
} // end iface
|
||||
|
||||
} // end itvol
|
||||
|
||||
SMDS_MapIteratorOfExtendedMap itbound(myBoundaryFaces);
|
||||
|
||||
for (;itbound.More();itbound.Next()) {
|
||||
const Handle(SMDS_MeshElement)& face = itbound.Key();
|
||||
if (face->NbNodes() == 3)
|
||||
myBoundaryMesh->AddFace(face->GetConnection(1),face->GetConnection(2),face->GetConnection(3));
|
||||
else
|
||||
myBoundaryMesh->AddFace(face->GetConnection(1),face->GetConnection(2),face->GetConnection(3),
|
||||
face->GetConnection(4));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
104
src/SMDS/SMDSControl_BoundaryFaces.hxx
Normal file
104
src/SMDS/SMDSControl_BoundaryFaces.hxx
Normal file
@ -0,0 +1,104 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#ifndef _SMDSControl_BoundaryFaces_HeaderFile
|
||||
#define _SMDSControl_BoundaryFaces_HeaderFile
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDSControl_BoundaryFaces_HeaderFile
|
||||
#include <Handle_SMDSControl_BoundaryFaces.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _SMDS_MapOfMeshElement_HeaderFile
|
||||
#include "SMDS_MapOfMeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _SMDSControl_MeshBoundary_HeaderFile
|
||||
#include "SMDSControl_MeshBoundary.hxx"
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_Mesh_HeaderFile
|
||||
#include "Handle_SMDS_Mesh.hxx"
|
||||
#endif
|
||||
class SMDS_Mesh;
|
||||
|
||||
|
||||
class SMDSControl_BoundaryFaces : public SMDSControl_MeshBoundary {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT SMDSControl_BoundaryFaces(const Handle(SMDS_Mesh)& M);
|
||||
Standard_EXPORT virtual void Compute() ;
|
||||
Standard_EXPORT ~SMDSControl_BoundaryFaces();
|
||||
|
||||
|
||||
|
||||
|
||||
// Type management
|
||||
//
|
||||
Standard_EXPORT friend Handle_Standard_Type& SMDSControl_BoundaryFaces_Type_();
|
||||
Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
|
||||
Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
SMDS_MapOfMeshElement myBoundaryFaces;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
71
src/SMDS/SMDSControl_BoundaryFaces.ixx
Normal file
71
src/SMDS/SMDSControl_BoundaryFaces.ixx
Normal file
@ -0,0 +1,71 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDSControl_BoundaryFaces.jxx"
|
||||
|
||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||
#include <Standard_TypeMismatch.hxx>
|
||||
#endif
|
||||
|
||||
SMDSControl_BoundaryFaces::~SMDSControl_BoundaryFaces() {}
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Handle_Standard_Type& SMDSControl_BoundaryFaces_Type_()
|
||||
{
|
||||
|
||||
static Handle_Standard_Type aType1 = STANDARD_TYPE(SMDSControl_MeshBoundary);
|
||||
if ( aType1.IsNull()) aType1 = STANDARD_TYPE(SMDSControl_MeshBoundary);
|
||||
static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
|
||||
if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
|
||||
static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
|
||||
if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
|
||||
|
||||
|
||||
static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
|
||||
static Handle_Standard_Type _aType = new Standard_Type("SMDSControl_BoundaryFaces",
|
||||
sizeof(SMDSControl_BoundaryFaces),
|
||||
1,
|
||||
(Standard_Address)_Ancestors,
|
||||
(Standard_Address)NULL);
|
||||
|
||||
return _aType;
|
||||
}
|
||||
|
||||
|
||||
// DownCast method
|
||||
// allow safe downcasting
|
||||
//
|
||||
const Handle(SMDSControl_BoundaryFaces) Handle(SMDSControl_BoundaryFaces)::DownCast(const Handle(Standard_Transient)& AnObject)
|
||||
{
|
||||
Handle(SMDSControl_BoundaryFaces) _anOtherObject;
|
||||
|
||||
if (!AnObject.IsNull()) {
|
||||
if (AnObject->IsKind(STANDARD_TYPE(SMDSControl_BoundaryFaces))) {
|
||||
_anOtherObject = Handle(SMDSControl_BoundaryFaces)((Handle(SMDSControl_BoundaryFaces)&)AnObject);
|
||||
}
|
||||
}
|
||||
|
||||
return _anOtherObject ;
|
||||
}
|
||||
const Handle(Standard_Type)& SMDSControl_BoundaryFaces::DynamicType() const
|
||||
{
|
||||
return STANDARD_TYPE(SMDSControl_BoundaryFaces) ;
|
||||
}
|
||||
Standard_Boolean SMDSControl_BoundaryFaces::IsKind(const Handle(Standard_Type)& AType) const
|
||||
{
|
||||
return (STANDARD_TYPE(SMDSControl_BoundaryFaces) == AType || SMDSControl_MeshBoundary::IsKind(AType));
|
||||
}
|
||||
Handle_SMDSControl_BoundaryFaces::~Handle_SMDSControl_BoundaryFaces() {}
|
||||
|
6
src/SMDS/SMDSControl_BoundaryFaces.jxx
Normal file
6
src/SMDS/SMDSControl_BoundaryFaces.jxx
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef _SMDS_Mesh_HeaderFile
|
||||
#include "SMDS_Mesh.hxx"
|
||||
#endif
|
||||
#ifndef _SMDSControl_BoundaryFaces_HeaderFile
|
||||
#include "SMDSControl_BoundaryFaces.hxx"
|
||||
#endif
|
35
src/SMDS/SMDSControl_MeshBoundary.cdl
Normal file
35
src/SMDS/SMDSControl_MeshBoundary.cdl
Normal file
@ -0,0 +1,35 @@
|
||||
-- File: SMDSControl_MeshBoundary.cdl
|
||||
-- Created: Tue Mar 12 23:36:11 2002
|
||||
-- Author: Jean-Michel BOULCOURT
|
||||
-- <jmb@localhost.localdomain>
|
||||
---Copyright: Matra Datavision 2002
|
||||
|
||||
|
||||
deferred class MeshBoundary from SMDSControl inherits TShared from MMgt
|
||||
|
||||
---Purpose: common interface for classes which extract
|
||||
-- boundaries from a mesh
|
||||
|
||||
uses
|
||||
|
||||
Mesh from SMDS
|
||||
|
||||
is
|
||||
Initialize;
|
||||
---Purpose: Initialize an empty MeshBoundary
|
||||
|
||||
|
||||
Initialize (M : Mesh from SMDS);
|
||||
---Purpose: Initialize a MeshBoundary.
|
||||
|
||||
|
||||
Compute(me: mutable) is deferred;
|
||||
|
||||
ResultMesh(me: mutable) returns Mesh from SMDS;
|
||||
|
||||
|
||||
fields
|
||||
myMesh : Mesh from SMDS is protected;
|
||||
myBoundaryMesh : Mesh from SMDS is protected;
|
||||
|
||||
end MeshBoundary;
|
40
src/SMDS/SMDSControl_MeshBoundary.cxx
Normal file
40
src/SMDS/SMDSControl_MeshBoundary.cxx
Normal file
@ -0,0 +1,40 @@
|
||||
using namespace std;
|
||||
// File: SMDSControl_MeshBoundary.cxx
|
||||
// Created: Tue Mar 12 23:42:53 2002
|
||||
// Author: Jean-Michel BOULCOURT
|
||||
// <jmb@localhost.localdomain>
|
||||
|
||||
|
||||
#include "SMDSControl_MeshBoundary.ixx"
|
||||
|
||||
//=======================================================================
|
||||
//function : SMDSControl_MeshBoundary
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
SMDSControl_MeshBoundary::SMDSControl_MeshBoundary()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SMDSControl_MeshBoundary
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
SMDSControl_MeshBoundary::SMDSControl_MeshBoundary(const Handle(SMDS_Mesh)& M)
|
||||
:myMesh(M)
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ResultMesh
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(SMDS_Mesh) SMDSControl_MeshBoundary::ResultMesh()
|
||||
{
|
||||
if (myBoundaryMesh.IsNull())
|
||||
Compute();
|
||||
return myBoundaryMesh;
|
||||
}
|
||||
|
104
src/SMDS/SMDSControl_MeshBoundary.hxx
Normal file
104
src/SMDS/SMDSControl_MeshBoundary.hxx
Normal file
@ -0,0 +1,104 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#ifndef _SMDSControl_MeshBoundary_HeaderFile
|
||||
#define _SMDSControl_MeshBoundary_HeaderFile
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDSControl_MeshBoundary_HeaderFile
|
||||
#include "Handle_SMDSControl_MeshBoundary.hxx"
|
||||
#endif
|
||||
|
||||
#ifndef _Handle_SMDS_Mesh_HeaderFile
|
||||
#include "Handle_SMDS_Mesh.hxx"
|
||||
#endif
|
||||
#ifndef _MMgt_TShared_HeaderFile
|
||||
#include <MMgt_TShared.hxx>
|
||||
#endif
|
||||
class SMDS_Mesh;
|
||||
|
||||
|
||||
class SMDSControl_MeshBoundary : public MMgt_TShared {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT virtual void Compute() = 0;
|
||||
Standard_EXPORT Handle_SMDS_Mesh ResultMesh() ;
|
||||
Standard_EXPORT ~SMDSControl_MeshBoundary();
|
||||
|
||||
|
||||
|
||||
|
||||
// Type management
|
||||
//
|
||||
Standard_EXPORT friend Handle_Standard_Type& SMDSControl_MeshBoundary_Type_();
|
||||
Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
|
||||
Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
Standard_EXPORT SMDSControl_MeshBoundary();
|
||||
Standard_EXPORT SMDSControl_MeshBoundary(const Handle(SMDS_Mesh)& M);
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
Handle_SMDS_Mesh myMesh;
|
||||
Handle_SMDS_Mesh myBoundaryMesh;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
69
src/SMDS/SMDSControl_MeshBoundary.ixx
Normal file
69
src/SMDS/SMDSControl_MeshBoundary.ixx
Normal file
@ -0,0 +1,69 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDSControl_MeshBoundary.jxx"
|
||||
|
||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||
#include "Standard_TypeMismatch.hxx"
|
||||
#endif
|
||||
|
||||
SMDSControl_MeshBoundary::~SMDSControl_MeshBoundary() {}
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Handle_Standard_Type& SMDSControl_MeshBoundary_Type_()
|
||||
{
|
||||
|
||||
static Handle_Standard_Type aType1 = STANDARD_TYPE(MMgt_TShared);
|
||||
if ( aType1.IsNull()) aType1 = STANDARD_TYPE(MMgt_TShared);
|
||||
static Handle_Standard_Type aType2 = STANDARD_TYPE(Standard_Transient);
|
||||
if ( aType2.IsNull()) aType2 = STANDARD_TYPE(Standard_Transient);
|
||||
|
||||
|
||||
static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,NULL};
|
||||
static Handle_Standard_Type _aType = new Standard_Type("SMDSControl_MeshBoundary",
|
||||
sizeof(SMDSControl_MeshBoundary),
|
||||
1,
|
||||
(Standard_Address)_Ancestors,
|
||||
(Standard_Address)NULL);
|
||||
|
||||
return _aType;
|
||||
}
|
||||
|
||||
|
||||
// DownCast method
|
||||
// allow safe downcasting
|
||||
//
|
||||
const Handle(SMDSControl_MeshBoundary) Handle(SMDSControl_MeshBoundary)::DownCast(const Handle(Standard_Transient)& AnObject)
|
||||
{
|
||||
Handle(SMDSControl_MeshBoundary) _anOtherObject;
|
||||
|
||||
if (!AnObject.IsNull()) {
|
||||
if (AnObject->IsKind(STANDARD_TYPE(SMDSControl_MeshBoundary))) {
|
||||
_anOtherObject = Handle(SMDSControl_MeshBoundary)((Handle(SMDSControl_MeshBoundary)&)AnObject);
|
||||
}
|
||||
}
|
||||
|
||||
return _anOtherObject ;
|
||||
}
|
||||
const Handle(Standard_Type)& SMDSControl_MeshBoundary::DynamicType() const
|
||||
{
|
||||
return STANDARD_TYPE(SMDSControl_MeshBoundary) ;
|
||||
}
|
||||
Standard_Boolean SMDSControl_MeshBoundary::IsKind(const Handle(Standard_Type)& AType) const
|
||||
{
|
||||
return (STANDARD_TYPE(SMDSControl_MeshBoundary) == AType || MMgt_TShared::IsKind(AType));
|
||||
}
|
||||
Handle_SMDSControl_MeshBoundary::~Handle_SMDSControl_MeshBoundary() {}
|
||||
|
6
src/SMDS/SMDSControl_MeshBoundary.jxx
Normal file
6
src/SMDS/SMDSControl_MeshBoundary.jxx
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef _SMDS_Mesh_HeaderFile
|
||||
#include "SMDS_Mesh.hxx"
|
||||
#endif
|
||||
#ifndef _SMDSControl_MeshBoundary_HeaderFile
|
||||
#include "SMDSControl_MeshBoundary.hxx"
|
||||
#endif
|
24
src/SMDS/SMDSEdit.cdl
Normal file
24
src/SMDS/SMDSEdit.cdl
Normal file
@ -0,0 +1,24 @@
|
||||
-- File: SMDSEdit.cdl
|
||||
-- Created: Wed May 15 21:35:28 2002
|
||||
-- Author: Jean-Michel BOULCOURT
|
||||
-- <jmb@localhost.localdomain>
|
||||
---Copyright: Matra Datavision 2002
|
||||
|
||||
|
||||
package SMDSEdit
|
||||
|
||||
---Level : Public.
|
||||
-- All methods of all classes will be public.
|
||||
|
||||
---Purpose: This package provides tool classes to edit or modify
|
||||
-- Meshes or MeshElements
|
||||
--
|
||||
|
||||
uses
|
||||
SMDS,
|
||||
gp
|
||||
is
|
||||
class Transform;
|
||||
---Purpose: tool class to modify a Mesh or MeshElements by a Transformation
|
||||
|
||||
end SMDSEdit;
|
47
src/SMDS/SMDSEdit_Transform.cdl
Normal file
47
src/SMDS/SMDSEdit_Transform.cdl
Normal file
@ -0,0 +1,47 @@
|
||||
-- File: SMDSEdit_Transform.cdl
|
||||
-- Created: Wed May 15 21:45:47 2002
|
||||
-- Author: Jean-Michel BOULCOURT
|
||||
-- <jmb@localhost.localdomain>
|
||||
---Copyright: Matra Datavision 2002
|
||||
|
||||
|
||||
class Transform from SMDSEdit
|
||||
|
||||
---Purpose: tool to modify a Mesh or MeshElements by applying
|
||||
-- a transformation
|
||||
|
||||
uses
|
||||
Mesh from SMDS,
|
||||
ListOfMeshElement from SMDS,
|
||||
Trsf from gp
|
||||
|
||||
is
|
||||
Create (aMesh : Mesh from SMDS; aTrsf: Trsf from gp)
|
||||
returns Transform from SMDSEdit;
|
||||
---Purpose: create a transform tool on a whole mesh
|
||||
|
||||
Create (aMesh : Mesh from SMDS; aListOfME : ListOfMeshElement from SMDS;
|
||||
aTrsf : Trsf from gp)
|
||||
returns Transform from SMDSEdit;
|
||||
---Purpose: create a transform tool to be applied on a list of
|
||||
-- meshelements from the mesh aMesh. MeshElements from the
|
||||
-- list that do not belong to the mesh will not be treated
|
||||
|
||||
Perform (me: in out);
|
||||
---Purpose: Perform the current transformation on the Mesh or on
|
||||
-- the list of meshelements if it is not empty
|
||||
|
||||
SetTrsf(me: in out; aTrsf: Trsf from gp);
|
||||
---Purpose: replace the field myTrsf by the one given in argument
|
||||
-- This can be used to apply another transformation on a mesh
|
||||
-- without creating another instance of SMDSEdit_Transform
|
||||
|
||||
GetTrsf(me) returns Trsf from gp;
|
||||
---Purpose: returns the stored Trsf
|
||||
|
||||
|
||||
fields
|
||||
myMesh : Mesh from SMDS;
|
||||
myTrsf : Trsf from gp;
|
||||
myListOfME : ListOfMeshElement from SMDS;
|
||||
end Transform;
|
100
src/SMDS/SMDSEdit_Transform.cxx
Normal file
100
src/SMDS/SMDSEdit_Transform.cxx
Normal file
@ -0,0 +1,100 @@
|
||||
using namespace std;
|
||||
// File: SMDSEdit_Transform.cxx
|
||||
// Created: Wed May 15 21:57:17 2002
|
||||
// Author: Jean-Michel BOULCOURT
|
||||
// <jmb@localhost.localdomain>
|
||||
|
||||
|
||||
#include "SMDSEdit_Transform.ixx"
|
||||
#include "SMDS_MeshNode.hxx"
|
||||
#include "SMDS_MeshElement.hxx"
|
||||
#include "SMDS_MeshNodesIterator.hxx"
|
||||
#include "SMDS_ListIteratorOfListOfMeshElement.hxx"
|
||||
#include "TColStd_MapOfInteger.hxx"
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : SMDSEdit_Transform
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
SMDSEdit_Transform::SMDSEdit_Transform(const Handle(SMDS_Mesh)& aMesh,const gp_Trsf& aTrsf)
|
||||
:myMesh(aMesh),myTrsf(aTrsf)
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SMDSEdit_Transform
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
SMDSEdit_Transform::SMDSEdit_Transform(const Handle(SMDS_Mesh)& aMesh,
|
||||
const SMDS_ListOfMeshElement& aListOfME,
|
||||
const gp_Trsf& aTrsf)
|
||||
:myMesh(aMesh),myTrsf(aTrsf)
|
||||
{
|
||||
myListOfME = aListOfME;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetTrsf
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void SMDSEdit_Transform::SetTrsf(const gp_Trsf& aTrsf)
|
||||
{
|
||||
myTrsf = aTrsf;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : GetTrsf
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
gp_Trsf SMDSEdit_Transform::GetTrsf() const
|
||||
{
|
||||
return myTrsf;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Perform
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void SMDSEdit_Transform::Perform()
|
||||
{
|
||||
if (myListOfME.IsEmpty()) {
|
||||
// transform the whole mesh
|
||||
SMDS_MeshNodesIterator itNodes(myMesh);
|
||||
|
||||
for (;itNodes.More();itNodes.Next()) {
|
||||
const Handle(SMDS_MeshElement)& elem = itNodes.Value();
|
||||
Handle(SMDS_MeshNode) node = *((Handle(SMDS_MeshNode)*)&elem);
|
||||
|
||||
gp_Pnt P = node->Pnt();
|
||||
P.Transform(myTrsf);
|
||||
node->SetPnt(P);
|
||||
}
|
||||
|
||||
} else {
|
||||
TColStd_MapOfInteger mapnode;
|
||||
Standard_Integer nbnodes,inode;
|
||||
|
||||
SMDS_ListIteratorOfListOfMeshElement itME(myListOfME);
|
||||
for (;itME.More();itME.Next()) {
|
||||
const Handle(SMDS_MeshElement)& elem = itME.Value();
|
||||
nbnodes = elem->NbNodes();
|
||||
|
||||
for (inode = 1; inode <= nbnodes; ++inode) {
|
||||
const Handle(SMDS_MeshNode)& node = myMesh->GetNode(inode,elem);
|
||||
if (mapnode.Add(node->GetID())) {
|
||||
gp_Pnt P = node->Pnt();
|
||||
P.Transform(myTrsf);
|
||||
node->SetPnt(P);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
104
src/SMDS/SMDSEdit_Transform.hxx
Normal file
104
src/SMDS/SMDSEdit_Transform.hxx
Normal file
@ -0,0 +1,104 @@
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _SMDSEdit_Transform_HeaderFile
|
||||
#define _SMDSEdit_Transform_HeaderFile
|
||||
|
||||
#ifndef _Handle_SMDS_Mesh_HeaderFile
|
||||
#include "Handle_SMDS_Mesh.hxx"
|
||||
#endif
|
||||
#ifndef _gp_Trsf_HeaderFile
|
||||
#include <gp_Trsf.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_ListOfMeshElement_HeaderFile
|
||||
#include "SMDS_ListOfMeshElement.hxx"
|
||||
#endif
|
||||
class SMDS_Mesh;
|
||||
class gp_Trsf;
|
||||
class SMDS_ListOfMeshElement;
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
|
||||
class SMDSEdit_Transform {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT SMDSEdit_Transform(const Handle(SMDS_Mesh)& aMesh,const gp_Trsf& aTrsf);
|
||||
Standard_EXPORT SMDSEdit_Transform(const Handle(SMDS_Mesh)& aMesh,const SMDS_ListOfMeshElement& aListOfME,const gp_Trsf& aTrsf);
|
||||
Standard_EXPORT void Perform() ;
|
||||
Standard_EXPORT void SetTrsf(const gp_Trsf& aTrsf) ;
|
||||
Standard_EXPORT gp_Trsf GetTrsf() const;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
Handle_SMDS_Mesh myMesh;
|
||||
gp_Trsf myTrsf;
|
||||
SMDS_ListOfMeshElement myListOfME;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
19
src/SMDS/SMDSEdit_Transform.ixx
Normal file
19
src/SMDS/SMDSEdit_Transform.ixx
Normal file
@ -0,0 +1,19 @@
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDSEdit_Transform.jxx"
|
||||
|
||||
|
||||
|
||||
|
12
src/SMDS/SMDSEdit_Transform.jxx
Normal file
12
src/SMDS/SMDSEdit_Transform.jxx
Normal file
@ -0,0 +1,12 @@
|
||||
#ifndef _SMDS_Mesh_HeaderFile
|
||||
#include "SMDS_Mesh.hxx"
|
||||
#endif
|
||||
#ifndef _gp_Trsf_HeaderFile
|
||||
#include <gp_Trsf.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_ListOfMeshElement_HeaderFile
|
||||
#include "SMDS_ListOfMeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _SMDSEdit_Transform_HeaderFile
|
||||
#include "SMDSEdit_Transform.hxx"
|
||||
#endif
|
1
src/SMDS/SMDS_BasicMap.lxx
Normal file
1
src/SMDS/SMDS_BasicMap.lxx
Normal file
@ -0,0 +1 @@
|
||||
#error /adv_21/KAS/C40/jmbsmds/inc/SMDS_BasicMap.lxx has disappeared
|
1
src/SMDS/SMDS_BasicMapIterator.lxx
Normal file
1
src/SMDS/SMDS_BasicMapIterator.lxx
Normal file
@ -0,0 +1 @@
|
||||
#error /adv_21/KAS/C40/jmbsmds/inc/SMDS_BasicMapIterator.lxx has disappeared
|
106
src/SMDS/SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement.hxx
Normal file
106
src/SMDS/SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement.hxx
Normal file
@ -0,0 +1,106 @@
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement_HeaderFile
|
||||
#define _SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement_HeaderFile
|
||||
|
||||
#ifndef _TCollection_BasicMapIterator_HeaderFile
|
||||
#include <TCollection_BasicMapIterator.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_MeshElement_HeaderFile
|
||||
#include "Handle_SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_HeaderFile
|
||||
#include "Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx"
|
||||
#endif
|
||||
class Standard_NoSuchObject;
|
||||
class SMDS_MeshElement;
|
||||
class TColStd_MapIntegerHasher;
|
||||
class SMDS_DataMapOfIntegerMeshElement;
|
||||
class SMDS_DataMapNodeOfDataMapOfIntegerMeshElement;
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
|
||||
class SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement : public TCollection_BasicMapIterator {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement();
|
||||
Standard_EXPORT SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement(const SMDS_DataMapOfIntegerMeshElement& aMap);
|
||||
Standard_EXPORT void Initialize(const SMDS_DataMapOfIntegerMeshElement& aMap) ;
|
||||
Standard_EXPORT const Standard_Integer& Key() const;
|
||||
Standard_EXPORT const Handle_SMDS_MeshElement& Value() const;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
@ -0,0 +1,50 @@
|
||||
using namespace std;
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement.hxx"
|
||||
|
||||
#ifndef _Standard_NoSuchObject_HeaderFile
|
||||
#include <Standard_NoSuchObject.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_MeshElement_HeaderFile
|
||||
#include "SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _TColStd_MapIntegerHasher_HeaderFile
|
||||
#include <TColStd_MapIntegerHasher.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_DataMapOfIntegerMeshElement_HeaderFile
|
||||
#include "SMDS_DataMapOfIntegerMeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_HeaderFile
|
||||
#include "SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx"
|
||||
#endif
|
||||
|
||||
|
||||
#define TheKey Standard_Integer
|
||||
#define TheKey_hxx <Standard_Integer.hxx>
|
||||
#define TheItem Handle_SMDS_MeshElement
|
||||
#define TheItem_hxx <SMDS_MeshElement.hxx>
|
||||
#define Hasher TColStd_MapIntegerHasher
|
||||
#define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
|
||||
#define TCollection_DataMapNode SMDS_DataMapNodeOfDataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMapNode_hxx <SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx>
|
||||
#define TCollection_DataMapIterator SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMapIterator_hxx <SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement.hxx>
|
||||
#define Handle_TCollection_DataMapNode Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMapNode_Type_() SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_Type_()
|
||||
#define TCollection_DataMap SMDS_DataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMap_hxx <SMDS_DataMapOfIntegerMeshElement.hxx>
|
||||
#include <TCollection_DataMapIterator.gxx>
|
||||
|
103
src/SMDS/SMDS_DataMapIteratorOfDataMapOfPntInteger.hxx
Normal file
103
src/SMDS/SMDS_DataMapIteratorOfDataMapOfPntInteger.hxx
Normal file
@ -0,0 +1,103 @@
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _SMDS_DataMapIteratorOfDataMapOfPntInteger_HeaderFile
|
||||
#define _SMDS_DataMapIteratorOfDataMapOfPntInteger_HeaderFile
|
||||
|
||||
#ifndef _TCollection_BasicMapIterator_HeaderFile
|
||||
#include <TCollection_BasicMapIterator.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_DataMapNodeOfDataMapOfPntInteger_HeaderFile
|
||||
#include "Handle_SMDS_DataMapNodeOfDataMapOfPntInteger.hxx"
|
||||
#endif
|
||||
class Standard_NoSuchObject;
|
||||
class gp_Pnt;
|
||||
class SMDS_PntHasher;
|
||||
class SMDS_DataMapOfPntInteger;
|
||||
class SMDS_DataMapNodeOfDataMapOfPntInteger;
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
|
||||
class SMDS_DataMapIteratorOfDataMapOfPntInteger : public TCollection_BasicMapIterator {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT SMDS_DataMapIteratorOfDataMapOfPntInteger();
|
||||
Standard_EXPORT SMDS_DataMapIteratorOfDataMapOfPntInteger(const SMDS_DataMapOfPntInteger& aMap);
|
||||
Standard_EXPORT void Initialize(const SMDS_DataMapOfPntInteger& aMap) ;
|
||||
Standard_EXPORT const gp_Pnt& Key() const;
|
||||
Standard_EXPORT const Standard_Integer& Value() const;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
50
src/SMDS/SMDS_DataMapIteratorOfDataMapOfPntInteger_0.cxx
Normal file
50
src/SMDS/SMDS_DataMapIteratorOfDataMapOfPntInteger_0.cxx
Normal file
@ -0,0 +1,50 @@
|
||||
using namespace std;
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDS_DataMapIteratorOfDataMapOfPntInteger.hxx"
|
||||
|
||||
#ifndef _Standard_NoSuchObject_HeaderFile
|
||||
#include <Standard_NoSuchObject.hxx>
|
||||
#endif
|
||||
#ifndef _gp_Pnt_HeaderFile
|
||||
#include <gp_Pnt.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_PntHasher_HeaderFile
|
||||
#include "SMDS_PntHasher.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_DataMapOfPntInteger_HeaderFile
|
||||
#include "SMDS_DataMapOfPntInteger.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_DataMapNodeOfDataMapOfPntInteger_HeaderFile
|
||||
#include "SMDS_DataMapNodeOfDataMapOfPntInteger.hxx"
|
||||
#endif
|
||||
|
||||
|
||||
#define TheKey gp_Pnt
|
||||
#define TheKey_hxx <gp_Pnt.hxx>
|
||||
#define TheItem Standard_Integer
|
||||
#define TheItem_hxx <Standard_Integer.hxx>
|
||||
#define Hasher SMDS_PntHasher
|
||||
#define Hasher_hxx <SMDS_PntHasher.hxx>
|
||||
#define TCollection_DataMapNode SMDS_DataMapNodeOfDataMapOfPntInteger
|
||||
#define TCollection_DataMapNode_hxx <SMDS_DataMapNodeOfDataMapOfPntInteger.hxx>
|
||||
#define TCollection_DataMapIterator SMDS_DataMapIteratorOfDataMapOfPntInteger
|
||||
#define TCollection_DataMapIterator_hxx <SMDS_DataMapIteratorOfDataMapOfPntInteger.hxx>
|
||||
#define Handle_TCollection_DataMapNode Handle_SMDS_DataMapNodeOfDataMapOfPntInteger
|
||||
#define TCollection_DataMapNode_Type_() SMDS_DataMapNodeOfDataMapOfPntInteger_Type_()
|
||||
#define TCollection_DataMap SMDS_DataMapOfPntInteger
|
||||
#define TCollection_DataMap_hxx <SMDS_DataMapOfPntInteger.hxx>
|
||||
#include <TCollection_DataMapIterator.gxx>
|
||||
|
141
src/SMDS/SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx
Normal file
141
src/SMDS/SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx
Normal file
@ -0,0 +1,141 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#ifndef _SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_HeaderFile
|
||||
#define _SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_HeaderFile
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_HeaderFile
|
||||
#include "Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx"
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_MeshElement_HeaderFile
|
||||
#include "Handle_SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _TCollection_MapNode_HeaderFile
|
||||
#include <TCollection_MapNode.hxx>
|
||||
#endif
|
||||
#ifndef _TCollection_MapNodePtr_HeaderFile
|
||||
#include <TCollection_MapNodePtr.hxx>
|
||||
#endif
|
||||
class SMDS_MeshElement;
|
||||
class TColStd_MapIntegerHasher;
|
||||
class SMDS_DataMapOfIntegerMeshElement;
|
||||
class SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement;
|
||||
|
||||
|
||||
class SMDS_DataMapNodeOfDataMapOfIntegerMeshElement : public TCollection_MapNode {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT inline SMDS_DataMapNodeOfDataMapOfIntegerMeshElement(const Standard_Integer& K,const Handle(SMDS_MeshElement)& I,const TCollection_MapNodePtr& n);
|
||||
Standard_EXPORT inline Standard_Integer& Key() const;
|
||||
Standard_EXPORT inline Handle_SMDS_MeshElement& Value() const;
|
||||
Standard_EXPORT ~SMDS_DataMapNodeOfDataMapOfIntegerMeshElement();
|
||||
|
||||
|
||||
|
||||
|
||||
// Type management
|
||||
//
|
||||
Standard_EXPORT friend Handle_Standard_Type& SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_Type_();
|
||||
Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
|
||||
Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
Standard_Integer myKey;
|
||||
Handle_SMDS_MeshElement myValue;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#define TheKey Standard_Integer
|
||||
#define TheKey_hxx <Standard_Integer.hxx>
|
||||
#define TheItem Handle_SMDS_MeshElement
|
||||
#define TheItem_hxx <SMDS_MeshElement.hxx>
|
||||
#define Hasher TColStd_MapIntegerHasher
|
||||
#define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
|
||||
#define TCollection_DataMapNode SMDS_DataMapNodeOfDataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMapNode_hxx <SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx>
|
||||
#define TCollection_DataMapIterator SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMapIterator_hxx <SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement.hxx>
|
||||
#define Handle_TCollection_DataMapNode Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMapNode_Type_() SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_Type_()
|
||||
#define TCollection_DataMap SMDS_DataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMap_hxx <SMDS_DataMapOfIntegerMeshElement.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
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
99
src/SMDS/SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_0.cxx
Normal file
99
src/SMDS/SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_0.cxx
Normal file
@ -0,0 +1,99 @@
|
||||
using namespace std;
|
||||
// File generated by CPPExt (Transient)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx"
|
||||
|
||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||
#include <Standard_TypeMismatch.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _SMDS_MeshElement_HeaderFile
|
||||
#include "SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _TColStd_MapIntegerHasher_HeaderFile
|
||||
#include <TColStd_MapIntegerHasher.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_DataMapOfIntegerMeshElement_HeaderFile
|
||||
#include "SMDS_DataMapOfIntegerMeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement_HeaderFile
|
||||
#include "SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement.hxx"
|
||||
#endif
|
||||
SMDS_DataMapNodeOfDataMapOfIntegerMeshElement::~SMDS_DataMapNodeOfDataMapOfIntegerMeshElement() {}
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Handle_Standard_Type& SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_Type_()
|
||||
{
|
||||
|
||||
static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
|
||||
if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
|
||||
static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
|
||||
if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
|
||||
static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
|
||||
if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
|
||||
|
||||
|
||||
static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
|
||||
static Handle_Standard_Type _aType = new Standard_Type("SMDS_DataMapNodeOfDataMapOfIntegerMeshElement",
|
||||
sizeof(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement),
|
||||
1,
|
||||
(Standard_Address)_Ancestors,
|
||||
(Standard_Address)NULL);
|
||||
|
||||
return _aType;
|
||||
}
|
||||
|
||||
|
||||
// DownCast method
|
||||
// allow safe downcasting
|
||||
//
|
||||
const Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement) Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement)::DownCast(const Handle(Standard_Transient)& AnObject)
|
||||
{
|
||||
Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement) _anOtherObject;
|
||||
|
||||
if (!AnObject.IsNull()) {
|
||||
if (AnObject->IsKind(STANDARD_TYPE(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement))) {
|
||||
_anOtherObject = Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement)((Handle(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement)&)AnObject);
|
||||
}
|
||||
}
|
||||
|
||||
return _anOtherObject ;
|
||||
}
|
||||
const Handle(Standard_Type)& SMDS_DataMapNodeOfDataMapOfIntegerMeshElement::DynamicType() const
|
||||
{
|
||||
return STANDARD_TYPE(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement) ;
|
||||
}
|
||||
Standard_Boolean SMDS_DataMapNodeOfDataMapOfIntegerMeshElement::IsKind(const Handle(Standard_Type)& AType) const
|
||||
{
|
||||
return (STANDARD_TYPE(SMDS_DataMapNodeOfDataMapOfIntegerMeshElement) == AType || TCollection_MapNode::IsKind(AType));
|
||||
}
|
||||
Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement::~Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement() {}
|
||||
#define TheKey Standard_Integer
|
||||
#define TheKey_hxx <Standard_Integer.hxx>
|
||||
#define TheItem Handle_SMDS_MeshElement
|
||||
#define TheItem_hxx <SMDS_MeshElement.hxx>
|
||||
#define Hasher TColStd_MapIntegerHasher
|
||||
#define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
|
||||
#define TCollection_DataMapNode SMDS_DataMapNodeOfDataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMapNode_hxx <SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx>
|
||||
#define TCollection_DataMapIterator SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMapIterator_hxx <SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement.hxx>
|
||||
#define Handle_TCollection_DataMapNode Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMapNode_Type_() SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_Type_()
|
||||
#define TCollection_DataMap SMDS_DataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMap_hxx <SMDS_DataMapOfIntegerMeshElement.hxx>
|
||||
#include <TCollection_DataMapNode.gxx>
|
||||
|
141
src/SMDS/SMDS_DataMapNodeOfDataMapOfPntInteger.hxx
Normal file
141
src/SMDS/SMDS_DataMapNodeOfDataMapOfPntInteger.hxx
Normal file
@ -0,0 +1,141 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#ifndef _SMDS_DataMapNodeOfDataMapOfPntInteger_HeaderFile
|
||||
#define _SMDS_DataMapNodeOfDataMapOfPntInteger_HeaderFile
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_DataMapNodeOfDataMapOfPntInteger_HeaderFile
|
||||
#include "Handle_SMDS_DataMapNodeOfDataMapOfPntInteger.hxx"
|
||||
#endif
|
||||
|
||||
#ifndef _gp_Pnt_HeaderFile
|
||||
#include <gp_Pnt.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
#ifndef _TCollection_MapNode_HeaderFile
|
||||
#include <TCollection_MapNode.hxx>
|
||||
#endif
|
||||
#ifndef _TCollection_MapNodePtr_HeaderFile
|
||||
#include <TCollection_MapNodePtr.hxx>
|
||||
#endif
|
||||
class gp_Pnt;
|
||||
class SMDS_PntHasher;
|
||||
class SMDS_DataMapOfPntInteger;
|
||||
class SMDS_DataMapIteratorOfDataMapOfPntInteger;
|
||||
|
||||
|
||||
class SMDS_DataMapNodeOfDataMapOfPntInteger : public TCollection_MapNode {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT inline SMDS_DataMapNodeOfDataMapOfPntInteger(const gp_Pnt& K,const Standard_Integer& I,const TCollection_MapNodePtr& n);
|
||||
Standard_EXPORT inline gp_Pnt& Key() const;
|
||||
Standard_EXPORT inline Standard_Integer& Value() const;
|
||||
Standard_EXPORT ~SMDS_DataMapNodeOfDataMapOfPntInteger();
|
||||
|
||||
|
||||
|
||||
|
||||
// Type management
|
||||
//
|
||||
Standard_EXPORT friend Handle_Standard_Type& SMDS_DataMapNodeOfDataMapOfPntInteger_Type_();
|
||||
Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
|
||||
Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
gp_Pnt myKey;
|
||||
Standard_Integer myValue;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#define TheKey gp_Pnt
|
||||
#define TheKey_hxx <gp_Pnt.hxx>
|
||||
#define TheItem Standard_Integer
|
||||
#define TheItem_hxx <Standard_Integer.hxx>
|
||||
#define Hasher SMDS_PntHasher
|
||||
#define Hasher_hxx <SMDS_PntHasher.hxx>
|
||||
#define TCollection_DataMapNode SMDS_DataMapNodeOfDataMapOfPntInteger
|
||||
#define TCollection_DataMapNode_hxx <SMDS_DataMapNodeOfDataMapOfPntInteger.hxx>
|
||||
#define TCollection_DataMapIterator SMDS_DataMapIteratorOfDataMapOfPntInteger
|
||||
#define TCollection_DataMapIterator_hxx <SMDS_DataMapIteratorOfDataMapOfPntInteger.hxx>
|
||||
#define Handle_TCollection_DataMapNode Handle_SMDS_DataMapNodeOfDataMapOfPntInteger
|
||||
#define TCollection_DataMapNode_Type_() SMDS_DataMapNodeOfDataMapOfPntInteger_Type_()
|
||||
#define TCollection_DataMap SMDS_DataMapOfPntInteger
|
||||
#define TCollection_DataMap_hxx <SMDS_DataMapOfPntInteger.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
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
99
src/SMDS/SMDS_DataMapNodeOfDataMapOfPntInteger_0.cxx
Normal file
99
src/SMDS/SMDS_DataMapNodeOfDataMapOfPntInteger_0.cxx
Normal file
@ -0,0 +1,99 @@
|
||||
using namespace std;
|
||||
// File generated by CPPExt (Transient)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDS_DataMapNodeOfDataMapOfPntInteger.hxx"
|
||||
|
||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||
#include <Standard_TypeMismatch.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _gp_Pnt_HeaderFile
|
||||
#include <gp_Pnt.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_PntHasher_HeaderFile
|
||||
#include "SMDS_PntHasher.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_DataMapOfPntInteger_HeaderFile
|
||||
#include "SMDS_DataMapOfPntInteger.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_DataMapIteratorOfDataMapOfPntInteger_HeaderFile
|
||||
#include "SMDS_DataMapIteratorOfDataMapOfPntInteger.hxx"
|
||||
#endif
|
||||
SMDS_DataMapNodeOfDataMapOfPntInteger::~SMDS_DataMapNodeOfDataMapOfPntInteger() {}
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Handle_Standard_Type& SMDS_DataMapNodeOfDataMapOfPntInteger_Type_()
|
||||
{
|
||||
|
||||
static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode);
|
||||
if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode);
|
||||
static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
|
||||
if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
|
||||
static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
|
||||
if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
|
||||
|
||||
|
||||
static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
|
||||
static Handle_Standard_Type _aType = new Standard_Type("SMDS_DataMapNodeOfDataMapOfPntInteger",
|
||||
sizeof(SMDS_DataMapNodeOfDataMapOfPntInteger),
|
||||
1,
|
||||
(Standard_Address)_Ancestors,
|
||||
(Standard_Address)NULL);
|
||||
|
||||
return _aType;
|
||||
}
|
||||
|
||||
|
||||
// DownCast method
|
||||
// allow safe downcasting
|
||||
//
|
||||
const Handle(SMDS_DataMapNodeOfDataMapOfPntInteger) Handle(SMDS_DataMapNodeOfDataMapOfPntInteger)::DownCast(const Handle(Standard_Transient)& AnObject)
|
||||
{
|
||||
Handle(SMDS_DataMapNodeOfDataMapOfPntInteger) _anOtherObject;
|
||||
|
||||
if (!AnObject.IsNull()) {
|
||||
if (AnObject->IsKind(STANDARD_TYPE(SMDS_DataMapNodeOfDataMapOfPntInteger))) {
|
||||
_anOtherObject = Handle(SMDS_DataMapNodeOfDataMapOfPntInteger)((Handle(SMDS_DataMapNodeOfDataMapOfPntInteger)&)AnObject);
|
||||
}
|
||||
}
|
||||
|
||||
return _anOtherObject ;
|
||||
}
|
||||
const Handle(Standard_Type)& SMDS_DataMapNodeOfDataMapOfPntInteger::DynamicType() const
|
||||
{
|
||||
return STANDARD_TYPE(SMDS_DataMapNodeOfDataMapOfPntInteger) ;
|
||||
}
|
||||
Standard_Boolean SMDS_DataMapNodeOfDataMapOfPntInteger::IsKind(const Handle(Standard_Type)& AType) const
|
||||
{
|
||||
return (STANDARD_TYPE(SMDS_DataMapNodeOfDataMapOfPntInteger) == AType || TCollection_MapNode::IsKind(AType));
|
||||
}
|
||||
Handle_SMDS_DataMapNodeOfDataMapOfPntInteger::~Handle_SMDS_DataMapNodeOfDataMapOfPntInteger() {}
|
||||
#define TheKey gp_Pnt
|
||||
#define TheKey_hxx <gp_Pnt.hxx>
|
||||
#define TheItem Standard_Integer
|
||||
#define TheItem_hxx <Standard_Integer.hxx>
|
||||
#define Hasher SMDS_PntHasher
|
||||
#define Hasher_hxx <SMDS_PntHasher.hxx>
|
||||
#define TCollection_DataMapNode SMDS_DataMapNodeOfDataMapOfPntInteger
|
||||
#define TCollection_DataMapNode_hxx <SMDS_DataMapNodeOfDataMapOfPntInteger.hxx>
|
||||
#define TCollection_DataMapIterator SMDS_DataMapIteratorOfDataMapOfPntInteger
|
||||
#define TCollection_DataMapIterator_hxx <SMDS_DataMapIteratorOfDataMapOfPntInteger.hxx>
|
||||
#define Handle_TCollection_DataMapNode Handle_SMDS_DataMapNodeOfDataMapOfPntInteger
|
||||
#define TCollection_DataMapNode_Type_() SMDS_DataMapNodeOfDataMapOfPntInteger_Type_()
|
||||
#define TCollection_DataMap SMDS_DataMapOfPntInteger
|
||||
#define TCollection_DataMap_hxx <SMDS_DataMapOfPntInteger.hxx>
|
||||
#include <TCollection_DataMapNode.gxx>
|
||||
|
135
src/SMDS/SMDS_DataMapOfIntegerMeshElement.hxx
Normal file
135
src/SMDS/SMDS_DataMapOfIntegerMeshElement.hxx
Normal file
@ -0,0 +1,135 @@
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _SMDS_DataMapOfIntegerMeshElement_HeaderFile
|
||||
#define _SMDS_DataMapOfIntegerMeshElement_HeaderFile
|
||||
|
||||
#ifndef _TCollection_BasicMap_HeaderFile
|
||||
#include <TCollection_BasicMap.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_MeshElement_HeaderFile
|
||||
#include "Handle_SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_HeaderFile
|
||||
#include "Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _Standard_Boolean_HeaderFile
|
||||
#include <Standard_Boolean.hxx>
|
||||
#endif
|
||||
class Standard_DomainError;
|
||||
class Standard_NoSuchObject;
|
||||
class SMDS_MeshElement;
|
||||
class TColStd_MapIntegerHasher;
|
||||
class SMDS_DataMapNodeOfDataMapOfIntegerMeshElement;
|
||||
class SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement;
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
|
||||
class SMDS_DataMapOfIntegerMeshElement : public TCollection_BasicMap {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT SMDS_DataMapOfIntegerMeshElement(const Standard_Integer NbBuckets = 1);
|
||||
Standard_EXPORT SMDS_DataMapOfIntegerMeshElement& Assign(const SMDS_DataMapOfIntegerMeshElement& Other) ;
|
||||
SMDS_DataMapOfIntegerMeshElement& operator =(const SMDS_DataMapOfIntegerMeshElement& Other)
|
||||
{
|
||||
return Assign(Other);
|
||||
}
|
||||
|
||||
Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ;
|
||||
Standard_EXPORT void Clear() ;
|
||||
~SMDS_DataMapOfIntegerMeshElement()
|
||||
{
|
||||
Clear();
|
||||
}
|
||||
|
||||
Standard_EXPORT Standard_Boolean Bind(const Standard_Integer& K,const Handle(SMDS_MeshElement)& I) ;
|
||||
Standard_EXPORT Standard_Boolean IsBound(const Standard_Integer& K) const;
|
||||
Standard_EXPORT Standard_Boolean UnBind(const Standard_Integer& K) ;
|
||||
Standard_EXPORT const Handle_SMDS_MeshElement& Find(const Standard_Integer& K) const;
|
||||
const Handle_SMDS_MeshElement& operator()(const Standard_Integer& K) const
|
||||
{
|
||||
return Find(K);
|
||||
}
|
||||
|
||||
Standard_EXPORT Handle_SMDS_MeshElement& ChangeFind(const Standard_Integer& K) ;
|
||||
Handle_SMDS_MeshElement& operator()(const Standard_Integer& K)
|
||||
{
|
||||
return ChangeFind(K);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
Standard_EXPORT SMDS_DataMapOfIntegerMeshElement(const SMDS_DataMapOfIntegerMeshElement& Other);
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
53
src/SMDS/SMDS_DataMapOfIntegerMeshElement_0.cxx
Normal file
53
src/SMDS/SMDS_DataMapOfIntegerMeshElement_0.cxx
Normal file
@ -0,0 +1,53 @@
|
||||
using namespace std;
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDS_DataMapOfIntegerMeshElement.hxx"
|
||||
|
||||
#ifndef _Standard_DomainError_HeaderFile
|
||||
#include <Standard_DomainError.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_NoSuchObject_HeaderFile
|
||||
#include <Standard_NoSuchObject.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_MeshElement_HeaderFile
|
||||
#include "SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _TColStd_MapIntegerHasher_HeaderFile
|
||||
#include <TColStd_MapIntegerHasher.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_HeaderFile
|
||||
#include "SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement_HeaderFile
|
||||
#include "SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement.hxx"
|
||||
#endif
|
||||
|
||||
|
||||
#define TheKey Standard_Integer
|
||||
#define TheKey_hxx <Standard_Integer.hxx>
|
||||
#define TheItem Handle_SMDS_MeshElement
|
||||
#define TheItem_hxx <SMDS_MeshElement.hxx>
|
||||
#define Hasher TColStd_MapIntegerHasher
|
||||
#define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
|
||||
#define TCollection_DataMapNode SMDS_DataMapNodeOfDataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMapNode_hxx <SMDS_DataMapNodeOfDataMapOfIntegerMeshElement.hxx>
|
||||
#define TCollection_DataMapIterator SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMapIterator_hxx <SMDS_DataMapIteratorOfDataMapOfIntegerMeshElement.hxx>
|
||||
#define Handle_TCollection_DataMapNode Handle_SMDS_DataMapNodeOfDataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMapNode_Type_() SMDS_DataMapNodeOfDataMapOfIntegerMeshElement_Type_()
|
||||
#define TCollection_DataMap SMDS_DataMapOfIntegerMeshElement
|
||||
#define TCollection_DataMap_hxx <SMDS_DataMapOfIntegerMeshElement.hxx>
|
||||
#include <TCollection_DataMap.gxx>
|
||||
|
132
src/SMDS/SMDS_DataMapOfPntInteger.hxx
Normal file
132
src/SMDS/SMDS_DataMapOfPntInteger.hxx
Normal file
@ -0,0 +1,132 @@
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _SMDS_DataMapOfPntInteger_HeaderFile
|
||||
#define _SMDS_DataMapOfPntInteger_HeaderFile
|
||||
|
||||
#ifndef _TCollection_BasicMap_HeaderFile
|
||||
#include <TCollection_BasicMap.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_DataMapNodeOfDataMapOfPntInteger_HeaderFile
|
||||
#include "Handle_SMDS_DataMapNodeOfDataMapOfPntInteger.hxx"
|
||||
#endif
|
||||
#ifndef _Standard_Boolean_HeaderFile
|
||||
#include <Standard_Boolean.hxx>
|
||||
#endif
|
||||
class Standard_DomainError;
|
||||
class Standard_NoSuchObject;
|
||||
class gp_Pnt;
|
||||
class SMDS_PntHasher;
|
||||
class SMDS_DataMapNodeOfDataMapOfPntInteger;
|
||||
class SMDS_DataMapIteratorOfDataMapOfPntInteger;
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
|
||||
class SMDS_DataMapOfPntInteger : public TCollection_BasicMap {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT SMDS_DataMapOfPntInteger(const Standard_Integer NbBuckets = 1);
|
||||
Standard_EXPORT SMDS_DataMapOfPntInteger& Assign(const SMDS_DataMapOfPntInteger& Other) ;
|
||||
SMDS_DataMapOfPntInteger& operator =(const SMDS_DataMapOfPntInteger& Other)
|
||||
{
|
||||
return Assign(Other);
|
||||
}
|
||||
|
||||
Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ;
|
||||
Standard_EXPORT void Clear() ;
|
||||
~SMDS_DataMapOfPntInteger()
|
||||
{
|
||||
Clear();
|
||||
}
|
||||
|
||||
Standard_EXPORT Standard_Boolean Bind(const gp_Pnt& K,const Standard_Integer& I) ;
|
||||
Standard_EXPORT Standard_Boolean IsBound(const gp_Pnt& K) const;
|
||||
Standard_EXPORT Standard_Boolean UnBind(const gp_Pnt& K) ;
|
||||
Standard_EXPORT const Standard_Integer& Find(const gp_Pnt& K) const;
|
||||
const Standard_Integer& operator()(const gp_Pnt& K) const
|
||||
{
|
||||
return Find(K);
|
||||
}
|
||||
|
||||
Standard_EXPORT Standard_Integer& ChangeFind(const gp_Pnt& K) ;
|
||||
Standard_Integer& operator()(const gp_Pnt& K)
|
||||
{
|
||||
return ChangeFind(K);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
Standard_EXPORT SMDS_DataMapOfPntInteger(const SMDS_DataMapOfPntInteger& Other);
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
53
src/SMDS/SMDS_DataMapOfPntInteger_0.cxx
Normal file
53
src/SMDS/SMDS_DataMapOfPntInteger_0.cxx
Normal file
@ -0,0 +1,53 @@
|
||||
using namespace std;
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDS_DataMapOfPntInteger.hxx"
|
||||
|
||||
#ifndef _Standard_DomainError_HeaderFile
|
||||
#include <Standard_DomainError.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_NoSuchObject_HeaderFile
|
||||
#include <Standard_NoSuchObject.hxx>
|
||||
#endif
|
||||
#ifndef _gp_Pnt_HeaderFile
|
||||
#include <gp_Pnt.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_PntHasher_HeaderFile
|
||||
#include "SMDS_PntHasher.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_DataMapNodeOfDataMapOfPntInteger_HeaderFile
|
||||
#include "SMDS_DataMapNodeOfDataMapOfPntInteger.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_DataMapIteratorOfDataMapOfPntInteger_HeaderFile
|
||||
#include "SMDS_DataMapIteratorOfDataMapOfPntInteger.hxx"
|
||||
#endif
|
||||
|
||||
|
||||
#define TheKey gp_Pnt
|
||||
#define TheKey_hxx <gp_Pnt.hxx>
|
||||
#define TheItem Standard_Integer
|
||||
#define TheItem_hxx <Standard_Integer.hxx>
|
||||
#define Hasher SMDS_PntHasher
|
||||
#define Hasher_hxx <SMDS_PntHasher.hxx>
|
||||
#define TCollection_DataMapNode SMDS_DataMapNodeOfDataMapOfPntInteger
|
||||
#define TCollection_DataMapNode_hxx <SMDS_DataMapNodeOfDataMapOfPntInteger.hxx>
|
||||
#define TCollection_DataMapIterator SMDS_DataMapIteratorOfDataMapOfPntInteger
|
||||
#define TCollection_DataMapIterator_hxx <SMDS_DataMapIteratorOfDataMapOfPntInteger.hxx>
|
||||
#define Handle_TCollection_DataMapNode Handle_SMDS_DataMapNodeOfDataMapOfPntInteger
|
||||
#define TCollection_DataMapNode_Type_() SMDS_DataMapNodeOfDataMapOfPntInteger_Type_()
|
||||
#define TCollection_DataMap SMDS_DataMapOfPntInteger
|
||||
#define TCollection_DataMap_hxx <SMDS_DataMapOfPntInteger.hxx>
|
||||
#include <TCollection_DataMap.gxx>
|
||||
|
36
src/SMDS/SMDS_EdgePosition.cdl
Normal file
36
src/SMDS/SMDS_EdgePosition.cdl
Normal file
@ -0,0 +1,36 @@
|
||||
-- File: SMDS_EdgePosition.cdl
|
||||
-- Created: Mon May 13 14:44:40 2002
|
||||
-- Author: Jean-Michel BOULCOURT
|
||||
-- <jmb@localhost.localdomain>
|
||||
---Copyright: Matra Datavision 2002
|
||||
|
||||
|
||||
class EdgePosition from SMDS inherits Position from SMDS
|
||||
|
||||
---Purpose: used to characterize a MeshNode with a CAD edge
|
||||
|
||||
uses
|
||||
Pnt from gp
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable EdgePosition;
|
||||
---Purpose: empty constructor. the edge is not set
|
||||
|
||||
Create(aEdgeId : Integer; aUParam : Real) returns mutable EdgePosition;
|
||||
|
||||
Coords(me) returns Pnt from gp is redefined virtual;
|
||||
---Purpose: returns the resulting 3d point to be set
|
||||
-- in the MeshNode instance
|
||||
|
||||
SetUParameter(me: mutable; aUparam : Real);
|
||||
---C++: inline
|
||||
|
||||
GetUParameter(me) returns Real;
|
||||
---C++: inline
|
||||
|
||||
fields
|
||||
|
||||
myUParameter : Real;
|
||||
|
||||
end EdgePosition;
|
41
src/SMDS/SMDS_EdgePosition.cxx
Normal file
41
src/SMDS/SMDS_EdgePosition.cxx
Normal file
@ -0,0 +1,41 @@
|
||||
using namespace std;
|
||||
// File: SMDS_EdgePosition.cxx
|
||||
// Created: Mon May 13 14:49:28 2002
|
||||
// Author: Jean-Michel BOULCOURT
|
||||
// <jmb@localhost.localdomain>
|
||||
|
||||
|
||||
#include "SMDS_EdgePosition.ixx"
|
||||
#include "utilities.h"
|
||||
|
||||
//=======================================================================
|
||||
//function : SMDS_EdgePosition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
SMDS_EdgePosition::SMDS_EdgePosition()
|
||||
:SMDS_Position(0,SMDS_TOP_EDGE),myUParameter(0.)
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SMDS_EdgePosition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
SMDS_EdgePosition::SMDS_EdgePosition(const Standard_Integer aEdgeId,
|
||||
const Standard_Real aUParam)
|
||||
:SMDS_Position(aEdgeId,SMDS_TOP_EDGE),myUParameter(aUParam)
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Coords
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
gp_Pnt SMDS_EdgePosition::Coords() const
|
||||
{
|
||||
MESSAGE( "SMDS_EdgePosition::Coords not implemented" );
|
||||
return gp_Pnt(0,0,0);
|
||||
}
|
108
src/SMDS/SMDS_EdgePosition.hxx
Normal file
108
src/SMDS/SMDS_EdgePosition.hxx
Normal file
@ -0,0 +1,108 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#ifndef _SMDS_EdgePosition_HeaderFile
|
||||
#define _SMDS_EdgePosition_HeaderFile
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_EdgePosition_HeaderFile
|
||||
#include "Handle_SMDS_EdgePosition.hxx"
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_Real_HeaderFile
|
||||
#include <Standard_Real.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_Position_HeaderFile
|
||||
#include "SMDS_Position.hxx"
|
||||
#endif
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
class gp_Pnt;
|
||||
|
||||
|
||||
class SMDS_EdgePosition : public SMDS_Position {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT SMDS_EdgePosition();
|
||||
Standard_EXPORT SMDS_EdgePosition(const Standard_Integer aEdgeId,const Standard_Real aUParam);
|
||||
Standard_EXPORT virtual gp_Pnt Coords() const;
|
||||
Standard_EXPORT inline void SetUParameter(const Standard_Real aUparam) ;
|
||||
Standard_EXPORT inline Standard_Real GetUParameter() const;
|
||||
Standard_EXPORT ~SMDS_EdgePosition();
|
||||
|
||||
|
||||
|
||||
|
||||
// Type management
|
||||
//
|
||||
Standard_EXPORT friend Handle_Standard_Type& SMDS_EdgePosition_Type_();
|
||||
Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
|
||||
Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
Standard_Real myUParameter;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
#include "SMDS_EdgePosition.lxx"
|
||||
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
71
src/SMDS/SMDS_EdgePosition.ixx
Normal file
71
src/SMDS/SMDS_EdgePosition.ixx
Normal file
@ -0,0 +1,71 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDS_EdgePosition.jxx"
|
||||
|
||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||
#include <Standard_TypeMismatch.hxx>
|
||||
#endif
|
||||
|
||||
SMDS_EdgePosition::~SMDS_EdgePosition() {}
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Handle_Standard_Type& SMDS_EdgePosition_Type_()
|
||||
{
|
||||
|
||||
static Handle_Standard_Type aType1 = STANDARD_TYPE(SMDS_Position);
|
||||
if ( aType1.IsNull()) aType1 = STANDARD_TYPE(SMDS_Position);
|
||||
static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
|
||||
if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
|
||||
static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
|
||||
if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
|
||||
|
||||
|
||||
static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
|
||||
static Handle_Standard_Type _aType = new Standard_Type("SMDS_EdgePosition",
|
||||
sizeof(SMDS_EdgePosition),
|
||||
1,
|
||||
(Standard_Address)_Ancestors,
|
||||
(Standard_Address)NULL);
|
||||
|
||||
return _aType;
|
||||
}
|
||||
|
||||
|
||||
// DownCast method
|
||||
// allow safe downcasting
|
||||
//
|
||||
const Handle(SMDS_EdgePosition) Handle(SMDS_EdgePosition)::DownCast(const Handle(Standard_Transient)& AnObject)
|
||||
{
|
||||
Handle(SMDS_EdgePosition) _anOtherObject;
|
||||
|
||||
if (!AnObject.IsNull()) {
|
||||
if (AnObject->IsKind(STANDARD_TYPE(SMDS_EdgePosition))) {
|
||||
_anOtherObject = Handle(SMDS_EdgePosition)((Handle(SMDS_EdgePosition)&)AnObject);
|
||||
}
|
||||
}
|
||||
|
||||
return _anOtherObject ;
|
||||
}
|
||||
const Handle(Standard_Type)& SMDS_EdgePosition::DynamicType() const
|
||||
{
|
||||
return STANDARD_TYPE(SMDS_EdgePosition) ;
|
||||
}
|
||||
Standard_Boolean SMDS_EdgePosition::IsKind(const Handle(Standard_Type)& AType) const
|
||||
{
|
||||
return (STANDARD_TYPE(SMDS_EdgePosition) == AType || SMDS_Position::IsKind(AType));
|
||||
}
|
||||
Handle_SMDS_EdgePosition::~Handle_SMDS_EdgePosition() {}
|
||||
|
6
src/SMDS/SMDS_EdgePosition.jxx
Normal file
6
src/SMDS/SMDS_EdgePosition.jxx
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef _gp_Pnt_HeaderFile
|
||||
#include <gp_Pnt.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_EdgePosition_HeaderFile
|
||||
#include "SMDS_EdgePosition.hxx"
|
||||
#endif
|
24
src/SMDS/SMDS_EdgePosition.lxx
Normal file
24
src/SMDS/SMDS_EdgePosition.lxx
Normal file
@ -0,0 +1,24 @@
|
||||
// File: SMDS_EdgePosition.lxx
|
||||
// Created: Mon May 13 14:47:40 2002
|
||||
// Author: Jean-Michel BOULCOURT
|
||||
// <jmb@localhost.localdomain>
|
||||
|
||||
//=======================================================================
|
||||
//function : SetUParameter
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline void SMDS_EdgePosition::SetUParameter(const Standard_Real aUparam)
|
||||
{
|
||||
myUParameter = aUparam;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : GetUParameter
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline Standard_Real SMDS_EdgePosition::GetUParameter() const
|
||||
{
|
||||
return myUParameter;
|
||||
}
|
122
src/SMDS/SMDS_ExtendedMap.hxx
Normal file
122
src/SMDS/SMDS_ExtendedMap.hxx
Normal file
@ -0,0 +1,122 @@
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _SMDS_ExtendedMap_HeaderFile
|
||||
#define _SMDS_ExtendedMap_HeaderFile
|
||||
|
||||
#ifndef _TCollection_BasicMap_HeaderFile
|
||||
#include <TCollection_BasicMap.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_MeshElement_HeaderFile
|
||||
#include "Handle_SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_StdMapNodeOfExtendedMap_HeaderFile
|
||||
#include "Handle_SMDS_StdMapNodeOfExtendedMap.hxx"
|
||||
#endif
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Boolean_HeaderFile
|
||||
#include <Standard_Boolean.hxx>
|
||||
#endif
|
||||
class Standard_DomainError;
|
||||
class SMDS_MeshElement;
|
||||
class SMDS_MeshElementMapHasher;
|
||||
class SMDS_StdMapNodeOfExtendedMap;
|
||||
class SMDS_MapIteratorOfExtendedMap;
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
|
||||
class SMDS_ExtendedMap : public TCollection_BasicMap {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT SMDS_ExtendedMap(const Standard_Integer NbBuckets = 1);
|
||||
Standard_EXPORT SMDS_ExtendedMap& Assign(const SMDS_ExtendedMap& Other) ;
|
||||
SMDS_ExtendedMap& operator =(const SMDS_ExtendedMap& Other)
|
||||
{
|
||||
return Assign(Other);
|
||||
}
|
||||
|
||||
Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ;
|
||||
Standard_EXPORT void Clear() ;
|
||||
~SMDS_ExtendedMap()
|
||||
{
|
||||
Clear();
|
||||
}
|
||||
|
||||
Standard_EXPORT Standard_Boolean Add(const Handle(SMDS_MeshElement)& aKey) ;
|
||||
Standard_EXPORT Standard_Boolean Contains(const Handle(SMDS_MeshElement)& aKey) const;
|
||||
Standard_EXPORT Standard_Boolean Remove(const Handle(SMDS_MeshElement)& aKey) ;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
Standard_EXPORT SMDS_ExtendedMap(const SMDS_ExtendedMap& Other);
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
48
src/SMDS/SMDS_ExtendedMap_0.cxx
Normal file
48
src/SMDS/SMDS_ExtendedMap_0.cxx
Normal file
@ -0,0 +1,48 @@
|
||||
using namespace std;
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDS_ExtendedMap.hxx"
|
||||
|
||||
#ifndef _Standard_DomainError_HeaderFile
|
||||
#include <Standard_DomainError.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_MeshElement_HeaderFile
|
||||
#include "SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_MeshElementMapHasher_HeaderFile
|
||||
#include "SMDS_MeshElementMapHasher.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_StdMapNodeOfExtendedMap_HeaderFile
|
||||
#include "SMDS_StdMapNodeOfExtendedMap.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_MapIteratorOfExtendedMap_HeaderFile
|
||||
#include "SMDS_MapIteratorOfExtendedMap.hxx"
|
||||
#endif
|
||||
|
||||
|
||||
#define TheKey Handle_SMDS_MeshElement
|
||||
#define TheKey_hxx <SMDS_MeshElement.hxx>
|
||||
#define Hasher SMDS_MeshElementMapHasher
|
||||
#define Hasher_hxx <SMDS_MeshElementMapHasher.hxx>
|
||||
#define TCollection_StdMapNode SMDS_StdMapNodeOfExtendedMap
|
||||
#define TCollection_StdMapNode_hxx <SMDS_StdMapNodeOfExtendedMap.hxx>
|
||||
#define TCollection_MapIterator SMDS_MapIteratorOfExtendedMap
|
||||
#define TCollection_MapIterator_hxx <SMDS_MapIteratorOfExtendedMap.hxx>
|
||||
#define Handle_TCollection_StdMapNode Handle_SMDS_StdMapNodeOfExtendedMap
|
||||
#define TCollection_StdMapNode_Type_() SMDS_StdMapNodeOfExtendedMap_Type_()
|
||||
#define TCollection_Map SMDS_ExtendedMap
|
||||
#define TCollection_Map_hxx <SMDS_ExtendedMap.hxx>
|
||||
#include <TCollection_Map.gxx>
|
||||
|
122
src/SMDS/SMDS_ExtendedOrientedMap.hxx
Normal file
122
src/SMDS/SMDS_ExtendedOrientedMap.hxx
Normal file
@ -0,0 +1,122 @@
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _SMDS_ExtendedOrientedMap_HeaderFile
|
||||
#define _SMDS_ExtendedOrientedMap_HeaderFile
|
||||
|
||||
#ifndef _TCollection_BasicMap_HeaderFile
|
||||
#include <TCollection_BasicMap.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_MeshElement_HeaderFile
|
||||
#include "Handle_SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_StdMapNodeOfExtendedOrientedMap_HeaderFile
|
||||
#include "Handle_SMDS_StdMapNodeOfExtendedOrientedMap.hxx"
|
||||
#endif
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Boolean_HeaderFile
|
||||
#include <Standard_Boolean.hxx>
|
||||
#endif
|
||||
class Standard_DomainError;
|
||||
class SMDS_MeshElement;
|
||||
class SMDS_MeshOrientedElementMapHasher;
|
||||
class SMDS_StdMapNodeOfExtendedOrientedMap;
|
||||
class SMDS_MapIteratorOfExtendedOrientedMap;
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
|
||||
class SMDS_ExtendedOrientedMap : public TCollection_BasicMap {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT SMDS_ExtendedOrientedMap(const Standard_Integer NbBuckets = 1);
|
||||
Standard_EXPORT SMDS_ExtendedOrientedMap& Assign(const SMDS_ExtendedOrientedMap& Other) ;
|
||||
SMDS_ExtendedOrientedMap& operator =(const SMDS_ExtendedOrientedMap& Other)
|
||||
{
|
||||
return Assign(Other);
|
||||
}
|
||||
|
||||
Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ;
|
||||
Standard_EXPORT void Clear() ;
|
||||
~SMDS_ExtendedOrientedMap()
|
||||
{
|
||||
Clear();
|
||||
}
|
||||
|
||||
Standard_EXPORT Standard_Boolean Add(const Handle(SMDS_MeshElement)& aKey) ;
|
||||
Standard_EXPORT Standard_Boolean Contains(const Handle(SMDS_MeshElement)& aKey) const;
|
||||
Standard_EXPORT Standard_Boolean Remove(const Handle(SMDS_MeshElement)& aKey) ;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
Standard_EXPORT SMDS_ExtendedOrientedMap(const SMDS_ExtendedOrientedMap& Other);
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
48
src/SMDS/SMDS_ExtendedOrientedMap_0.cxx
Normal file
48
src/SMDS/SMDS_ExtendedOrientedMap_0.cxx
Normal file
@ -0,0 +1,48 @@
|
||||
using namespace std;
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDS_ExtendedOrientedMap.hxx"
|
||||
|
||||
#ifndef _Standard_DomainError_HeaderFile
|
||||
#include <Standard_DomainError.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_MeshElement_HeaderFile
|
||||
#include "SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_MeshOrientedElementMapHasher_HeaderFile
|
||||
#include "SMDS_MeshOrientedElementMapHasher.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_StdMapNodeOfExtendedOrientedMap_HeaderFile
|
||||
#include "SMDS_StdMapNodeOfExtendedOrientedMap.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_MapIteratorOfExtendedOrientedMap_HeaderFile
|
||||
#include "SMDS_MapIteratorOfExtendedOrientedMap.hxx"
|
||||
#endif
|
||||
|
||||
|
||||
#define TheKey Handle_SMDS_MeshElement
|
||||
#define TheKey_hxx <SMDS_MeshElement.hxx>
|
||||
#define Hasher SMDS_MeshOrientedElementMapHasher
|
||||
#define Hasher_hxx <SMDS_MeshOrientedElementMapHasher.hxx>
|
||||
#define TCollection_StdMapNode SMDS_StdMapNodeOfExtendedOrientedMap
|
||||
#define TCollection_StdMapNode_hxx <SMDS_StdMapNodeOfExtendedOrientedMap.hxx>
|
||||
#define TCollection_MapIterator SMDS_MapIteratorOfExtendedOrientedMap
|
||||
#define TCollection_MapIterator_hxx <SMDS_MapIteratorOfExtendedOrientedMap.hxx>
|
||||
#define Handle_TCollection_StdMapNode Handle_SMDS_StdMapNodeOfExtendedOrientedMap
|
||||
#define TCollection_StdMapNode_Type_() SMDS_StdMapNodeOfExtendedOrientedMap_Type_()
|
||||
#define TCollection_Map SMDS_ExtendedOrientedMap
|
||||
#define TCollection_Map_hxx <SMDS_ExtendedOrientedMap.hxx>
|
||||
#include <TCollection_Map.gxx>
|
||||
|
44
src/SMDS/SMDS_FacePosition.cdl
Normal file
44
src/SMDS/SMDS_FacePosition.cdl
Normal file
@ -0,0 +1,44 @@
|
||||
-- File: SMDS_FacePosition.cdl
|
||||
-- Created: Mon May 13 14:53:10 2002
|
||||
-- Author: Jean-Michel BOULCOURT
|
||||
-- <jmb@localhost.localdomain>
|
||||
---Copyright: Matra Datavision 2002
|
||||
|
||||
|
||||
class FacePosition from SMDS inherits Position from SMDS
|
||||
|
||||
---Purpose: used to characterize a MeshNode with a CAD face
|
||||
|
||||
uses
|
||||
Pnt from gp
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable FacePosition;
|
||||
---Purpose: empty constructor. the face is not set
|
||||
|
||||
Create(aFaceId : Integer; aUParam,aVParam : Real)
|
||||
returns mutable FacePosition;
|
||||
|
||||
Coords(me) returns Pnt from gp is redefined virtual;
|
||||
---Purpose: returns the resulting 3d point to be set
|
||||
-- in the MeshNode instance
|
||||
|
||||
SetUParameter(me: mutable; aUparam : Real);
|
||||
---C++: inline
|
||||
|
||||
SetVParameter(me: mutable; aVparam : Real);
|
||||
---C++: inline
|
||||
|
||||
GetUParameter(me) returns Real;
|
||||
---C++: inline
|
||||
|
||||
GetVParameter(me) returns Real;
|
||||
---C++: inline
|
||||
|
||||
fields
|
||||
|
||||
myUParameter : Real;
|
||||
myVParameter : Real;
|
||||
|
||||
end FacePosition;
|
43
src/SMDS/SMDS_FacePosition.cxx
Normal file
43
src/SMDS/SMDS_FacePosition.cxx
Normal file
@ -0,0 +1,43 @@
|
||||
using namespace std;
|
||||
// File: SMDS_FacePosition.cxx
|
||||
// Created: Mon May 13 14:56:28 2002
|
||||
// Author: Jean-Michel BOULCOURT
|
||||
// <jmb@localhost.localdomain>
|
||||
|
||||
|
||||
#include "SMDS_FacePosition.ixx"
|
||||
#include "utilities.h"
|
||||
|
||||
//=======================================================================
|
||||
//function : SMDS_FacePosition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
SMDS_FacePosition::SMDS_FacePosition()
|
||||
:SMDS_Position(0,SMDS_TOP_FACE),myUParameter(0.),myVParameter(0.)
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SMDS_FacePosition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
SMDS_FacePosition::SMDS_FacePosition(const Standard_Integer aEdgeId,
|
||||
const Standard_Real aUParam,
|
||||
const Standard_Real aVParam)
|
||||
:SMDS_Position(aEdgeId,SMDS_TOP_FACE),
|
||||
myUParameter(aUParam),myVParameter(aVParam)
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Coords
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
gp_Pnt SMDS_FacePosition::Coords() const
|
||||
{
|
||||
MESSAGE( "SMDS_FacePosition::Coords not implemented" );
|
||||
return gp_Pnt(0,0,0);
|
||||
}
|
111
src/SMDS/SMDS_FacePosition.hxx
Normal file
111
src/SMDS/SMDS_FacePosition.hxx
Normal file
@ -0,0 +1,111 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#ifndef _SMDS_FacePosition_HeaderFile
|
||||
#define _SMDS_FacePosition_HeaderFile
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_FacePosition_HeaderFile
|
||||
#include "Handle_SMDS_FacePosition.hxx"
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_Real_HeaderFile
|
||||
#include <Standard_Real.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_Position_HeaderFile
|
||||
#include "SMDS_Position.hxx"
|
||||
#endif
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
class gp_Pnt;
|
||||
|
||||
|
||||
class SMDS_FacePosition : public SMDS_Position {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT SMDS_FacePosition();
|
||||
Standard_EXPORT SMDS_FacePosition(const Standard_Integer aFaceId,const Standard_Real aUParam,const Standard_Real aVParam);
|
||||
Standard_EXPORT virtual gp_Pnt Coords() const;
|
||||
Standard_EXPORT inline void SetUParameter(const Standard_Real aUparam) ;
|
||||
Standard_EXPORT inline void SetVParameter(const Standard_Real aVparam) ;
|
||||
Standard_EXPORT inline Standard_Real GetUParameter() const;
|
||||
Standard_EXPORT inline Standard_Real GetVParameter() const;
|
||||
Standard_EXPORT ~SMDS_FacePosition();
|
||||
|
||||
|
||||
|
||||
|
||||
// Type management
|
||||
//
|
||||
Standard_EXPORT friend Handle_Standard_Type& SMDS_FacePosition_Type_();
|
||||
Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
|
||||
Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
Standard_Real myUParameter;
|
||||
Standard_Real myVParameter;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
#include "SMDS_FacePosition.lxx"
|
||||
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
71
src/SMDS/SMDS_FacePosition.ixx
Normal file
71
src/SMDS/SMDS_FacePosition.ixx
Normal file
@ -0,0 +1,71 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDS_FacePosition.jxx"
|
||||
|
||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||
#include <Standard_TypeMismatch.hxx>
|
||||
#endif
|
||||
|
||||
SMDS_FacePosition::~SMDS_FacePosition() {}
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Handle_Standard_Type& SMDS_FacePosition_Type_()
|
||||
{
|
||||
|
||||
static Handle_Standard_Type aType1 = STANDARD_TYPE(SMDS_Position);
|
||||
if ( aType1.IsNull()) aType1 = STANDARD_TYPE(SMDS_Position);
|
||||
static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared);
|
||||
if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared);
|
||||
static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient);
|
||||
if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient);
|
||||
|
||||
|
||||
static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL};
|
||||
static Handle_Standard_Type _aType = new Standard_Type("SMDS_FacePosition",
|
||||
sizeof(SMDS_FacePosition),
|
||||
1,
|
||||
(Standard_Address)_Ancestors,
|
||||
(Standard_Address)NULL);
|
||||
|
||||
return _aType;
|
||||
}
|
||||
|
||||
|
||||
// DownCast method
|
||||
// allow safe downcasting
|
||||
//
|
||||
const Handle(SMDS_FacePosition) Handle(SMDS_FacePosition)::DownCast(const Handle(Standard_Transient)& AnObject)
|
||||
{
|
||||
Handle(SMDS_FacePosition) _anOtherObject;
|
||||
|
||||
if (!AnObject.IsNull()) {
|
||||
if (AnObject->IsKind(STANDARD_TYPE(SMDS_FacePosition))) {
|
||||
_anOtherObject = Handle(SMDS_FacePosition)((Handle(SMDS_FacePosition)&)AnObject);
|
||||
}
|
||||
}
|
||||
|
||||
return _anOtherObject ;
|
||||
}
|
||||
const Handle(Standard_Type)& SMDS_FacePosition::DynamicType() const
|
||||
{
|
||||
return STANDARD_TYPE(SMDS_FacePosition) ;
|
||||
}
|
||||
Standard_Boolean SMDS_FacePosition::IsKind(const Handle(Standard_Type)& AType) const
|
||||
{
|
||||
return (STANDARD_TYPE(SMDS_FacePosition) == AType || SMDS_Position::IsKind(AType));
|
||||
}
|
||||
Handle_SMDS_FacePosition::~Handle_SMDS_FacePosition() {}
|
||||
|
6
src/SMDS/SMDS_FacePosition.jxx
Normal file
6
src/SMDS/SMDS_FacePosition.jxx
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef _gp_Pnt_HeaderFile
|
||||
#include <gp_Pnt.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_FacePosition_HeaderFile
|
||||
#include "SMDS_FacePosition.hxx"
|
||||
#endif
|
44
src/SMDS/SMDS_FacePosition.lxx
Normal file
44
src/SMDS/SMDS_FacePosition.lxx
Normal file
@ -0,0 +1,44 @@
|
||||
// File: SMDS_FacePosition.lxx
|
||||
// Created: Mon May 13 14:55:03 2002
|
||||
// Author: Jean-Michel BOULCOURT
|
||||
// <jmb@localhost.localdomain>
|
||||
|
||||
//=======================================================================
|
||||
//function : SetUParameter
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline void SMDS_FacePosition::SetUParameter(const Standard_Real aUparam)
|
||||
{
|
||||
myUParameter = aUparam;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetVParameter
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline void SMDS_FacePosition::SetVParameter(const Standard_Real aVparam)
|
||||
{
|
||||
myVParameter = aVparam;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : GetUParameter
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline Standard_Real SMDS_FacePosition::GetUParameter() const
|
||||
{
|
||||
return myUParameter;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : GetVParameter
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline Standard_Real SMDS_FacePosition::GetVParameter() const
|
||||
{
|
||||
return myVParameter;
|
||||
}
|
155
src/SMDS/SMDS_HSequenceOfMesh.hxx
Normal file
155
src/SMDS/SMDS_HSequenceOfMesh.hxx
Normal file
@ -0,0 +1,155 @@
|
||||
// File generated by CPPExt (Transient)
|
||||
//
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#ifndef _SMDS_HSequenceOfMesh_HeaderFile
|
||||
#define _SMDS_HSequenceOfMesh_HeaderFile
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_HSequenceOfMesh_HeaderFile
|
||||
#include "Handle_SMDS_HSequenceOfMesh.hxx"
|
||||
#endif
|
||||
|
||||
#ifndef _SMDS_SequenceOfMesh_HeaderFile
|
||||
#include "SMDS_SequenceOfMesh.hxx"
|
||||
#endif
|
||||
#ifndef _MMgt_TShared_HeaderFile
|
||||
#include <MMgt_TShared.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_Mesh_HeaderFile
|
||||
#include "Handle_SMDS_Mesh.hxx"
|
||||
#endif
|
||||
#ifndef _Standard_Boolean_HeaderFile
|
||||
#include <Standard_Boolean.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Integer_HeaderFile
|
||||
#include <Standard_Integer.hxx>
|
||||
#endif
|
||||
class Standard_NoSuchObject;
|
||||
class Standard_OutOfRange;
|
||||
class SMDS_Mesh;
|
||||
class SMDS_SequenceOfMesh;
|
||||
|
||||
|
||||
class SMDS_HSequenceOfMesh : public MMgt_TShared {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT inline SMDS_HSequenceOfMesh();
|
||||
Standard_EXPORT inline Standard_Boolean IsEmpty() const;
|
||||
Standard_EXPORT inline Standard_Integer Length() const;
|
||||
Standard_EXPORT void Clear() ;
|
||||
Standard_EXPORT void Append(const Handle(SMDS_Mesh)& anItem) ;
|
||||
Standard_EXPORT void Append(const Handle(SMDS_HSequenceOfMesh)& aSequence) ;
|
||||
Standard_EXPORT void Prepend(const Handle(SMDS_Mesh)& anItem) ;
|
||||
Standard_EXPORT void Prepend(const Handle(SMDS_HSequenceOfMesh)& aSequence) ;
|
||||
Standard_EXPORT void Reverse() ;
|
||||
Standard_EXPORT void InsertBefore(const Standard_Integer anIndex,const Handle(SMDS_Mesh)& anItem) ;
|
||||
Standard_EXPORT void InsertBefore(const Standard_Integer anIndex,const Handle(SMDS_HSequenceOfMesh)& aSequence) ;
|
||||
Standard_EXPORT void InsertAfter(const Standard_Integer anIndex,const Handle(SMDS_Mesh)& anItem) ;
|
||||
Standard_EXPORT void InsertAfter(const Standard_Integer anIndex,const Handle(SMDS_HSequenceOfMesh)& aSequence) ;
|
||||
Standard_EXPORT void Exchange(const Standard_Integer anIndex,const Standard_Integer anOtherIndex) ;
|
||||
Standard_EXPORT Handle_SMDS_HSequenceOfMesh Split(const Standard_Integer anIndex) ;
|
||||
Standard_EXPORT void SetValue(const Standard_Integer anIndex,const Handle(SMDS_Mesh)& anItem) ;
|
||||
Standard_EXPORT const Handle_SMDS_Mesh& Value(const Standard_Integer anIndex) const;
|
||||
Standard_EXPORT Handle_SMDS_Mesh& ChangeValue(const Standard_Integer anIndex) ;
|
||||
Standard_EXPORT void Remove(const Standard_Integer anIndex) ;
|
||||
Standard_EXPORT void Remove(const Standard_Integer fromIndex,const Standard_Integer toIndex) ;
|
||||
Standard_EXPORT inline const SMDS_SequenceOfMesh& Sequence() const;
|
||||
Standard_EXPORT inline SMDS_SequenceOfMesh& ChangeSequence() ;
|
||||
Standard_EXPORT Handle_SMDS_HSequenceOfMesh ShallowCopy() const;
|
||||
Standard_EXPORT ~SMDS_HSequenceOfMesh();
|
||||
|
||||
|
||||
|
||||
|
||||
// Type management
|
||||
//
|
||||
Standard_EXPORT friend Handle_Standard_Type& SMDS_HSequenceOfMesh_Type_();
|
||||
Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
|
||||
Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
SMDS_SequenceOfMesh mySequence;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#define Item Handle_SMDS_Mesh
|
||||
#define Item_hxx "SMDS_Mesh.hxx"
|
||||
#define TheSequence SMDS_SequenceOfMesh
|
||||
#define TheSequence_hxx "SMDS_SequenceOfMesh.hxx"
|
||||
#define TCollection_HSequence SMDS_HSequenceOfMesh
|
||||
#define TCollection_HSequence_hxx "SMDS_HSequenceOfMesh.hxx"
|
||||
#define Handle_TCollection_HSequence Handle_SMDS_HSequenceOfMesh
|
||||
#define TCollection_HSequence_Type_() SMDS_HSequenceOfMesh_Type_()
|
||||
|
||||
#include <TCollection_HSequence.lxx>
|
||||
|
||||
#undef Item
|
||||
#undef Item_hxx
|
||||
#undef TheSequence
|
||||
#undef TheSequence_hxx
|
||||
#undef TCollection_HSequence
|
||||
#undef TCollection_HSequence_hxx
|
||||
#undef Handle_TCollection_HSequence
|
||||
#undef TCollection_HSequence_Type_
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
inline Handle_SMDS_HSequenceOfMesh ShallowCopy(const Handle_SMDS_HSequenceOfMesh& me) {
|
||||
return me->ShallowCopy();
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endif
|
91
src/SMDS/SMDS_HSequenceOfMesh_0.cxx
Normal file
91
src/SMDS/SMDS_HSequenceOfMesh_0.cxx
Normal file
@ -0,0 +1,91 @@
|
||||
using namespace std;
|
||||
// File generated by CPPExt (Transient)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDS_HSequenceOfMesh.hxx"
|
||||
|
||||
#ifndef _Standard_TypeMismatch_HeaderFile
|
||||
#include <Standard_TypeMismatch.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _Standard_NoSuchObject_HeaderFile
|
||||
#include <Standard_NoSuchObject.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_OutOfRange_HeaderFile
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_Mesh_HeaderFile
|
||||
#include "SMDS_Mesh.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_SequenceOfMesh_HeaderFile
|
||||
#include "SMDS_SequenceOfMesh.hxx"
|
||||
#endif
|
||||
SMDS_HSequenceOfMesh::~SMDS_HSequenceOfMesh() {}
|
||||
|
||||
|
||||
|
||||
Standard_EXPORT Handle_Standard_Type& SMDS_HSequenceOfMesh_Type_()
|
||||
{
|
||||
|
||||
static Handle_Standard_Type aType1 = STANDARD_TYPE(MMgt_TShared);
|
||||
if ( aType1.IsNull()) aType1 = STANDARD_TYPE(MMgt_TShared);
|
||||
static Handle_Standard_Type aType2 = STANDARD_TYPE(Standard_Transient);
|
||||
if ( aType2.IsNull()) aType2 = STANDARD_TYPE(Standard_Transient);
|
||||
|
||||
|
||||
static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,NULL};
|
||||
static Handle_Standard_Type _aType = new Standard_Type("SMDS_HSequenceOfMesh",
|
||||
sizeof(SMDS_HSequenceOfMesh),
|
||||
1,
|
||||
(Standard_Address)_Ancestors,
|
||||
(Standard_Address)NULL);
|
||||
|
||||
return _aType;
|
||||
}
|
||||
|
||||
|
||||
// DownCast method
|
||||
// allow safe downcasting
|
||||
//
|
||||
const Handle(SMDS_HSequenceOfMesh) Handle(SMDS_HSequenceOfMesh)::DownCast(const Handle(Standard_Transient)& AnObject)
|
||||
{
|
||||
Handle(SMDS_HSequenceOfMesh) _anOtherObject;
|
||||
|
||||
if (!AnObject.IsNull()) {
|
||||
if (AnObject->IsKind(STANDARD_TYPE(SMDS_HSequenceOfMesh))) {
|
||||
_anOtherObject = Handle(SMDS_HSequenceOfMesh)((Handle(SMDS_HSequenceOfMesh)&)AnObject);
|
||||
}
|
||||
}
|
||||
|
||||
return _anOtherObject ;
|
||||
}
|
||||
const Handle(Standard_Type)& SMDS_HSequenceOfMesh::DynamicType() const
|
||||
{
|
||||
return STANDARD_TYPE(SMDS_HSequenceOfMesh) ;
|
||||
}
|
||||
Standard_Boolean SMDS_HSequenceOfMesh::IsKind(const Handle(Standard_Type)& AType) const
|
||||
{
|
||||
return (STANDARD_TYPE(SMDS_HSequenceOfMesh) == AType || MMgt_TShared::IsKind(AType));
|
||||
}
|
||||
Handle_SMDS_HSequenceOfMesh::~Handle_SMDS_HSequenceOfMesh() {}
|
||||
#define Item Handle_SMDS_Mesh
|
||||
#define Item_hxx "SMDS_Mesh.hxx"
|
||||
#define TheSequence SMDS_SequenceOfMesh
|
||||
#define TheSequence_hxx "SMDS_SequenceOfMesh.hxx"
|
||||
#define TCollection_HSequence SMDS_HSequenceOfMesh
|
||||
#define TCollection_HSequence_hxx "SMDS_HSequenceOfMesh.hxx"
|
||||
#define Handle_TCollection_HSequence Handle_SMDS_HSequenceOfMesh
|
||||
#define TCollection_HSequence_Type_() SMDS_HSequenceOfMesh_Type_()
|
||||
#include <TCollection_HSequence.gxx>
|
||||
|
131
src/SMDS/SMDS_ListIteratorOfListOfMesh.hxx
Normal file
131
src/SMDS/SMDS_ListIteratorOfListOfMesh.hxx
Normal file
@ -0,0 +1,131 @@
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _SMDS_ListIteratorOfListOfMesh_HeaderFile
|
||||
#define _SMDS_ListIteratorOfListOfMesh_HeaderFile
|
||||
|
||||
#ifndef _Standard_Address_HeaderFile
|
||||
#include <Standard_Address.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_Mesh_HeaderFile
|
||||
#include "Handle_SMDS_Mesh.hxx"
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_ListNodeOfListOfMesh_HeaderFile
|
||||
#include "Handle_SMDS_ListNodeOfListOfMesh.hxx"
|
||||
#endif
|
||||
#ifndef _Standard_Boolean_HeaderFile
|
||||
#include <Standard_Boolean.hxx>
|
||||
#endif
|
||||
class Standard_NoMoreObject;
|
||||
class Standard_NoSuchObject;
|
||||
class SMDS_ListOfMesh;
|
||||
class SMDS_Mesh;
|
||||
class SMDS_ListNodeOfListOfMesh;
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
|
||||
class SMDS_ListIteratorOfListOfMesh {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT SMDS_ListIteratorOfListOfMesh();
|
||||
Standard_EXPORT SMDS_ListIteratorOfListOfMesh(const SMDS_ListOfMesh& L);
|
||||
Standard_EXPORT void Initialize(const SMDS_ListOfMesh& L) ;
|
||||
Standard_EXPORT inline Standard_Boolean More() const;
|
||||
Standard_EXPORT void Next() ;
|
||||
Standard_EXPORT Handle_SMDS_Mesh& Value() const;
|
||||
|
||||
|
||||
friend class SMDS_ListOfMesh;
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
Standard_Address current;
|
||||
Standard_Address previous;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#define Item Handle_SMDS_Mesh
|
||||
#define Item_hxx <SMDS_Mesh.hxx>
|
||||
#define TCollection_ListNode SMDS_ListNodeOfListOfMesh
|
||||
#define TCollection_ListNode_hxx <SMDS_ListNodeOfListOfMesh.hxx>
|
||||
#define TCollection_ListIterator SMDS_ListIteratorOfListOfMesh
|
||||
#define TCollection_ListIterator_hxx <SMDS_ListIteratorOfListOfMesh.hxx>
|
||||
#define Handle_TCollection_ListNode Handle_SMDS_ListNodeOfListOfMesh
|
||||
#define TCollection_ListNode_Type_() SMDS_ListNodeOfListOfMesh_Type_()
|
||||
#define TCollection_List SMDS_ListOfMesh
|
||||
#define TCollection_List_hxx <SMDS_ListOfMesh.hxx>
|
||||
|
||||
#include <TCollection_ListIterator.lxx>
|
||||
|
||||
#undef Item
|
||||
#undef Item_hxx
|
||||
#undef TCollection_ListNode
|
||||
#undef TCollection_ListNode_hxx
|
||||
#undef TCollection_ListIterator
|
||||
#undef TCollection_ListIterator_hxx
|
||||
#undef Handle_TCollection_ListNode
|
||||
#undef TCollection_ListNode_Type_
|
||||
#undef TCollection_List
|
||||
#undef TCollection_List_hxx
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
131
src/SMDS/SMDS_ListIteratorOfListOfMeshElement.hxx
Normal file
131
src/SMDS/SMDS_ListIteratorOfListOfMeshElement.hxx
Normal file
@ -0,0 +1,131 @@
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _SMDS_ListIteratorOfListOfMeshElement_HeaderFile
|
||||
#define _SMDS_ListIteratorOfListOfMeshElement_HeaderFile
|
||||
|
||||
#ifndef _Standard_Address_HeaderFile
|
||||
#include <Standard_Address.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_MeshElement_HeaderFile
|
||||
#include "Handle_SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_ListNodeOfListOfMeshElement_HeaderFile
|
||||
#include "Handle_SMDS_ListNodeOfListOfMeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _Standard_Boolean_HeaderFile
|
||||
#include <Standard_Boolean.hxx>
|
||||
#endif
|
||||
class Standard_NoMoreObject;
|
||||
class Standard_NoSuchObject;
|
||||
class SMDS_ListOfMeshElement;
|
||||
class SMDS_MeshElement;
|
||||
class SMDS_ListNodeOfListOfMeshElement;
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
|
||||
class SMDS_ListIteratorOfListOfMeshElement {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT SMDS_ListIteratorOfListOfMeshElement();
|
||||
Standard_EXPORT SMDS_ListIteratorOfListOfMeshElement(const SMDS_ListOfMeshElement& L);
|
||||
Standard_EXPORT void Initialize(const SMDS_ListOfMeshElement& L) ;
|
||||
Standard_EXPORT inline Standard_Boolean More() const;
|
||||
Standard_EXPORT void Next() ;
|
||||
Standard_EXPORT Handle_SMDS_MeshElement& Value() const;
|
||||
|
||||
|
||||
friend class SMDS_ListOfMeshElement;
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
Standard_Address current;
|
||||
Standard_Address previous;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#define Item Handle_SMDS_MeshElement
|
||||
#define Item_hxx <SMDS_MeshElement.hxx>
|
||||
#define TCollection_ListNode SMDS_ListNodeOfListOfMeshElement
|
||||
#define TCollection_ListNode_hxx <SMDS_ListNodeOfListOfMeshElement.hxx>
|
||||
#define TCollection_ListIterator SMDS_ListIteratorOfListOfMeshElement
|
||||
#define TCollection_ListIterator_hxx <SMDS_ListIteratorOfListOfMeshElement.hxx>
|
||||
#define Handle_TCollection_ListNode Handle_SMDS_ListNodeOfListOfMeshElement
|
||||
#define TCollection_ListNode_Type_() SMDS_ListNodeOfListOfMeshElement_Type_()
|
||||
#define TCollection_List SMDS_ListOfMeshElement
|
||||
#define TCollection_List_hxx <SMDS_ListOfMeshElement.hxx>
|
||||
|
||||
#include <TCollection_ListIterator.lxx>
|
||||
|
||||
#undef Item
|
||||
#undef Item_hxx
|
||||
#undef TCollection_ListNode
|
||||
#undef TCollection_ListNode_hxx
|
||||
#undef TCollection_ListIterator
|
||||
#undef TCollection_ListIterator_hxx
|
||||
#undef Handle_TCollection_ListNode
|
||||
#undef TCollection_ListNode_Type_
|
||||
#undef TCollection_List
|
||||
#undef TCollection_List_hxx
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
46
src/SMDS/SMDS_ListIteratorOfListOfMeshElement_0.cxx
Normal file
46
src/SMDS/SMDS_ListIteratorOfListOfMeshElement_0.cxx
Normal file
@ -0,0 +1,46 @@
|
||||
using namespace std;
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
//
|
||||
#include "SMDS_ListIteratorOfListOfMeshElement.hxx"
|
||||
|
||||
#ifndef _Standard_NoMoreObject_HeaderFile
|
||||
#include <Standard_NoMoreObject.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_NoSuchObject_HeaderFile
|
||||
#include <Standard_NoSuchObject.hxx>
|
||||
#endif
|
||||
#ifndef _SMDS_ListOfMeshElement_HeaderFile
|
||||
#include "SMDS_ListOfMeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_MeshElement_HeaderFile
|
||||
#include "SMDS_MeshElement.hxx"
|
||||
#endif
|
||||
#ifndef _SMDS_ListNodeOfListOfMeshElement_HeaderFile
|
||||
#include "SMDS_ListNodeOfListOfMeshElement.hxx"
|
||||
#endif
|
||||
|
||||
|
||||
#define Item Handle_SMDS_MeshElement
|
||||
#define Item_hxx <SMDS_MeshElement.hxx>
|
||||
#define TCollection_ListNode SMDS_ListNodeOfListOfMeshElement
|
||||
#define TCollection_ListNode_hxx <SMDS_ListNodeOfListOfMeshElement.hxx>
|
||||
#define TCollection_ListIterator SMDS_ListIteratorOfListOfMeshElement
|
||||
#define TCollection_ListIterator_hxx <SMDS_ListIteratorOfListOfMeshElement.hxx>
|
||||
#define Handle_TCollection_ListNode Handle_SMDS_ListNodeOfListOfMeshElement
|
||||
#define TCollection_ListNode_Type_() SMDS_ListNodeOfListOfMeshElement_Type_()
|
||||
#define TCollection_List SMDS_ListOfMeshElement
|
||||
#define TCollection_List_hxx <SMDS_ListOfMeshElement.hxx>
|
||||
#include <TCollection_ListIterator.gxx>
|
||||
|
131
src/SMDS/SMDS_ListIteratorOfListOfMeshGroup.hxx
Normal file
131
src/SMDS/SMDS_ListIteratorOfListOfMeshGroup.hxx
Normal file
@ -0,0 +1,131 @@
|
||||
// File generated by CPPExt (Value)
|
||||
// Copyright (C) 1991,1995 by
|
||||
//
|
||||
// MATRA DATAVISION, FRANCE
|
||||
//
|
||||
// This software is furnished in accordance with the terms and conditions
|
||||
// of the contract and with the inclusion of the above copyright notice.
|
||||
// This software or any other copy thereof may not be provided or otherwise
|
||||
// be made available to any other person. No title to an ownership of the
|
||||
// software is hereby transferred.
|
||||
//
|
||||
// At the termination of the contract, the software and all copies of this
|
||||
// software must be deleted.
|
||||
|
||||
#ifndef _SMDS_ListIteratorOfListOfMeshGroup_HeaderFile
|
||||
#define _SMDS_ListIteratorOfListOfMeshGroup_HeaderFile
|
||||
|
||||
#ifndef _Standard_Address_HeaderFile
|
||||
#include <Standard_Address.hxx>
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_MeshGroup_HeaderFile
|
||||
#include "Handle_SMDS_MeshGroup.hxx"
|
||||
#endif
|
||||
#ifndef _Handle_SMDS_ListNodeOfListOfMeshGroup_HeaderFile
|
||||
#include "Handle_SMDS_ListNodeOfListOfMeshGroup.hxx"
|
||||
#endif
|
||||
#ifndef _Standard_Boolean_HeaderFile
|
||||
#include <Standard_Boolean.hxx>
|
||||
#endif
|
||||
class Standard_NoMoreObject;
|
||||
class Standard_NoSuchObject;
|
||||
class SMDS_ListOfMeshGroup;
|
||||
class SMDS_MeshGroup;
|
||||
class SMDS_ListNodeOfListOfMeshGroup;
|
||||
|
||||
|
||||
#ifndef _Standard_HeaderFile
|
||||
#include <Standard.hxx>
|
||||
#endif
|
||||
#ifndef _Standard_Macro_HeaderFile
|
||||
#include <Standard_Macro.hxx>
|
||||
#endif
|
||||
|
||||
class SMDS_ListIteratorOfListOfMeshGroup {
|
||||
|
||||
public:
|
||||
|
||||
inline void* operator new(size_t,void* anAddress)
|
||||
{
|
||||
return anAddress;
|
||||
}
|
||||
inline void* operator new(size_t size)
|
||||
{
|
||||
return Standard::Allocate(size);
|
||||
}
|
||||
inline void operator delete(void *anAddress)
|
||||
{
|
||||
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||||
}
|
||||
// inline void operator delete(void *anAddress, size_t size)
|
||||
// {
|
||||
// if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
|
||||
// }
|
||||
// Methods PUBLIC
|
||||
//
|
||||
Standard_EXPORT SMDS_ListIteratorOfListOfMeshGroup();
|
||||
Standard_EXPORT SMDS_ListIteratorOfListOfMeshGroup(const SMDS_ListOfMeshGroup& L);
|
||||
Standard_EXPORT void Initialize(const SMDS_ListOfMeshGroup& L) ;
|
||||
Standard_EXPORT inline Standard_Boolean More() const;
|
||||
Standard_EXPORT void Next() ;
|
||||
Standard_EXPORT Handle_SMDS_MeshGroup& Value() const;
|
||||
|
||||
|
||||
friend class SMDS_ListOfMeshGroup;
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Methods PROTECTED
|
||||
//
|
||||
|
||||
|
||||
// Fields PROTECTED
|
||||
//
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Methods PRIVATE
|
||||
//
|
||||
|
||||
|
||||
// Fields PRIVATE
|
||||
//
|
||||
Standard_Address current;
|
||||
Standard_Address previous;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#define Item Handle_SMDS_MeshGroup
|
||||
#define Item_hxx "SMDS_MeshGroup.hxx"
|
||||
#define TCollection_ListNode SMDS_ListNodeOfListOfMeshGroup
|
||||
#define TCollection_ListNode_hxx "SMDS_ListNodeOfListOfMeshGroup.hxx"
|
||||
#define TCollection_ListIterator SMDS_ListIteratorOfListOfMeshGroup
|
||||
#define TCollection_ListIterator_hxx "SMDS_ListIteratorOfListOfMeshGroup.hxx"
|
||||
#define Handle_TCollection_ListNode Handle_SMDS_ListNodeOfListOfMeshGroup
|
||||
#define TCollection_ListNode_Type_() SMDS_ListNodeOfListOfMeshGroup_Type_()
|
||||
#define TCollection_List SMDS_ListOfMeshGroup
|
||||
#define TCollection_List_hxx "SMDS_ListOfMeshGroup.hxx"
|
||||
|
||||
#include <TCollection_ListIterator.lxx>
|
||||
|
||||
#undef Item
|
||||
#undef Item_hxx
|
||||
#undef TCollection_ListNode
|
||||
#undef TCollection_ListNode_hxx
|
||||
#undef TCollection_ListIterator
|
||||
#undef TCollection_ListIterator_hxx
|
||||
#undef Handle_TCollection_ListNode
|
||||
#undef TCollection_ListNode_Type_
|
||||
#undef TCollection_List
|
||||
#undef TCollection_List_hxx
|
||||
|
||||
|
||||
// other inline functions and methods (like "C++: function call" methods)
|
||||
//
|
||||
|
||||
|
||||
#endif
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user