algebra_3D.Vector.pointAt¶
- Vector.pointAt()¶
Get the point result after a translation by self vector, scaling by t.
Parameters
Type
Description
t
double
The scale range of the translation
- Returns
- Point
The translated point.
Examples
>>> v=Vector(0,0,0,2,2,2) >>> print(v.pointAt(1)) ( 2.0 , 2.0 , 2.0 ) printed >>> print(v.pointAt(2)) ( 4.0 , 4.0 , 4.0 ) printed >>> print(v.pointAt(3)) ( 6.0 , 6.0 , 6.0 ) printed