Vector.from_start_end

classmethod Vector.from_start_end(start, end)[source]

Construct a vector from start and end points.

Parameters
Returns

compas.geometry.Vector – The vector from start to end.

Examples

>>> Vector.from_start_end([1.0, 0.0, 0.0], [1.0, 1.0, 0.0])
Vector(0.000, 1.000, 0.000)