algebra_3D.Vector.setPoints¶
- Vector.setPoints()¶
Setters : Set the vector from Points arguments
Parameters
Type
Description
x
Point
The origin of vecttor as Point
y
Point
The destination of vector as Point
See also
Examples
>>> v=Vector(0,0,0,1,2,3) >>> p=Point(0,0,0) >>> m=Point(3,2,1) >>> v.setPoints(p,m) >>> print(v) ( 3.0 , 2.0 , 1.0 ) printed