# ApplicationFramework
TKPShape
MgtGeom2d

# MgtGeom2d Class Reference

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.
.

`#include <MgtGeom2d.hxx>`

## Public Member Functions

void * | operator new (size_t, void *anAddress)
void * | operator new (size_t size)
void | operator delete (void *anAddress)

## Static Public Member Functions

static Standard_EXPORT Handle_Geom2d_AxisPlacement | Translate (const Handle(PGeom2d_AxisPlacement)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_AxisPlacement | Translate (const Handle(Geom2d_AxisPlacement)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .
static Standard_EXPORT Handle_Geom2d_BSplineCurve | Translate (const Handle(PGeom2d_BSplineCurve)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_BSplineCurve | Translate (const Handle(Geom2d_BSplineCurve)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .
static Standard_EXPORT Handle_Geom2d_BezierCurve | Translate (const Handle(PGeom2d_BezierCurve)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_BezierCurve | Translate (const Handle(Geom2d_BezierCurve)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .
static Standard_EXPORT Handle_Geom2d_CartesianPoint | Translate (const Handle(PGeom2d_CartesianPoint)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_CartesianPoint | Translate (const Handle(Geom2d_CartesianPoint)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .
static Standard_EXPORT Handle_Geom2d_Circle | Translate (const Handle(PGeom2d_Circle)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_Circle | Translate (const Handle(Geom2d_Circle)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .
static Standard_EXPORT Handle_Geom2d_Curve | Translate (const Handle(PGeom2d_Curve)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. Raises Null Object if PObj has no mapping .
static Standard_EXPORT Handle_PGeom2d_Curve | Translate (const Handle(Geom2d_Curve)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. Raises NullObject if TObj has no mapping .
static Standard_EXPORT Handle_Geom2d_Direction | Translate (const Handle(PGeom2d_Direction)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_Direction | Translate (const Handle(Geom2d_Direction)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .
static Standard_EXPORT Handle_Geom2d_Ellipse | Translate (const Handle(PGeom2d_Ellipse)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_Ellipse | Translate (const Handle(Geom2d_Ellipse)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .
static Standard_EXPORT Handle_Geom2d_Hyperbola | Translate (const Handle(PGeom2d_Hyperbola)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_Hyperbola | Translate (const Handle(Geom2d_Hyperbola)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .
static Standard_EXPORT Handle_Geom2d_Line | Translate (const Handle(PGeom2d_Line)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_Line | Translate (const Handle(Geom2d_Line)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .
static Standard_EXPORT Handle_Geom2d_OffsetCurve | Translate (const Handle(PGeom2d_OffsetCurve)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_OffsetCurve | Translate (const Handle(Geom2d_OffsetCurve)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .
static Standard_EXPORT Handle_Geom2d_Parabola | Translate (const Handle(PGeom2d_Parabola)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_Parabola | Translate (const Handle(Geom2d_Parabola)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .
static Standard_EXPORT Handle_Geom2d_Point | Translate (const Handle(PGeom2d_Point)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_Point | Translate (const Handle(Geom2d_Point)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .
static Standard_EXPORT Handle_Geom2d_Transformation | Translate (const Handle(PGeom2d_Transformation)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_Transformation | Translate (const Handle(Geom2d_Transformation)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .
static Standard_EXPORT Handle_Geom2d_TrimmedCurve | Translate (const Handle(PGeom2d_TrimmedCurve)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_TrimmedCurve | Translate (const Handle(Geom2d_TrimmedCurve)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .
static Standard_EXPORT Handle_Geom2d_VectorWithMagnitude | Translate (const Handle(PGeom2d_VectorWithMagnitude)&PObj)
| Translate <pobj> to its Transient equivalent from Geom2d. .
static Standard_EXPORT Handle_PGeom2d_VectorWithMagnitude | Translate (const Handle(Geom2d_VectorWithMagnitude)&TObj)
| Translate <tobj> to its Persistent equivalent from PGeom2d. .

## Member Function Documentation

void MgtGeom2d::operator delete | ( | void * | anAddress | ) | `[inline]`

void* MgtGeom2d::operator new | ( | size_t | size | ) | `[inline]`

void* MgtGeom2d::operator new | ( | size_t | ,
|  | void * | anAddress
| ) | `[inline]`

static Standard_EXPORT Handle_PGeom2d_VectorWithMagnitude MgtGeom2d::Translate | ( | const Handle(Geom2d_VectorWithMagnitude)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_VectorWithMagnitude MgtGeom2d::Translate | ( | const Handle(PGeom2d_VectorWithMagnitude)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_TrimmedCurve MgtGeom2d::Translate | ( | const Handle(Geom2d_TrimmedCurve)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_TrimmedCurve MgtGeom2d::Translate | ( | const Handle(PGeom2d_TrimmedCurve)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_Transformation MgtGeom2d::Translate | ( | const Handle(Geom2d_Transformation)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_Transformation MgtGeom2d::Translate | ( | const Handle(PGeom2d_Transformation)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_Point MgtGeom2d::Translate | ( | const Handle(Geom2d_Point)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_Point MgtGeom2d::Translate | ( | const Handle(PGeom2d_Point)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_Parabola MgtGeom2d::Translate | ( | const Handle(Geom2d_Parabola)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_Parabola MgtGeom2d::Translate | ( | const Handle(PGeom2d_Parabola)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_OffsetCurve MgtGeom2d::Translate | ( | const Handle(Geom2d_OffsetCurve)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_OffsetCurve MgtGeom2d::Translate | ( | const Handle(PGeom2d_OffsetCurve)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_Line MgtGeom2d::Translate | ( | const Handle(Geom2d_Line)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_Line MgtGeom2d::Translate | ( | const Handle(PGeom2d_Line)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_Hyperbola MgtGeom2d::Translate | ( | const Handle(Geom2d_Hyperbola)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_Hyperbola MgtGeom2d::Translate | ( | const Handle(PGeom2d_Hyperbola)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_Ellipse MgtGeom2d::Translate | ( | const Handle(Geom2d_Ellipse)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_Ellipse MgtGeom2d::Translate | ( | const Handle(PGeom2d_Ellipse)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_Direction MgtGeom2d::Translate | ( | const Handle(Geom2d_Direction)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_Direction MgtGeom2d::Translate | ( | const Handle(PGeom2d_Direction)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_Curve MgtGeom2d::Translate | ( | const Handle(Geom2d_Curve)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_Curve MgtGeom2d::Translate | ( | const Handle(PGeom2d_Curve)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_Circle MgtGeom2d::Translate | ( | const Handle(Geom2d_Circle)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_Circle MgtGeom2d::Translate | ( | const Handle(PGeom2d_Circle)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_CartesianPoint MgtGeom2d::Translate | ( | const Handle(Geom2d_CartesianPoint)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_CartesianPoint MgtGeom2d::Translate | ( | const Handle(PGeom2d_CartesianPoint)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_BezierCurve MgtGeom2d::Translate | ( | const Handle(Geom2d_BezierCurve)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_BezierCurve MgtGeom2d::Translate | ( | const Handle(PGeom2d_BezierCurve)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_BSplineCurve MgtGeom2d::Translate | ( | const Handle(Geom2d_BSplineCurve)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_BSplineCurve MgtGeom2d::Translate | ( | const Handle(PGeom2d_BSplineCurve)& | PObj | ) | `[static]`

static Standard_EXPORT Handle_PGeom2d_AxisPlacement MgtGeom2d::Translate | ( | const Handle(Geom2d_AxisPlacement)& | TObj | ) | `[static]`

static Standard_EXPORT Handle_Geom2d_AxisPlacement MgtGeom2d::Translate | ( | const Handle(PGeom2d_AxisPlacement)& | PObj | ) | `[static]`

The documentation for this class was generated from the following file:

- MgtGeom2d.hxx