perpendicularPartOfVectorToTarget Method

Return the shortest vector v to targetPoint from the line defined by this ray.

  • If the projection of targetPoint onto the line defined by this ray is q, then v  = targetPoint - q.

perpendicularPartOfVectorToTarget(targetPoint: Readonly<WritableXYAndZ>, result?: Vector3d): Vector3d

Parameter Type Description
targetPoint Readonly<WritableXYAndZ>  
result Vector3d  

Returns - Vector3d

Defined in

Last Updated: 17 December, 2024