1 -- File: Translation.cdl
2 -- Created: Wed Aug 26 14:32:08 1992
5 ---Copyright: Matra Datavision 1992
11 ---Purpose: This class implements elementary construction algorithms for a
12 -- translation in 3D space. The result is a gp_Trsf transformation.
13 -- A MakeTranslation object provides a framework for:
14 -- - defining the construction of the transformation,
15 -- - implementing the construction algorithm, and
16 -- - consulting the result.
25 Create(Vect : Vec from gp) returns MakeTranslation;
26 --- 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
31 -- (Point1,Point2) defined from the point Point1 to the point Point2.
33 Value(me) returns Trsf from gp
37 -- Returns the constructed transformation.
39 Operator(me) returns Trsf from gp
42 ---C++: alias "Standard_EXPORT operator gp_Trsf() const;"
46 TheTranslation : Trsf from gp;