1 // File generated by CPPExt (Transient)
3 // Copyright (C) 1991,1995 by
5 // MATRA DATAVISION, FRANCE
7 // This software is furnished in accordance with the terms and conditions
8 // of the contract and with the inclusion of the above copyright notice.
9 // This software or any other copy thereof may not be provided or otherwise
10 // be made available to any other person. No title to an ownership of the
11 // software is hereby transferred.
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
16 #ifndef _SMDS_SpacePosition_HeaderFile
17 #define _SMDS_SpacePosition_HeaderFile
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
22 #ifndef _Handle_SMDS_SpacePosition_HeaderFile
23 #include "Handle_SMDS_SpacePosition.hxx"
26 #ifndef _gp_Pnt_HeaderFile
29 #ifndef _SMDS_Position_HeaderFile
30 #include "SMDS_Position.hxx"
32 #ifndef _Standard_Real_HeaderFile
33 #include <Standard_Real.hxx>
38 class SMDS_SpacePosition : public SMDS_Position {
42 inline void* operator new(size_t,void* anAddress)
46 inline void* operator new(size_t size)
48 return Standard::Allocate(size);
50 inline void operator delete(void *anAddress)
52 if (anAddress) Standard::Free((Standard_Address&)anAddress);
54 // inline void operator delete(void *anAddress, size_t size)
56 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
60 Standard_EXPORT SMDS_SpacePosition();
61 Standard_EXPORT SMDS_SpacePosition(const Standard_Real x,const Standard_Real y,const Standard_Real z);
62 Standard_EXPORT SMDS_SpacePosition(const gp_Pnt& aCoords);
63 Standard_EXPORT virtual gp_Pnt Coords() const;
64 Standard_EXPORT inline void SetCoords(const Standard_Real x,const Standard_Real y,const Standard_Real z) ;
65 Standard_EXPORT inline void SetCoords(const gp_Pnt& aCoords) ;
66 Standard_EXPORT ~SMDS_SpacePosition();
73 Standard_EXPORT friend Handle_Standard_Type& SMDS_SpacePosition_Type_();
74 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
75 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
101 #include "SMDS_SpacePosition.lxx"
105 // other inline functions and methods (like "C++: function call" methods)