-- Created on: 1999-06-24 -- Created by: Sergey ZARITCHNY -- Copyright (c) 1999 Matra Datavision -- Copyright (c) 1999-2012 OPEN CASCADE SAS -- -- The content of this file is subject to the Open CASCADE Technology Public -- License Version 6.5 (the "License"). You may not use the content of this file -- except in compliance with the License. Please obtain a copy of the License -- at http://www.opencascade.org and read it completely before using this file. -- -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. -- -- The Original Code and all software distributed under the License is -- distributed on an "AS IS" basis, without warranty of any kind, and the -- Initial Developer hereby disclaims all such warranties, including without -- limitation, any warranties of merchantability, fitness for a particular -- purpose or non-infringement. Please see the License for the specific terms -- and conditions governing the rights and limitations under the License. class TranslateTool from TNaming inherits TShared from MMgt ---Purpose: The TranslateTool class is provided to support the -- translation of topological data structures Transient -- . to Transient. uses Shape from TopoDS, IndexedDataMapOfTransientTransient from TColStd raises TypeMismatch from Standard is Add(me; S1 : in out Shape from TopoDS; S2 : Shape from TopoDS) ---Level: Internal raises TypeMismatch from Standard; -- -- The Make methods should create a new empty object of the -- given type with the given Model. They should raise the -- TypeMismatch exception if the Model is not of the -- expected type. -- MakeVertex(me; S : out Shape from TopoDS) ---Level: Internal raises TypeMismatch from Standard; MakeEdge(me; S : out Shape from TopoDS) ---Level: Internal raises TypeMismatch from Standard; MakeWire(me; S : out Shape from TopoDS) ---Level: Internal raises TypeMismatch from Standard; MakeFace(me; S : out Shape from TopoDS) ---Level: Internal raises TypeMismatch from Standard; MakeShell(me; S : out Shape from TopoDS) ---Level: Internal raises TypeMismatch from Standard; MakeSolid(me; S : out Shape from TopoDS) ---Level: Internal raises TypeMismatch from Standard; MakeCompSolid(me; S : out Shape from TopoDS) ---Level: Internal raises TypeMismatch from Standard; MakeCompound(me; S : out Shape from TopoDS) ---Level: Internal raises TypeMismatch from Standard; -- -- The Update methods should transfer the data from the first -- shape to the second. -- UpdateVertex(me; S1 : Shape from TopoDS; S2 : in out Shape from TopoDS; M : in out IndexedDataMapOfTransientTransient from TColStd); ---Level: Internal UpdateEdge (me; S1 : Shape from TopoDS; S2 : in out Shape from TopoDS; M : in out IndexedDataMapOfTransientTransient from TColStd); ---Level: Internal UpdateFace (me; S1 : Shape from TopoDS; S2 : in out Shape from TopoDS; M : in out IndexedDataMapOfTransientTransient from TColStd); ---Level: Internal UpdateShape (me; S1 : Shape from TopoDS; S2 : in out Shape from TopoDS); ---Level: Internal end TranslateTool;