algebra_3D.Vector.setP2¶
- Vector.setP2()¶
Setters : Set the destination of vector as Point
Parameters
Type
Description
y
Point
The origin of vector as Point
Examples
>>> v=Vector(0,0,0,1,2,3) >>> p=Point(3,3,3) >>> v.setP2(p) >>> print(v) ( 3.0 , 3.0 , 3.0 ) printed