LineIntersectionPoint
Computes the intersection point between two lines (returns S_FALSE if the provided lines are parallel).
Syntax
Definition:
HRESULT LineIntersectionPoint(
HRESULT hrPrev,
TcVnVector4_LREAL& aLine1,
TcVnVector4_LREAL& aLine2,
TcVnPoint2_REAL& aIntersecPoint
)
Parameters
Name |
Type |
Description |
---|---|---|
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) | |
aLine1 |
First line. The first and second element describe the x and y component of a vector collinear to the line. The third and fourth element describe the x and y component of a point on the line. | |
aLine2 |
Second line. The first and second element describe the x and y component of a vector collinear to the line. The third and fourth element describe the x and y component of a point on the line. | |
aIntersecPoint |
Returns the intersection point of aLine1 and aLine2. |
Required License
TC3 Vision Base