[This is preliminary documentation and is subject to change.]
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)
|C#||Visual Basic||Visual C++|
public static GetNormalAB( a, b )
Public Shared Function GetNormalAB ( _ a As , _ b As _ ) As
public: static GetNormalAB( a, b )
Point A on line AB.
Point B on line AB.
Return ValueThe normalized vector that is perpendicular to line AB, or a zero length vector if the points are collocated.
The direction of the vector will be to the right when viewed from point A to point B along the line.
Special Case: A zero length vector will be returned if the points are collocated.