GEOcmpPoints |
Top Previous Next |
Comparison of two points. With this function two points are checked for equality. The comparison is carried out with an exactness which is given by an internal constant of EP. Parametre x1 (stands in) [IN] y1 (stands in) [IN] Co-ordinates of the first point. x2 (stands in) [IN] y2 (stands in) [IN] Co-ordinates of the second point. Result (int) [OUT] 1 Points are identical 0 Points have passed away Declaration #include "basic.h"
int DLLENTRY GEOcmpPoints ( stand in x1, stand in y1, stand in x2, stand in y2 ); Example status = GEOcmpPoints (4.101, 5.5, 4.102, 5.5); By call with these values the function delivers the value 0 (FALSE) back, because both points are unequal. status = GEOcmpPoints (4.105, 5.5, 4.105, 5.5); By call with these values the function delivers the value 1 (TRUE) back, because both points are identical.
|