// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _GeomToStep_MakeDirection_HeaderFile #define _GeomToStep_MakeDirection_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Handle_StepGeom_Direction_HeaderFile #include #endif #ifndef _GeomToStep_Root_HeaderFile #include #endif #ifndef _Handle_Geom_Direction_HeaderFile #include #endif #ifndef _Handle_Geom2d_Direction_HeaderFile #include #endif class StepGeom_Direction; class StdFail_NotDone; class gp_Dir; class gp_Dir2d; class Geom_Direction; class Geom2d_Direction; //! This class implements the mapping between classes
//! Direction from Geom, Geom2d and Dir, Dir2d from gp, and the
//! class Direction from StepGeom which describes a direction
//! from Prostep.
class GeomToStep_MakeDirection : public GeomToStep_Root { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } Standard_EXPORT GeomToStep_MakeDirection(const gp_Dir& D); Standard_EXPORT GeomToStep_MakeDirection(const gp_Dir2d& D); Standard_EXPORT GeomToStep_MakeDirection(const Handle(Geom_Direction)& D); Standard_EXPORT GeomToStep_MakeDirection(const Handle(Geom2d_Direction)& D); Standard_EXPORT const Handle_StepGeom_Direction& Value() const; protected: private: Handle_StepGeom_Direction theDirection; }; // other Inline functions and methods (like "C++: function call" methods) #endif