GEOtestPointOnLine |
Top Previous Next |
Test whether point on line lies. With this routine it is checked whether the point on the line lies. The following results are possible for it: The point lies on the line. The point does not lie on the line. The point lies on a lengthening of the line. Parametre input_x (const stands in) [IN] input_y (const stands in) [IN] Co-ordinates of the point. input_sx (const stands in) [IN] input_sy (const stands in) [IN] Starting point of the line. input_ex (const stands in) [IN] input_ey (const stands in) [IN] Terminator point of the line. Result (int) [OUT] 0 if the point on the line lies.–1 if the point on a lengthening of the line lies.–2 if the point on the line does not lie and also not on the lengthening. Declaration #include "basic.h"
int DLLENTRY GEOtestPointOnLine ( const stands in input_x, const stands in input_y, const stands in input_sx, const stands in input_sy, const stands in input_ex, const stands in input_ey ); Related functions
|