// 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 _MgtGeom2d_HeaderFile #define _MgtGeom2d_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Handle_Geom2d_AxisPlacement_HeaderFile #include #endif #ifndef _Handle_PGeom2d_AxisPlacement_HeaderFile #include #endif #ifndef _Handle_Geom2d_BSplineCurve_HeaderFile #include #endif #ifndef _Handle_PGeom2d_BSplineCurve_HeaderFile #include #endif #ifndef _Handle_Geom2d_BezierCurve_HeaderFile #include #endif #ifndef _Handle_PGeom2d_BezierCurve_HeaderFile #include #endif #ifndef _Handle_Geom2d_CartesianPoint_HeaderFile #include #endif #ifndef _Handle_PGeom2d_CartesianPoint_HeaderFile #include #endif #ifndef _Handle_Geom2d_Circle_HeaderFile #include #endif #ifndef _Handle_PGeom2d_Circle_HeaderFile #include #endif #ifndef _Handle_Geom2d_Curve_HeaderFile #include #endif #ifndef _Handle_PGeom2d_Curve_HeaderFile #include #endif #ifndef _Handle_Geom2d_Direction_HeaderFile #include #endif #ifndef _Handle_PGeom2d_Direction_HeaderFile #include #endif #ifndef _Handle_Geom2d_Ellipse_HeaderFile #include #endif #ifndef _Handle_PGeom2d_Ellipse_HeaderFile #include #endif #ifndef _Handle_Geom2d_Hyperbola_HeaderFile #include #endif #ifndef _Handle_PGeom2d_Hyperbola_HeaderFile #include #endif #ifndef _Handle_Geom2d_Line_HeaderFile #include #endif #ifndef _Handle_PGeom2d_Line_HeaderFile #include #endif #ifndef _Handle_Geom2d_OffsetCurve_HeaderFile #include #endif #ifndef _Handle_PGeom2d_OffsetCurve_HeaderFile #include #endif #ifndef _Handle_Geom2d_Parabola_HeaderFile #include #endif #ifndef _Handle_PGeom2d_Parabola_HeaderFile #include #endif #ifndef _Handle_Geom2d_Point_HeaderFile #include #endif #ifndef _Handle_PGeom2d_Point_HeaderFile #include #endif #ifndef _Handle_Geom2d_Transformation_HeaderFile #include #endif #ifndef _Handle_PGeom2d_Transformation_HeaderFile #include #endif #ifndef _Handle_Geom2d_TrimmedCurve_HeaderFile #include #endif #ifndef _Handle_PGeom2d_TrimmedCurve_HeaderFile #include #endif #ifndef _Handle_Geom2d_VectorWithMagnitude_HeaderFile #include #endif #ifndef _Handle_PGeom2d_VectorWithMagnitude_HeaderFile #include #endif class Geom2d_AxisPlacement; class PGeom2d_AxisPlacement; class Geom2d_BSplineCurve; class PGeom2d_BSplineCurve; class Geom2d_BezierCurve; class PGeom2d_BezierCurve; class Geom2d_CartesianPoint; class PGeom2d_CartesianPoint; class Geom2d_Circle; class PGeom2d_Circle; class Geom2d_Curve; class PGeom2d_Curve; class Geom2d_Direction; class PGeom2d_Direction; class Geom2d_Ellipse; class PGeom2d_Ellipse; class Geom2d_Hyperbola; class PGeom2d_Hyperbola; class Geom2d_Line; class PGeom2d_Line; class Geom2d_OffsetCurve; class PGeom2d_OffsetCurve; class Geom2d_Parabola; class PGeom2d_Parabola; class Geom2d_Point; class PGeom2d_Point; class Geom2d_Transformation; class PGeom2d_Transformation; class Geom2d_TrimmedCurve; class PGeom2d_TrimmedCurve; class Geom2d_VectorWithMagnitude; class PGeom2d_VectorWithMagnitude; //! This package provides methods to translate
//! transient objects from Geom2d to persistent
//! objects from PGeom2d and vice-versa. No track from
//! previous translation is kept.
//!
//! Data is not shared:
//! - between transient and persistent objects,
//! or
//! - between two successive translations of the same object.
class MgtGeom2d { 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); } //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_AxisPlacement Translate(const Handle(PGeom2d_AxisPlacement)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_AxisPlacement Translate(const Handle(Geom2d_AxisPlacement)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_BSplineCurve Translate(const Handle(PGeom2d_BSplineCurve)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_BSplineCurve Translate(const Handle(Geom2d_BSplineCurve)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_BezierCurve Translate(const Handle(PGeom2d_BezierCurve)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_BezierCurve Translate(const Handle(Geom2d_BezierCurve)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_CartesianPoint Translate(const Handle(PGeom2d_CartesianPoint)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_CartesianPoint Translate(const Handle(Geom2d_CartesianPoint)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_Circle Translate(const Handle(PGeom2d_Circle)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_Circle Translate(const Handle(Geom2d_Circle)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
//! Raises Null Object if PObj has no mapping
Standard_EXPORT static Handle_Geom2d_Curve Translate(const Handle(PGeom2d_Curve)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
//! Raises NullObject if TObj has no mapping
Standard_EXPORT static Handle_PGeom2d_Curve Translate(const Handle(Geom2d_Curve)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_Direction Translate(const Handle(PGeom2d_Direction)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_Direction Translate(const Handle(Geom2d_Direction)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_Ellipse Translate(const Handle(PGeom2d_Ellipse)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_Ellipse Translate(const Handle(Geom2d_Ellipse)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_Hyperbola Translate(const Handle(PGeom2d_Hyperbola)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_Hyperbola Translate(const Handle(Geom2d_Hyperbola)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_Line Translate(const Handle(PGeom2d_Line)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_Line Translate(const Handle(Geom2d_Line)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_OffsetCurve Translate(const Handle(PGeom2d_OffsetCurve)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_OffsetCurve Translate(const Handle(Geom2d_OffsetCurve)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_Parabola Translate(const Handle(PGeom2d_Parabola)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_Parabola Translate(const Handle(Geom2d_Parabola)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_Point Translate(const Handle(PGeom2d_Point)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_Point Translate(const Handle(Geom2d_Point)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_Transformation Translate(const Handle(PGeom2d_Transformation)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_Transformation Translate(const Handle(Geom2d_Transformation)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_TrimmedCurve Translate(const Handle(PGeom2d_TrimmedCurve)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_TrimmedCurve Translate(const Handle(Geom2d_TrimmedCurve)& TObj) ; //! Translate to its Transient equivalent from Geom2d.
Standard_EXPORT static Handle_Geom2d_VectorWithMagnitude Translate(const Handle(PGeom2d_VectorWithMagnitude)& PObj) ; //! Translate to its Persistent equivalent from PGeom2d.
Standard_EXPORT static Handle_PGeom2d_VectorWithMagnitude Translate(const Handle(Geom2d_VectorWithMagnitude)& TObj) ; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif