createPerpendicularVectorFavorPlaneContainingZ MethodStatic

Return a vector that is perpendicular to the input vectorA.

  • Among the infinite number of perpendiculars possible, this method favors having one near the plane containing Z. That is achieved by cross product of this vector with the result of createPerpendicularVectorFavorXYPlane.

createPerpendicularVectorFavorPlaneContainingZ(vectorA: Vector3d, result?: Vector3d): Vector3d

Parameter Type Description
vectorA Vector3d  
result Vector3d  

Returns - Vector3d

Defined in

Last Updated: 17 December, 2024