scaleToLength Method
Return a (optionally new or reused) vector in the direction of this
but with specified length.
scaleToLength(length: number, result?: Vector3d): undefined | Vector3d
Parameter | Type | Description |
---|---|---|
length | number | desired length of vector |
result | Vector3d | optional preallocated result |
Returns - undefined | Vector3d
Defined in
- geometry3d/Point3dVector3d.ts Line 1163
Last Updated: 30 November, 2023