Returns a scaled copy of this vector.
n (float) – The scaling factor.
Vector – A scaled copy of the vector.
Vector
Examples
>>> u = Vector(1.0, 0.0, 0.0) >>> v = u.scaled(3.0) >>> u.length 1.0 >>> v.length 3.0
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev