[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 LineRelType GetRelationship( a, b, c, d, out intersectPoint )
Point A on line AB.
Point B on ling AB.
Point C on line CD.
Point D on line CD.
The point of intersection, if applicable.
Return ValueThe relationship between lines AB and CD.
While this check is technically inclusive of segment end points, floating point errors can result in end point intersection being missed. If this matters, a SloppyEquals or similar test of the intersection point can be performed.