createUnitCrossProductToPoints MethodStatic

Return the NORMALIZED cross product of the vectors from origin to pointA and pointB, or undefined

  • the result is a vector
  • the result is perpendicular to both vectors, with right hand orientation
  • the magnitude of the vector is twice the area of the triangle.

createUnitCrossProductToPoints(origin: Readonly<WritableXYAndZ>, pointA: Readonly<WritableXYAndZ>, pointB: Readonly<WritableXYAndZ>, result?: Vector3d): undefined | Vector3d

Parameter Type Description
origin Readonly<WritableXYAndZ>  
pointA Readonly<WritableXYAndZ>  
pointB Readonly<WritableXYAndZ>  
result Vector3d  

Returns - undefined | Vector3d

Defined in

Last Updated: 17 May, 2024