API Reference > geometry-core > CartesianGeometry > Vector3d > unitCrossProductWithDefault unitCrossProductWithDefault Method Compute the cross product of this vector with vectorB. Normalize it, using given xyz as default if length is zero. unitCrossProductWithDefault(vectorB: Vector3d, x: number, y: number, z: number, result?: Vector3d): Vector3d Parameter Type Description vectorB Vector3d second vector of cross product x number x value for default result y number y value for default result z number z value for default result result Vector3d optional pre-allocated result. Returns - Vector3d Defined in core/geometry/src/geometry3d/Point3dVector3d.ts Line 950 Last Updated: 13 June, 2024