1 -- File: MakeTranslation.cdl
2 -- Created: Mon Sep 28 11:52:25 1992
5 ---Copyright: Matra Datavision 1992
11 ---Purpose: This class mplements elementary construction algorithms for a
12 -- translation in 3D space. The result is a
13 -- Geom_Transformation transformation.
14 -- A MakeTranslation object provides a framework for:
15 -- - defining the construction of the transformation,
16 -- - implementing the construction algorithm, and
17 -- - consulting the result.
20 Transformation from Geom,
26 Create(Vect : Vec from gp) returns MakeTranslation;
27 ---Purpose: Constructs a translation along the vector " Vect "
28 Create(Point1 : Pnt from gp;
29 Point2 : Pnt from gp) returns MakeTranslation;
30 ---Purpose: Constructs a translation along the vector (Point1,Point2)
31 -- defined from the point Point1 to the point Point2.
33 Value(me) returns Transformation from Geom
35 ---Purpose: Returns the constructed transformation.
38 Operator(me) returns Transformation from Geom
41 ---C++: alias "Standard_EXPORT operator Handle_Geom_Transformation() const;"
45 TheTranslation : Transformation from Geom;