# ApplicationFramework
TKPShape
MgtBRep

# MgtBRep_TranslateTool1 Class Reference

The TranslateTool1 class is provided to support the
translation of BRep topological data structures.
.

`#include <MgtBRep_TranslateTool1.hxx>`

Inheritance diagram for MgtBRep_TranslateTool1:

[legend]

## Public Member Functions

Standard_EXPORT | MgtBRep_TranslateTool1 (const MgtBRep_TriangleMode aTriMode)
| Creates a new TranslateTool1 .
Standard_EXPORT void | Add (TopoDS_Shape &S1, const TopoDS_Shape &S2) const
Standard_EXPORT void | MakeVertex (TopoDS_Shape &S) const
Standard_EXPORT void | MakeVertex (PTopoDS_Shape1 &S) const
Standard_EXPORT void | MakeEdge (TopoDS_Shape &S) const
Standard_EXPORT void | MakeEdge (PTopoDS_Shape1 &S) const
Standard_EXPORT void | MakeWire (TopoDS_Shape &S) const
Standard_EXPORT void | MakeWire (PTopoDS_Shape1 &S) const
Standard_EXPORT void | MakeFace (TopoDS_Shape &S) const
Standard_EXPORT void | MakeFace (PTopoDS_Shape1 &S) const
Standard_EXPORT void | MakeShell (TopoDS_Shape &S) const
Standard_EXPORT void | MakeShell (PTopoDS_Shape1 &S) const
Standard_EXPORT void | MakeSolid (TopoDS_Shape &S) const
Standard_EXPORT void | MakeSolid (PTopoDS_Shape1 &S) const
Standard_EXPORT void | MakeCompSolid (TopoDS_Shape &S) const
Standard_EXPORT void | MakeCompSolid (PTopoDS_Shape1 &S) const
Standard_EXPORT void | MakeCompound (TopoDS_Shape &S) const
Standard_EXPORT void | MakeCompound (PTopoDS_Shape1 &S) const
virtual Standard_EXPORT void | UpdateVertex (const TopoDS_Shape &S1, PTopoDS_Shape1 &S2, PTColStd_TransientPersistentMap &M) const
virtual Standard_EXPORT void | UpdateVertex (const PTopoDS_Shape1 &S1, TopoDS_Shape &S2, PTColStd_PersistentTransientMap &M) const
virtual Standard_EXPORT void | UpdateEdge (const TopoDS_Shape &S1, PTopoDS_Shape1 &S2, PTColStd_TransientPersistentMap &M) const
virtual Standard_EXPORT void | UpdateEdge (const PTopoDS_Shape1 &S1, TopoDS_Shape &S2, PTColStd_PersistentTransientMap &M) const
virtual Standard_EXPORT void | UpdateFace (const TopoDS_Shape &S1, PTopoDS_Shape1 &S2, PTColStd_TransientPersistentMap &M) const
virtual Standard_EXPORT void | UpdateFace (const PTopoDS_Shape1 &S1, TopoDS_Shape &S2, PTColStd_PersistentTransientMap &M) const
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const

## Protected Member Functions

Standard_EXPORT Handle_PGeom_Curve | Translate (const Handle(Geom_Curve)&TC, PTColStd_TransientPersistentMap &M) const
| Translates a Transient Curve onto a Persistent Curve .
Standard_EXPORT Handle_Geom_Curve | Translate (const Handle(PGeom_Curve)&PC, PTColStd_PersistentTransientMap &M) const
| Translates a Persistent Curve onto a Transient Curve .
Standard_EXPORT Handle_PGeom2d_Curve | Translate (const Handle(Geom2d_Curve)&TC, PTColStd_TransientPersistentMap &M) const
| Translates a Transient Curve2d onto a Persistent Curve .
Standard_EXPORT Handle_Geom2d_Curve | Translate (const Handle(PGeom2d_Curve)&PC, PTColStd_PersistentTransientMap &M) const
| Translates a Persistent Curve2d onto a Transient Curve .
Standard_EXPORT Handle_PGeom_Surface | Translate (const Handle(Geom_Surface)&TS, PTColStd_TransientPersistentMap &M) const
| Translates a Transient Surface onto a Persistent Curve .
Standard_EXPORT Handle_Geom_Surface | Translate (const Handle(PGeom_Surface)&PS, PTColStd_PersistentTransientMap &M) const
| Translates a Persistent Surface onto a Transient Curve .

## Private Attributes

MgtBRep_TriangleMode | myTriangleMode

## Constructor & Destructor Documentation

Standard_EXPORT MgtBRep_TranslateTool1::MgtBRep_TranslateTool1 | ( | const MgtBRep_TriangleMode | aTriMode | ) |

## Member Function Documentation

