imaqGetBisectingLine

NI Vision for LabWindows/CVI Function

imaqGetBisectingLine

Usage

int imaqGetBisectingLine(PointFloat start1, PointFloat end1, PointFloat start2, PointFloat end2, PointFloat* bisectStart, PointFloat* bisectEnd);

Purpose

Computes a line that bisects two lines.

Parameters

Name

Type

Description

start1 PointFloat The start point of the first line.
end1 PointFloat The end point of the first line.
start2 PointFloat The start point of the second line.
end2 PointFloat The end point of the second line.
bisectStart PointFloat* On return, filled with the coordinate location of the start of the bisecting line. This parameter is required and cannot be NULL.
bisectEnd PointFloat* On return, filled with the coordinate location of the end of the bisecting line. This parameter is required and cannot be NULL.

Return Value

Type

Description

int On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError().