API Reference > geometry-core > CartesianGeometry > XYZ > unitVectorTo unitVectorTo Method Return a unit vector from this vector to other. Return a 000 vector if the input is too small to normalize. unitVectorTo(target: XYAndZ, result?: Vector3d): Vector3d | undefined Parameter Type Description target XYAndZ result Vector3d optional result vector. Returns - Vector3d | undefined Defined in core/geometry/src/geometry3d/Point3dVector3d.ts Line 295 Last Updated: 13 June, 2024