algebra_3D.Vector.translate¶
- Vector.translate()¶
Translate self vector to the given Point.
Parameters
Type
Description
point
Point
The translation destination point
Examples
>>> v=Vector(0,0,0,2,2,2) >>> print(v.translate(Point(1,1,1)).p1()) ( 1.0 , 1.0 , 1.0 ) printed >>> print(v.translate(Point(1,1,1)).p2()) ( 3.0 , 3.0 , 3.0 ) printed