// 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 _MgtGeom_HeaderFile #define _MgtGeom_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Handle_Geom_Axis1Placement_HeaderFile #include #endif #ifndef _Handle_PGeom_Axis1Placement_HeaderFile #include #endif #ifndef _Handle_Geom_Axis2Placement_HeaderFile #include #endif #ifndef _Handle_PGeom_Axis2Placement_HeaderFile #include #endif #ifndef _Handle_Geom_BSplineCurve_HeaderFile #include #endif #ifndef _Handle_PGeom_BSplineCurve_HeaderFile #include #endif #ifndef _Handle_Geom_BSplineSurface_HeaderFile #include #endif #ifndef _Handle_PGeom_BSplineSurface_HeaderFile #include #endif #ifndef _Handle_Geom_BezierCurve_HeaderFile #include #endif #ifndef _Handle_PGeom_BezierCurve_HeaderFile #include #endif #ifndef _Handle_Geom_BezierSurface_HeaderFile #include #endif #ifndef _Handle_PGeom_BezierSurface_HeaderFile #include #endif #ifndef _Handle_Geom_CartesianPoint_HeaderFile #include #endif #ifndef _Handle_PGeom_CartesianPoint_HeaderFile #include #endif #ifndef _Handle_Geom_Circle_HeaderFile #include #endif #ifndef _Handle_PGeom_Circle_HeaderFile #include #endif #ifndef _Handle_Geom_ConicalSurface_HeaderFile #include #endif #ifndef _Handle_PGeom_ConicalSurface_HeaderFile #include #endif #ifndef _Handle_Geom_Curve_HeaderFile #include #endif #ifndef _Handle_PGeom_Curve_HeaderFile #include #endif #ifndef _Handle_Geom_CylindricalSurface_HeaderFile #include #endif #ifndef _Handle_PGeom_CylindricalSurface_HeaderFile #include #endif #ifndef _Handle_Geom_Direction_HeaderFile #include #endif #ifndef _Handle_PGeom_Direction_HeaderFile #include #endif #ifndef _Handle_Geom_Ellipse_HeaderFile #include #endif #ifndef _Handle_PGeom_Ellipse_HeaderFile #include #endif #ifndef _Handle_Geom_Hyperbola_HeaderFile #include #endif #ifndef _Handle_PGeom_Hyperbola_HeaderFile #include #endif #ifndef _Handle_Geom_Line_HeaderFile #include #endif #ifndef _Handle_PGeom_Line_HeaderFile #include #endif #ifndef _Handle_Geom_OffsetCurve_HeaderFile #include #endif #ifndef _Handle_PGeom_OffsetCurve_HeaderFile #include #endif #ifndef _Handle_Geom_OffsetSurface_HeaderFile #include #endif #ifndef _Handle_PGeom_OffsetSurface_HeaderFile #include #endif #ifndef _Handle_Geom_Parabola_HeaderFile #include #endif #ifndef _Handle_PGeom_Parabola_HeaderFile #include #endif #ifndef _Handle_Geom_Plane_HeaderFile #include #endif #ifndef _Handle_PGeom_Plane_HeaderFile #include #endif #ifndef _Handle_Geom_Point_HeaderFile #include #endif #ifndef _Handle_PGeom_Point_HeaderFile #include #endif #ifndef _Handle_Geom_RectangularTrimmedSurface_HeaderFile #include #endif #ifndef _Handle_PGeom_RectangularTrimmedSurface_HeaderFile #include #endif #ifndef _Handle_Geom_SphericalSurface_HeaderFile #include #endif #ifndef _Handle_PGeom_SphericalSurface_HeaderFile #include #endif #ifndef _Handle_Geom_Surface_HeaderFile #include #endif #ifndef _Handle_PGeom_Surface_HeaderFile #include #endif #ifndef _Handle_Geom_SurfaceOfLinearExtrusion_HeaderFile #include #endif #ifndef _Handle_PGeom_SurfaceOfLinearExtrusion_HeaderFile #include #endif #ifndef _Handle_Geom_SurfaceOfRevolution_HeaderFile #include #endif #ifndef _Handle_PGeom_SurfaceOfRevolution_HeaderFile #include #endif #ifndef _Handle_Geom_ToroidalSurface_HeaderFile #include #endif #ifndef _Handle_PGeom_ToroidalSurface_HeaderFile #include #endif #ifndef _Handle_Geom_Transformation_HeaderFile #include #endif #ifndef _Handle_PGeom_Transformation_HeaderFile #include #endif #ifndef _Handle_Geom_TrimmedCurve_HeaderFile #include #endif #ifndef _Handle_PGeom_TrimmedCurve_HeaderFile #include #endif #ifndef _Handle_Geom_VectorWithMagnitude_HeaderFile #include #endif #ifndef _Handle_PGeom_VectorWithMagnitude_HeaderFile #include #endif class Geom_Axis1Placement; class PGeom_Axis1Placement; class Geom_Axis2Placement; class PGeom_Axis2Placement; class Geom_BSplineCurve; class PGeom_BSplineCurve; class Geom_BSplineSurface; class PGeom_BSplineSurface; class Geom_BezierCurve; class PGeom_BezierCurve; class Geom_BezierSurface; class PGeom_BezierSurface; class Geom_CartesianPoint; class PGeom_CartesianPoint; class Geom_Circle; class PGeom_Circle; class Geom_ConicalSurface; class PGeom_ConicalSurface; class Geom_Curve; class PGeom_Curve; class Geom_CylindricalSurface; class PGeom_CylindricalSurface; class Geom_Direction; class PGeom_Direction; class Geom_Ellipse; class PGeom_Ellipse; class Geom_Hyperbola; class PGeom_Hyperbola; class Geom_Line; class PGeom_Line; class Geom_OffsetCurve; class PGeom_OffsetCurve; class Geom_OffsetSurface; class PGeom_OffsetSurface; class Geom_Parabola; class PGeom_Parabola; class Geom_Plane; class PGeom_Plane; class Geom_Point; class PGeom_Point; class Geom_RectangularTrimmedSurface; class PGeom_RectangularTrimmedSurface; class Geom_SphericalSurface; class PGeom_SphericalSurface; class Geom_Surface; class PGeom_Surface; class Geom_SurfaceOfLinearExtrusion; class PGeom_SurfaceOfLinearExtrusion; class Geom_SurfaceOfRevolution; class PGeom_SurfaceOfRevolution; class Geom_ToroidalSurface; class PGeom_ToroidalSurface; class Geom_Transformation; class PGeom_Transformation; class Geom_TrimmedCurve; class PGeom_TrimmedCurve; class Geom_VectorWithMagnitude; class PGeom_VectorWithMagnitude; //! This package provides methods to translate
//! transient objects from Geom to persistent objects
//! from PGeom 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 MgtGeom { 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 Geom.
Standard_EXPORT static Handle_Geom_Axis1Placement Translate(const Handle(PGeom_Axis1Placement)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_Axis1Placement Translate(const Handle(Geom_Axis1Placement)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_Axis2Placement Translate(const Handle(PGeom_Axis2Placement)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_Axis2Placement Translate(const Handle(Geom_Axis2Placement)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_BSplineCurve Translate(const Handle(PGeom_BSplineCurve)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_BSplineCurve Translate(const Handle(Geom_BSplineCurve)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_BSplineSurface Translate(const Handle(PGeom_BSplineSurface)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_BSplineSurface Translate(const Handle(Geom_BSplineSurface)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_BezierCurve Translate(const Handle(PGeom_BezierCurve)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_BezierCurve Translate(const Handle(Geom_BezierCurve)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_BezierSurface Translate(const Handle(PGeom_BezierSurface)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_BezierSurface Translate(const Handle(Geom_BezierSurface)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_CartesianPoint Translate(const Handle(PGeom_CartesianPoint)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_CartesianPoint Translate(const Handle(Geom_CartesianPoint)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_Circle Translate(const Handle(PGeom_Circle)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_Circle Translate(const Handle(Geom_Circle)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_ConicalSurface Translate(const Handle(PGeom_ConicalSurface)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_ConicalSurface Translate(const Handle(Geom_ConicalSurface)& TObj) ; //! Translate to its Transient equivalent from Geom.
//! Raises NullObject if the PObj type has no mapping
Standard_EXPORT static Handle_Geom_Curve Translate(const Handle(PGeom_Curve)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
//! Raises NullObject if the TObj type has no mapping
Standard_EXPORT static Handle_PGeom_Curve Translate(const Handle(Geom_Curve)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_CylindricalSurface Translate(const Handle(PGeom_CylindricalSurface)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_CylindricalSurface Translate(const Handle(Geom_CylindricalSurface)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_Direction Translate(const Handle(PGeom_Direction)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_Direction Translate(const Handle(Geom_Direction)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_Ellipse Translate(const Handle(PGeom_Ellipse)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_Ellipse Translate(const Handle(Geom_Ellipse)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_Hyperbola Translate(const Handle(PGeom_Hyperbola)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_Hyperbola Translate(const Handle(Geom_Hyperbola)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_Line Translate(const Handle(PGeom_Line)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_Line Translate(const Handle(Geom_Line)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_OffsetCurve Translate(const Handle(PGeom_OffsetCurve)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_OffsetCurve Translate(const Handle(Geom_OffsetCurve)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_OffsetSurface Translate(const Handle(PGeom_OffsetSurface)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_OffsetSurface Translate(const Handle(Geom_OffsetSurface)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_Parabola Translate(const Handle(PGeom_Parabola)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_Parabola Translate(const Handle(Geom_Parabola)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_Plane Translate(const Handle(PGeom_Plane)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_Plane Translate(const Handle(Geom_Plane)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_Point Translate(const Handle(PGeom_Point)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_Point Translate(const Handle(Geom_Point)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_RectangularTrimmedSurface Translate(const Handle(PGeom_RectangularTrimmedSurface)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_RectangularTrimmedSurface Translate(const Handle(Geom_RectangularTrimmedSurface)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_SphericalSurface Translate(const Handle(PGeom_SphericalSurface)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_SphericalSurface Translate(const Handle(Geom_SphericalSurface)& TObj) ; //! Translate to its Transient equivalent from Geom.
//! Raises NullObject if the PObj type has no mapping
Standard_EXPORT static Handle_Geom_Surface Translate(const Handle(PGeom_Surface)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
//! Raises NullObject if the TObj type has no mapping
Standard_EXPORT static Handle_PGeom_Surface Translate(const Handle(Geom_Surface)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_SurfaceOfLinearExtrusion Translate(const Handle(PGeom_SurfaceOfLinearExtrusion)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_SurfaceOfLinearExtrusion Translate(const Handle(Geom_SurfaceOfLinearExtrusion)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_SurfaceOfRevolution Translate(const Handle(PGeom_SurfaceOfRevolution)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_SurfaceOfRevolution Translate(const Handle(Geom_SurfaceOfRevolution)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_ToroidalSurface Translate(const Handle(PGeom_ToroidalSurface)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_ToroidalSurface Translate(const Handle(Geom_ToroidalSurface)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_Transformation Translate(const Handle(PGeom_Transformation)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_Transformation Translate(const Handle(Geom_Transformation)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_TrimmedCurve Translate(const Handle(PGeom_TrimmedCurve)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_TrimmedCurve Translate(const Handle(Geom_TrimmedCurve)& TObj) ; //! Translate to its Transient equivalent from Geom.
Standard_EXPORT static Handle_Geom_VectorWithMagnitude Translate(const Handle(PGeom_VectorWithMagnitude)& PObj) ; //! Translate to its Persistent equivalent from PGeom.
Standard_EXPORT static Handle_PGeom_VectorWithMagnitude Translate(const Handle(Geom_VectorWithMagnitude)& TObj) ; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif