API Reference > geometry-core > CartesianGeometry > Matrix3d > createPartialRotationVectorToVector createPartialRotationVectorToVector MethodStatic Return a matrix that rotates a fraction of the angular sweep from vectorA to vectorB. createPartialRotationVectorToVector(vectorA: Vector3d, fraction: number, vectorB: Vector3d, result?: Matrix3d): Matrix3d | undefined Parameter Type Description vectorA Vector3d initial vector position fraction number fractional rotation. 1.0 is "all the way" vectorB Vector3d final vector position result Matrix3d optional result matrix. Returns - Matrix3d | undefined Defined in core/geometry/src/geometry3d/Matrix3d.ts Line 805 Last Updated: 13 June, 2024