Standard_EXPORT void MgtBRep_TranslateTool1::Add | ( | TopoDS_Shape & | S1,
|  | const TopoDS_Shape & | S2
| ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT const MgtBRep_TranslateTool1::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeCompound | ( | PTopoDS_Shape1 & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeCompound | ( | TopoDS_Shape & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeCompSolid | ( | PTopoDS_Shape1 & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeCompSolid | ( | TopoDS_Shape & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeEdge | ( | PTopoDS_Shape1 & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeEdge | ( | TopoDS_Shape & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeFace | ( | PTopoDS_Shape1 & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeFace | ( | TopoDS_Shape & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeShell | ( | PTopoDS_Shape1 & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeShell | ( | TopoDS_Shape & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeSolid | ( | PTopoDS_Shape1 & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeSolid | ( | TopoDS_Shape & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeVertex | ( | PTopoDS_Shape1 & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeVertex | ( | TopoDS_Shape & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeWire | ( | PTopoDS_Shape1 & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT void MgtBRep_TranslateTool1::MakeWire | ( | TopoDS_Shape & | S | ) | const`[virtual]`

| Implements MgtTopoDS_TranslateTool1.

Standard_EXPORT Handle_Geom_Surface MgtBRep_TranslateTool1::Translate | ( | const Handle(PGeom_Surface)& | PS,
|  | PTColStd_PersistentTransientMap & | M
| ) | const`[protected]`

Standard_EXPORT Handle_PGeom_Surface MgtBRep_TranslateTool1::Translate | ( | const Handle(Geom_Surface)& | TS,
|  | PTColStd_TransientPersistentMap & | M
| ) | const`[protected]`

Standard_EXPORT Handle_Geom2d_Curve MgtBRep_TranslateTool1::Translate | ( | const Handle(PGeom2d_Curve)& | PC,
|  | PTColStd_PersistentTransientMap & | M
| ) | const`[protected]`

Standard_EXPORT Handle_PGeom2d_Curve MgtBRep_TranslateTool1::Translate | ( | const Handle(Geom2d_Curve)& | TC,
|  | PTColStd_TransientPersistentMap & | M
| ) | const`[protected]`

Standard_EXPORT Handle_Geom_Curve MgtBRep_TranslateTool1::Translate | ( | const Handle(PGeom_Curve)& | PC,
|  | PTColStd_PersistentTransientMap & | M
| ) | const`[protected]`

Standard_EXPORT Handle_PGeom_Curve MgtBRep_TranslateTool1::Translate | ( | const Handle(Geom_Curve)& | TC,
|  | PTColStd_TransientPersistentMap & | M
| ) | const`[protected]`

virtual Standard_EXPORT void MgtBRep_TranslateTool1::UpdateEdge | ( | const PTopoDS_Shape1 & | S1,
|  | TopoDS_Shape & | S2,
|  | PTColStd_PersistentTransientMap & | M
| ) | const`[virtual]`

| Reimplemented from MgtTopoDS_TranslateTool1.

virtual Standard_EXPORT void MgtBRep_TranslateTool1::UpdateEdge | ( | const TopoDS_Shape & | S1,
|  | PTopoDS_Shape1 & | S2,
|  | PTColStd_TransientPersistentMap & | M
| ) | const`[virtual]`

| Reimplemented from MgtTopoDS_TranslateTool1.

virtual Standard_EXPORT void MgtBRep_TranslateTool1::UpdateFace | ( | const PTopoDS_Shape1 & | S1,
|  | TopoDS_Shape & | S2,
|  | PTColStd_PersistentTransientMap & | M
| ) | const`[virtual]`

| Reimplemented from MgtTopoDS_TranslateTool1.

virtual Standard_EXPORT void MgtBRep_TranslateTool1::UpdateFace | ( | const TopoDS_Shape & | S1,
|  | PTopoDS_Shape1 & | S2,
|  | PTColStd_TransientPersistentMap & | M
| ) | const`[virtual]`

| Reimplemented from MgtTopoDS_TranslateTool1.

virtual Standard_EXPORT void MgtBRep_TranslateTool1::UpdateVertex | ( | const PTopoDS_Shape1 & | S1,
|  | TopoDS_Shape & | S2,
|  | PTColStd_PersistentTransientMap & | M
| ) | const`[virtual]`

| Reimplemented from MgtTopoDS_TranslateTool1.

virtual Standard_EXPORT void MgtBRep_TranslateTool1::UpdateVertex | ( | const TopoDS_Shape & | S1,
|  | PTopoDS_Shape1 & | S2,
|  | PTColStd_TransientPersistentMap & | M
| ) | const`[virtual]`

| Reimplemented from MgtTopoDS_TranslateTool1.

## Field Documentation

MgtBRep_TriangleMode MgtBRep_TranslateTool1::myTriangleMode `[private]`

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

- MgtBRep_TranslateTool1.hxx